Hi Paul,
> 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
> 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
Hello Ahmed,
> 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.
>
If you're using ShapeDrawables for your spheres, you can do it like this:
// Sphere of radius 1, red and semi-transparent.
osg::ref_ptr sphere = ne
Hi All,
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.
Thanks,
Ahmed Nawar
<>___
osg-users mailing list
osg-users@lists.openscenegr
4 matches
Mail list logo