[osg-users] Optimizer options oddity

Glenn Waldron gwaldron at gmail.com
Mon Jul 28 06:41:19 PDT 2008


Agreed. I will go ahead and submit the presumptive fix to osg-submissions.

Thanks Paul -gw

On Mon, Jul 28, 2008 at 9:31 AM, Paul Martz <pmartz at skew-matrix.com> wrote:

>  The code in Optimizer.cpp makes this look like a bug. If the two were
> intended to be synonymous, I'd expect they would share the same code. They
> don't. I'm betting FLATTEN_STATIC_TRANSFORMS_DUPLICATING_SHARED_SUBGRAPHS is
> supposed to be 0x10000.
>    -Paul
>
>
>
>  ------------------------------
> *From:* osg-users-bounces at lists.openscenegraph.org [mailto:
> osg-users-bounces at lists.openscenegraph.org] *On Behalf Of *Paul Martz
> *Sent:* Sunday, July 27, 2008 2:57 PM
> *To:* 'OpenSceneGraph Users'
> *Subject:* Re: [osg-users] Optimizer options oddity
>
>  Hi Glenn - I haven't looked at the code, but I see this in the ChangeLog:
>
>
> 2008-06-20 13:16 +0000 [r8474] robert:
> * From Terry Welsh, new flatten static transforms visitor that
> duplicates subgraphs that are shared beneath differnt static
> transforms From Robert Osfield, made a range of changes to
> Terry's visitor integrating it into osgUtil::Optimizer and
> changing the code to use a style more like the rest of the OSG.
>
>
> Maybe Terry can shed some light on this, or you could search osg-users for
> the week leading up to this change to see if anything was said about it. Or
> we can put this on a list of things for Robert to check before tagging 2.6.
>    -Paul
>
>
>  ------------------------------
> *From:* osg-users-bounces at lists.openscenegraph.org [mailto:
> osg-users-bounces at lists.openscenegraph.org] *On Behalf Of *Glenn Waldron
> *Sent:* Saturday, July 26, 2008 6:48 PM
> *To:* OpenSceneGraph Users
> *Subject:* [osg-users] Optimizer options oddity
>
>  I noticed that two of the OptimizerOptions values, COPY_SHARED_NODES and
> FLATTEN_STATIC_TRANSFORMS_DUPLICATING_SHARED_SUBGRAPHS, have the same enum
> value (0x100). Is this intentional? This is in 2.6 RC1.
>
> Glenn
>
> --
> Glenn Waldron : Pelican Mapping : http://pelicanmapping.com :
> +1.703.652.4791
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
Glenn Waldron : Pelican Mapping : http://pelicanmapping.com :
+1.703.652.4791
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080728/f3b77d23/attachment-0003.htm>


More information about the osg-users mailing list