[osg-users] Problem with Optimizer - FLATTEN_STATIC_TRANSFORMS
robert.osfield at gmail.com
Sun Sep 14 09:20:54 PDT 2008
Normally isOperationPermissibleForObject(&geode) would return true.
It's applied as well as users might want to make a particle Geode as
one that you don't change, and changing it's drawable is certainly
changing it so is sensible to check.
I haven't gone through the code recently so can't comment on
specifics, just trying to clarify some of the things you've raised.
What you are seeing might be a clue to the source of the problem, is
just a red herring.
On Sun, Sep 14, 2008 at 4:14 PM, Brian <osgscene at gmail.com> wrote:
> Sorry I don't understand what you are saying.
> When I change this
> to this
> It fixes my problem, but I don't want to break the code for someone else. I
> don't understand why the the function
> isOperationPermissableForObject(&geode) needs to be checked since we are
> cloning the vertexarray not the geode.
> On Sun, Sep 14, 2008 at 10:45 AM, Robert Osfield <robert.osfield at gmail.com>
>> Hi Brian,
>> The isOperatoinPermissible() methods are part of mechinism that allows
>> users to control which objects in the scene graph are optimized - for
>> instance if they want to disable the optimization of particular nodes,
>> geometry. The usage outlined looks reasonable w.r.t usage is
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users