Login  Register

Re: Order of children not necessary respected?

Posted by ThomasR on Apr 17, 2018; 9:10pm
URL: https://forum.jogamp.org/Order-of-children-not-necessary-respected-tp4038695p4038816.html

I haven't had a chance to test on other platforms - I will, but I did uncover what I think is an interesting clue:

I expanded the SSCCE to render 6 boxes with 6 distinct textures (I just copied the ardor.jpg 6 times in the resource/media directory and gave separate names) - I supposed that there'd be a better chance of catching the problem. Never produces bad behavior if only the same texture is used for all boxes, only if textures are different. But here's the interesting part: run in debug mode and stopping at each renderUnto, the boxes are always rendered correctly on the first draw ( I stopped at 20 runs), then the order can end up wrong on subsequent draws by stepping through the code, but not always.