Hi Ricard,

Both the RTT Camera and the main Camera should both be traversed in the
cull traversal within the same frame and accumulated modelview matrices
cached in the rendering backend to sent to the GPU as part of the draw
traversal together.  Ordinarily this system should prevent problems like
your describe as the rendering backend is double buffered so that the cull
writes to the currently recording frames rendering backend, while the draw
traverses the previous rendering backend structures.

The behaviour you describe makes it seem like some state is being modified
across the frames, I don't have your app or data so can't say what this
might be.  The best I can suggest is to investigate what state seems to be
changed inappropriately.  It might be that you need to double buffer the
state that is being updated whilst it's being used for rendering.

Robert

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osg-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/CAFN7Y%2BWM4Cn4KooZoHxnv2nncmpHtrftT1aNEjGNnwows06OGA%40mail.gmail.com.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to