Hi Bulkhead,

I don't know about a reference manual but you have the source.  The
Optimizer header file is a good reference.
Yes, you typically create a custom visitor and set the permitted
optimization for the objects (node,stateset, drawable etc.) in question.
For the option parameter I would probably start with 0 before fine tuning.


To Paul:
Next time ;-)
I'm trying to keep up with the development of OSG.  You never know when it
may come in handy.


Regards
Brede


On Mon, Apr 6, 2009 at 6:04 AM, Bulkhead <[email protected]> wrote:

> Hi Brede,
>
> Thanks for the reply.
>
> I did a search on the setPermissibleOptimizationsForObject() fucntion and
> read your posting on osg-users mail-archive, and yup, I think very high
> chance that this will solve my problem  [Wink]
>
> But unfortunately, I couldn't find any reference on how to use this
> function. The first parameter is an osg::Object pointer. Should I pass in
> every geode (using a geodeVisitor)? As for the second parameter, it will be
> all the optimization options, except MERGE_GEOMETRY?
>
> Also please advise if there's any reference manual that I can refer to? The
> one on osg wiki page doesn't give much info.
>
> Thanks in advanced.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=9764#9764
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to