R. Aditya Kadambi wrote:
> Hi;
>
> I was reading the OpenRM manual. It says that the order of rendering is
> 3D Opaque, 3D Transparent followed by 2D objects.
>
> I am trying to render a 3D opaque object over a 3D transparent object.
> When I render it, I see the 3D transparent object only. I know that the
> 3D opaque object is there (by a switch, when I disable traversal of 3D
> transparent object, I see the 3D opaque object beneath). Is there a way
> to show the opaque object over the transparent object.?
>
Hi,
You're correct -- rendering order is opaque 3D, transparent 3D, 2D.
If you have both a transparent and opaque object at the same spatial
location in the scene, the transparent one will always appear on top if
the transparent obj's z coordinates are closer to the viewer.
Additionally, the amount of transparency can affect how much of the
stuff behind it you can actually see.
The way to make the opaque object appear in front of the transparent
object is to assign its vertices z values that are closer to the viewer.
tx,
wes
|