Hi Brede,

Glad to hear from you again  :D 

I've written a geodeVisitor class to return all the loaded geodes. But before 
that, I would like to clarify something with you.

For experiment purposes, I've disabled totally the optimization (i.e. setting 
preserveObject and preserveFace) and commented out the optimizer block in my 
loader codes. Without any optimization at all, I noticed that each geode loaded 
using osgDB::readNodeFile() contains only 1 drawable.

Is my observation correct: Each geode loaded from openflight plugin contains 
only 1 drawable (for my case, it's a 2D triangle), and these geodes are merged 
to form an "object" during optimization (e.g. using MERGE_GEOMETRY)?

Or is this due to the openflight format? Or could it be the openflight file 
that I am using?

Please enlighten. I am pretty lost now, as I am new to 3D rendering and with 
very little knowledge about openflight format.


Thanks  [Wink]

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





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

Reply via email to