Login  Register

Re: Order of children not necessary respected?

Posted by ThomasR on Apr 05, 2018; 6:43pm
URL: https://forum.jogamp.org/Order-of-children-not-necessary-respected-tp4038695p4038787.html

Hi,

To clarify, the example is setup like this:

back                                               front

(childIdx)   0             1              2

(box)      small       medium     large


With the depth test enabled, we should only see the large box
With the depth test disabled (or null), we should see the small box on top of medium box both on top of large box (we should see all of the boxes)

It always works for me as well, unless I try to use more than one unique texture. So the problem is somewhere in the TextureManager.

I can provide a more simplified example if you like?

Tom