Re: [osg-users] Un-share StateSets

2008-12-10 Thread Jean-Sébastien Guay
Hi Vincent, To make a little update : I've made my own nodevisitor to clone the shared stateset, and it work well and fast. Be carefull : the osgUtil::optimizer share duplicated node/stateset by default... The Optimizer will only share state sets which are not marked DYNAMIC. We had this pro

Re: [osg-users] Un-share StateSets

2008-12-10 Thread Vincent Bourdier
Thanks for the link, To make a little update : I've made my own nodevisitor to clone the shared stateset, and it work well and fast. Be carefull : the osgUtil::optimizer share duplicated node/stateset by default... Thanks for help Regards, Vincent. 2008/12/10 Andreas Lindmark <[EMAIL PROTECT

Re: [osg-users] Un-share StateSets

2008-12-10 Thread Andreas Lindmark
Tom Forsythe has an entry on his blog about the cost of state changes that I've found to be very helpful. http://home.comcast.net/~tom_forsyth/blog.wiki.html /Andreas 2008/12/9 Paul Melis <[EMAIL PROTECTED]> > Tomlinson, Gordon wrote: > >> Hi Vincent >> Of the top of my head I would assume it

Re: [osg-users] Un-share StateSets

2008-12-09 Thread Paul Melis
Tomlinson, Gordon wrote: Hi Vincent Of the top of my head I would assume it an optimizer that's without looking at the code as generally you want to optimize and share states as state changes is one of the big hurts in the OGL pipe line Not really on-topic, but I always wondered if there is

Re: [osg-users] Un-share StateSets

2008-12-09 Thread Tomlinson, Gordon
ouse one's instinct for survival" - Master Tambo Tetsura From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vincent Bourdier Sent: Tuesday, December 09, 2008 8:17 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Un-share StateSets

Re: [osg-users] Un-share StateSets

2008-12-09 Thread Vincent Bourdier
AIL PROTECTED] *On Behalf Of *Vincent > Bourdier > *Sent:* Tuesday, December 09, 2008 7:49 AM > *To:* osg > *Subject:* [osg-users] Un-share StateSets > > Hi all, > > Working on a CATIA model, exported using 3dsmax (to make an IVE file), it > appear that a lot of geometries h

Re: [osg-users] Un-share StateSets

2008-12-09 Thread Tomlinson, Gordon
t Bourdier Sent: Tuesday, December 09, 2008 7:49 AM To: osg Subject: [osg-users] Un-share StateSets Hi all, Working on a CATIA model, exported using 3dsmax (to make an IVE file), it appear that a lot of geometries have shared stateSet... The problem is that when I modify one... all the other nod

[osg-users] Un-share StateSets

2008-12-09 Thread Vincent Bourdier
Hi all, Working on a CATIA model, exported using 3dsmax (to make an IVE file), it appear that a lot of geometries have shared stateSet... The problem is that when I modify one... all the other nodes are modified too. So, is there any way to avoid that ? I've tried a lot of options with osgEXP fro