[osg-users] osgUtil::Optimizer::optimize not obeying Permissible Optimizations for MERGE_GEODES

2013-05-17 Thread Frank Sullivan
Greetings! This may be by design, but just in case, I wanted to ask about it. I'm using version 3.0.0, and if I look on Line 282 of osgUtil/Optimizer.cpp, the MergeGeodesVisitor is created. However, the optimizer object (this) is not passed into the constructor, and so the visitor does not

Re: [osg-users] osgUtil::Optimizer

2012-05-14 Thread Robert Osfield
Hi Alexey, On 7 May 2012 17:08, Alexey Kargin lexa_kar...@mail.ru wrote: Hi,Help please, what algorithms are used in osgUtil::Optimizer utility They are all computer algorithms, lots of them too. The algorithms are almost all bespoke, written for each individual task, and typically have no

[osg-users] osgUtil::Optimizer

2012-05-07 Thread Alexey Kargin
Hi,Help please, what algorithms are used in osgUtil::Optimizer utility ... Thank you! Cheers, Alexey -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47580#47580 ___ osg-users mailing list

Re: [osg-users] osgUtil::Optimizer and osgSim::DOFTransform with data variance STATIC

2012-02-28 Thread Magnus Kessler
On Monday 27 Feb 2012 19:49:53 Jean-Sébastien Guay wrote: Hi Magnus, But maybe this question is more to the authors of osgmaxexporter. Why does osgmaxexporter unconditionally set the data variance to STATIC? What are the use cases where one would model a STATIC DOFTransform?

[osg-users] osgUtil::Optimizer and osgSim::DOFTransform with data variance STATIC

2012-02-27 Thread Magnus Kessler
We recently discovered that osgSim::DOFTransform nodes were unexpectedly removed from the scene graph by the unconditional use of the osgUtil::Optimizer in osgconv. The DOFTransform nodes were marked by our modelling tool (Max with the osgmaxeporter plugin) as STATIC. Should the optimizer

Re: [osg-users] osgUtil::Optimizer and osgSim::DOFTransform with data variance STATIC

2012-02-27 Thread Robert Osfield
HI Magnus, If you make a Transform node as STATIC then you've told the scene graph that it will never change so will be fair game for the Optimizer. You have two choices if you don't want to have the Optimizer optimize it away: 1) Don't call the Optimizer with the FLATTEN_STATIC_TRANSFORM

Re: [osg-users] osgUtil::Optimizer and osgSim::DOFTransform with data variance STATIC

2012-02-27 Thread Magnus Kessler
On Monday 27 Feb 2012 15:26:15 Robert Osfield wrote: HI Magnus, If you make a Transform node as STATIC then you've told the scene graph that it will never change so will be fair game for the Optimizer. You have two choices if you don't want to have the Optimizer optimize it away: 1)

Re: [osg-users] osgUtil::Optimizer and osgSim::DOFTransform with data variance STATIC

2012-02-27 Thread Jean-Sébastien Guay
Hi Magnus, But maybe this question is more to the authors of osgmaxexporter. Why does osgmaxexporter unconditionally set the data variance to STATIC? What are the use cases where one would model a STATIC DOFTransform? DOFTransforms are a relic of Multigen (Presagis) Creator, and in that

Re: [osg-users] osgUtil::Optimizer and transparent objects

2012-01-26 Thread Sebastian Messerschmidt
Anyone any hint regarding this? I'd really need an advice if I should fix the optimizer or where to solve this. cheers Sebastian Hello, I've encountered a problem when using the OpenFlight plugin with preserveFace/preserveObject option not used. If the perserveFace options is not used, the

Re: [osg-users] osgUtil::Optimizer and transparent objects

2012-01-26 Thread Sergey Polischuk
Hi About optimizer - i would rather count this one as misusage. And for transparent stuff with depth write disabled by default - there are some cons for this (alpha masked geometry with alpha test f.e.). And if you want correct blending you should draw transparent objects after solid and sort

Re: [osg-users] osgUtil::Optimizer and transparent objects

2012-01-26 Thread Sebastian Messerschmidt
Am 26.01.2012 17:51, schrieb Sergey Polischuk: Hi About optimizer - i would rather count this one as misusage. Okay, still I think it'll be possible to fix the merge geode visitor easily. I don't want to loose the ability to merge the literally thousands of openflight geometries if they are

[osg-users] osgUtil::Optimizer and transparent objects

2012-01-16 Thread Sebastian Messerschmidt
Hello, I've encountered a problem when using the OpenFlight plugin with preserveFace/preserveObject option not used. If the perserveFace options is not used, the importer uses the Optimizer with the following options: osgUtil::Optimizer::SHARE_DUPLICATE_STATE |

Re: [osg-users] osgUtil::Optimizer::MergeGeometryVisitor

2011-02-03 Thread Robert Osfield
Hi Bill, You can only merge Geometry objects that share the same type of array usage and bindings. Robert. On Wed, Feb 2, 2011 at 7:17 PM, Poirier, Guillaume guillaume.poir...@nrc-cnrc.gc.ca wrote: Hello OSG community ! Just a quick question on the MergeGeometryVisitor. What is it supposed

[osg-users] osgUtil::Optimizer::MergeGeometryVisitor

2011-02-02 Thread Poirier, Guillaume
Hello OSG community ! Just a quick question on the MergeGeometryVisitor. What is it supposed to do exactly ? My expectation is that it will merge all geometry drawables of a geode into one ? I created and exported a simple cube in 3DSMax. The file has one geode and 6 drawables, one for each

[osg-users] osgUtil::Optimizer MERGE_GEODES MERGE_GEOMETRY TEXTURE_ATLAS_BUILDER

2011-01-04 Thread Jean-Sébastien Guay
Hi all, I am trying to improve our scene graph layout for some of our data, and my first step is to improve our use of osgconv with various optimizer settings. We've been using it for a while but never really examined the results to see if it was doing what it was supposed to. Starting with

Re: [osg-users] osgUtil::Optimizer crash

2008-05-06 Thread Robert Osfield
Hi Serge, Which version of the OSG are you using? Which OS? In 2.3.x/2.4 there was a bug fix to Optimizer that might fix the problem you are seeing. Also any chance of you providing an example dataset? Robert. On Wed, Apr 30, 2008 at 2:12 PM, S.I.M. van Keulen [EMAIL PROTECTED] wrote: Hello

[osg-users] osgUtil::Optimizer crash

2008-04-30 Thread S.I.M. van Keulen
Hello All, I encountered a problem with osgUtil::Optimizer. The merge of two Vec3 vertex arrays fails in: optimizer.cpp: MergeArrayVisitor::_merge The problem started when I changed the construction of a Geode from having one Geometry to having several. When I do not optimize there is no