Hi,

I have some issues by using multiple cameras in my scene graph. In fact, I have 
created a camera node to render dynamic mirror reflect. To do that, I have to 
add it  at the top of my graph to render the whole scene around the mirror. 
Here a quick description of graph top : 

- A node "Global Root", which has two children : the reflect camera and a node 
called "Scene Root". 
- "Scene root" is the root of the 3d scene.
- The camera got one unique children, which is also "Scene root".

The viewer scene data is set on "Global root"

The mirror works pretty fine, but it also brings issues with the camera node 
attached under "Scene Root" ( a HUD camera and shadow computation camera ).

More precisely, the camera which is computing is no longer positionned close to 
the sun but on camera reflect position : it seems that the camera used to 
render the shadows has been replaced by mirror camera.

If I change Camera reflect child from "Scene Root " to another root attached 
under HUD and Shadows Cameras, everything works well, but obviously I don't 
render shadow in mirrors reflect ... 

Maybe I shouldn't make a camera inherit from another but I can find out another 
solution ... 

Is anyone could help me please ? :)

Thanks !

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=12894#12894





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to