HI Nick,

On Thu, Jul 15, 2010 at 4:19 PM, nick waller <[email protected]> wrote:
> Thanks Robert. We looked at the framestamp and found that VRJuggler was not 
> setting the simulation time of it.  Once we did that, particle and animation 
> effects started working.

Could you push these changes back to the VRJuggler team to enable
others to benefit from this fix as well.

> However, now we have run into a different but related problem.  The particles 
> that show up seem to move when we translate the scenegraph twice as much and 
> end up way out of place.  We've tried to apply the opposite transform to the 
> particle system geode, and that didn't change a thing, so we tried the 
> modular emitters and particle system updater but still not a single thing is 
> changing on the graph.
> Do you have any idea what could be causing this problem?

This is due to the particle emitter being transformed and the particle
system itself being transformed as well, this causes a double
transformation.  To avoid this you need to move the particle system
out from underneath your transforms an put it in world coordinates.
Have a look at the osgparticleeffects example for discussion in the
code about this.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to