osgviewer cow.osg.normals
On 5/15/06, James Turner <[EMAIL PROTECTED]> wrote:
For the purposes of debugging some code, it would be extremely useful
to show all the normals in a scene (or sub-graph of a scene). I
recall mention of an osgDB plugin to do this (as a ReaderWriter
filter?), but that's not particularly useful for my application,
since much of the data is generated programatically.
What are my options here? I can write a primitive visitor that
traverses the scene, collects the tris, finds each normal and adds
them to a special geometry; presumably I can also steal code from the
existing osgDB filter which does something very similar. Or maybe
someone here has some code in their toybox that does exactly this
already?
Possibly I'm just being lazy on Monday morning, and should go ahead
and write my own code.
James
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
