Re: [osg-users] osg::MatrixTransform delays

2013-12-19 Thread Trajce Nikolov NICK
Hi Sebastian, You are right, that is the structure and the first thing I tried was to attach it directly to the body but then I saw this artifact like the particles following the model with delay. So I tried the update callback. Now I am thinking to have the particles attached to the main camera s

Re: [osg-users] osg::MatrixTransform delays

2013-12-19 Thread Sebastian Messerschmidt
Am 19.12.2013 12:09, schrieb Trajce Nikolov NICK: Sebastian, it was too early to be happy. Changing it to traverse first then update didn't helped actually. On the windshield model I have attached ParticleSystem that is actually delayed with the windshield. Any other ideas? I also tried to at

Re: [osg-users] osg::MatrixTransform delays

2013-12-19 Thread Trajce Nikolov NICK
Sebastian, it was too early to be happy. Changing it to traverse first then update didn't helped actually. On the windshield model I have attached ParticleSystem that is actually delayed with the windshield. Any other ideas? I also tried to attach this directly to parts of the model but same resul

Re: [osg-users] osg::MatrixTransform delays

2013-12-19 Thread Sebastian Messerschmidt
You're welcome Thanks Sebastian. That was it. It did helped! Nick On Thu, Dec 19, 2013 at 11:53 AM, Trajce Nikolov NICK mailto:trajce.nikolov.n...@gmail.com>> wrote: Hi Sebastian, that is actually a good idea to do the traversal first. Let me try it first. Thanks ! Nick

Re: [osg-users] osg::MatrixTransform delays

2013-12-19 Thread Trajce Nikolov NICK
Thanks Sebastian. That was it. It did helped! Nick On Thu, Dec 19, 2013 at 11:53 AM, Trajce Nikolov NICK < trajce.nikolov.n...@gmail.com> wrote: > Hi Sebastian, > > that is actually a good idea to do the traversal first. Let me try it > first. Thanks ! > > Nick > > > On Thu, Dec 19, 2013 at 11:

Re: [osg-users] osg::MatrixTransform delays

2013-12-19 Thread Trajce Nikolov NICK
Hi Sebastian, that is actually a good idea to do the traversal first. Let me try it first. Thanks ! Nick On Thu, Dec 19, 2013 at 11:51 AM, Sebastian Messerschmidt < sebastian.messerschm...@gmx.de> wrote: > Am 19.12.2013 09:26, schrieb Trajce Nikolov NICK: > > Hi Nick, > > My first question wo

Re: [osg-users] osg::MatrixTransform delays

2013-12-19 Thread Sebastian Messerschmidt
Am 19.12.2013 09:26, schrieb Trajce Nikolov NICK: Hi Nick, My first question would be: Why don't you simply attach the windshield to the model ;-) No seriously, I had those effects too, when retrieving e.g. the ModelView matrix in callbacks. The problem usually was gone whe doing the traverse

[osg-users] osg::MatrixTransform delays

2013-12-19 Thread Trajce Nikolov NICK
Hi Community, I have a simple scene of a car model with a windshield (two separate models combined in runtime). There is osg::MatrixTransform node on top of the car that moves it around, and the windshield is attached to the scene that also has osg::MatrixTransform on top of it with an UpdateCallb