I have not been able to determine how to set up the following scenario.

I want to set up my app to hve 3 cameras.  Basically, I want to have two RTT 
pre-render stages.  Camera 0 Render ->Camera 1 Render->Main  Camera Render.  
Each RTT node would have it's own shader to render the scene, and then render 
the target texture to a quad for display for the next render stage.  My problem 
is that I am not sure how to set this up...  For example, where do I attach the 
RTT nodes?  Currently, I create a group node and add each child as children of 
this group node, and add the scene to each camera node.  If I only add one 
camera or the other, I see what I expect, but if I add both, I only see the 
first camera added.  When I create the RTT cameras I do specify PRE_RENDER and 
render # 0 for the first pre-render camera and render # 1 for the other, which 
I thought was correct.  Any help is greatly appreciated.

Thanks, 
CD

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





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

Reply via email to