[Ardor3d][Jogl] Transparency

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Ardor3d][Jogl] Transparency

Stefan
Hi,

my 3D scene consists of transparent and opaque meshes that can overlap each other, can be nested, and be in different orders (solid-transparent; transparent-solid).

I played around with transparency in Ardor3D but I can't find a setting where everything is rendered correctly in each situation. Depending on the camera position, parts of the geometry suddenly pop-up or disappear.

I found Juliens post on that topic which helped me to resolve some issues:

http://forum.jogamp.org/JOGL-2-support-for-Ardor3D-JMonkeyEngine-3-jzy3d-and-NiftyGUI-td1706747i160.html#a4036238

Is there a way to incorporate order-independent transparency in Ardor3D? Is order-independent transparency supported by Jogl? Would it be a complex task?

Thanks for your help!

Regards,

Stefan
Reply | Threaded
Open this post in threaded view
|

Re: [Ardor3d][Jogl] Transparency

gouessej
Administrator
Hi

JOGL is mostly a Java binding for the OpenGL API, it's not magic. There are several methods to solve your problem including dual depth peeling, Martin Pernollet showed us an example several years ago, it's possible to adapt it to work with JogAmp's Ardor3D Continuation (!= Ardor3D).

P.S: It's explained here:
http://www.jzy3d.org/plugins-depthpeeling.php
Julien Gouesse | Personal blog | Website