Hi
We are trying to create fire and smoke using a particle system for the fire and several transparent planes for the smoke.
The transparency on the planes is based on alpha values depending on the amount of smoke we want.
The problem is that we can't get the objects to render in the right order. Either the smoke occludes the fire when it is supposed to be transparent
or the fire is rendered on top of the smoke planes.
The planes are in front, in between and behind the particles in the particle system but if the back-to-front rendering order is based on the
particle systems bounding box the objects are drawn in the wrong order. Any ideas on how to fix this?
We have been able to get the scene rendered in kind of the right order except that the particle qauds was blended with the opaque background but not with the smoke planes.
When we got that result the opaque objects was rendered first, then the particle system with double-pass-rendering set to true, and last the smoke planes with renderinghint transparent bin.
We have also tried different approaches using different rendering bins, but we can't get it to work.
Please, help us!
Regards
A-K and Lotta
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
