Hi Robert,

Trying this again on osg-submissions.

I found time to look at this problem.  What you had usually won't work
because the rotation applied in Particle::render doesn't always match
what is going on in ParticleSystem::single_pass_render.  It may work for
applications where Y is up, X is to the right, and Z is toward the
viewer like VTP.  I'm not sure how to fix it other than reversing most
of the r7961 changes.

I've enclosed a modified ParticleSystem.cpp with some of the r7961
changes you made in single_pass_render.  It looks like there is a typo
in calculating yAxis.  I think it should be scaleY*scaleY instead of
scaleX*scaleY.  Since I'm not sure what you were trying to do with this
I left that part the way you had it.

 <<ParticleSystem.cpp.gz>> 

Attachment: ParticleSystem.cpp.gz
Description: ParticleSystem.cpp.gz

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

Reply via email to