Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote:
I have a need to render a bunch of 2D geometry groups that have different priorities for display (one group rendered on top of the other according to their priority). I also need to have the ability to turn the rendering off and on for some of the groups while maintaining rendering priority.

How many different groups do you have, and what is the total data size of all the groups?

I wanted some input or ideas on what might be the best way to handle this in OSG. So far I’ve looked at the RenderBin mechanism for possible priority rendering and the setNodeMask for turning rendering on and off. I’m not sure this is the most elegant way to accomplish what I need to do.

In addition to setting the RenderBin, you'd need to disable depth test to get the painter's algorithm to work properly, of course.

The RenderBin and NodeMask mechanisms seem like they're designed for just the tasks you describe. Can you elaborate on why you have reservations about their suitability?
   -Paul


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

Reply via email to