Hi,
is there an obvious way to know which element a node is composed of (dots, lines, triangles, quads, polygons,) and iterate over them in a loop?

In an attempt to answer my question, I would say no.
Since a node can be 1 or more models of possibly different characteristics, I would probably need to pass a visitor, and search for all the geometry nodes. Then for every one of those geometry nodes I can check the primitive set and iterate over its elements.

Can anyone shed some light over my clouded mind and free me of my doubts?

thanks
paulo
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to