Hi!
I need technique for quick render switch:
private var view : View3D;
private var defaultRenderer : RendererBase;
private var specilalRenderer: SpecialRenderer;
...
defaultRenderer = view.renderer; // Backup renderer
view.renderer = specilalRenderer;
view.render();
view.renderer = defaultRenderer; // Restore renderer
view.render();
I can’t do this without Away3d’s source code modifications:
// away3d.containers.View3D.as / line 328:
public function set renderer(value : RendererBase) : void
{
_renderer.dispose(); // Please, remove this line
// I can do it by myself if needed
...
}