Our application is a CAD-type app.  Our domain objects already store their 
locations relative to other objects, so we thought it made sense to mirror that 
in our scene graph.  Most of these transforms will not change from one frame to 
the next, only when the user adds/removes/moves an object, or at certain other 
times.

We also have a live video image provided by a real camera that we are 
projecting into the scene through projective texture mapping.  It's important 
to maintain 20 fps for the video, not so much for the rest of the scene.  Some 
of our domain objects are represented by 3D surfaces that we want the video 
projected onto.  Others are overlay type objects that will not have the video 
texture applied to them.  For each type of object, we have a single Geode that 
we then share between all the leaf MatrixTransforms corresponding to each 
object's location.

For the sample graph in my earlier post, each of the 2000 subgraphs are 
initially identical.  However at certain points in time one or more matrices in 
the subgraphs might change, so they would no longer be identical.  We also need 
to be able to easily add or remove objects at any level at any time.

... 

Thank you!

Cheers,
Michael

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





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

Reply via email to