The OSG Ref Man v2.2 contains an environment variable reference that documents the Optimizer flags (see the OSG_OPTIMIZER env var).
Documentation is just like software and can easily be developed/written if sufficient funding is available. If you or your company would like to see better documentation for OpenSceneGraph, I'd be glad to present you with a proposal and bid. Let me know. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Forum Dude > Sent: Monday, June 16, 2008 1:47 AM > To: OpenSceneGraph Users > Subject: [osg-users] Documentation any? (+Optimizer question) > > Hi, > > in the last few days, I've been getting into OSG programming > and I repetedly feel that the code needs a lot more > documentation. Maybe this has been said before, I don't know. > Crucial classes and functions just lack any explanation about > what they do and how to use them. > Often times, there are no tutorials and even if there is one, > it's as sparse as the doxygen-generated docs. > > Example: The Optimizer. This is what the class description says: > > "Traverses scene graph to improve efficiency. See OptimizationOptions. > For example of usage see examples/osgimpostor or osgviewer." > > When I check the OptimizationOptions, I can see them but > there's no precise explanation what they actually do. I can > only guess. Then I check osgimpostor and the code never even > uses the Optimizer. Great. > Then I check osgviewer and all it does is this: > > optimizer.optimize(loadedModel.get()); > > No Optimizer tutorial was found. Hmm... It doesn't make it > easy for OSG beginners to get into it. Anyways, here's my > question then: > > -I want to completely flatten my scene so there are no > transforms anymore. > -This also means that if there are mutiple Geode instances > but with different transforms, they need to be duplicated. > -Every vertex should be in its final place. > -Ideally, it should all be one Geode (if that's possible at all). > > I have a feeling (!) that some of these OptimizationOptions > may achieve that but I can never be sure. Can anybody let me > know if that is so? And if it is, what are the options I have to use? > > Rick > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce negraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

