> How can I draw a Transparent sphere?
> 
> I need to draw a sphere inside a Transparent one. 
> Can anyone tell me how to set the material and color of the 
> Transparent one.

Probably a more interesting question is how to render the transparent sphere
so that the back half is rendered first and the front half is rendered
second, for proper blending.

Best way to do that is to multi-parent the sphere to two Geodes. In one
Geode cull front faces, and in the other cull back faces. Then set the
render bin details so that the back half gets rendered before the front half
-- and both get rendered after the opaque sphere, of course.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
303 859 9466

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

Reply via email to