Hello,
This submission fixes a bug when the ModularEmitter and ParticleSystem are in different frames of reference. Specifically, it supports the case where the ParticleSystem is not in the world frame. One way this can come up is if your world coordinate system is Earth-centric; the float coordinates of particles don't have enough precision to avoid terrible jitter and other rendering artifacts, so it's convenient to root the particle systems in a local Z-up coordinate system that gets moved around from time to time.

I haven't touched the rotation and angular velocity properties of particles. IMHO they are pretty broken, dealing in Euler angles and such, and I see that they aren't used in the rest of the particle system code.

Tim

Attachment: world-particles.tar
Description: Unix tar archive

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

Reply via email to