Login  Register

Re: Order of children not necessary respected?

Posted by ThomasR on May 07, 2018; 2:10am
URL: https://forum.jogamp.org/Order-of-children-not-necessary-respected-tp4038695p4038854.html

Hi,

Does Jogamp Ardor3D do anything differently depending on the ZBufferState (enabled or disable), or is this just passed on to OpenGL?

Can the RenderQueue logic remove or modify Spatials prior to OpenGL rendering them on the screen?

I think the effect I want could be achieved if opaque objects could be rendered first (with the ZBuffer depth test enabled) and semi-transparent objects rendered next with ZBuffer disabled. Is this possible? Could the opaque and transparent objects be separated into separate peer branches, one with ZBufferState enabled, the other disabled? Or would I need to create a custom RenderBucket.