mrdoob/three.js — Issue #1464: Switching object from scene to another scene
Author: rimina
Created: 2012-03-07 15:35:42+00:00
State: open

I'm having two scenes in my program. One is the main scene and the other (child scene) is rendered to webGL renderer target and used as a texture of an object in the main scene.

I have one object that is at first rendered to the child scene and after clicking document it's removed from child scene and added to main scene. This works fine but when I remove object from main scene and add it back to child scene it just disapears.

Here is simplified live example: http://www.cs.tut.fi/~mattila3/three/sceneTest.html
Clicking the document should switch the object from scene to another scene.

I'm using r48 but I had the same issue with r47 too. Am I doing something wrong or is this a bug? Any workarounds?