Login  Register

Re: Model corruption with Background Node

Posted by StrangelyTyped on Sep 06, 2021; 10:33pm
URL: https://forum.jogamp.org/Model-corruption-with-Background-Node-tp4041238p4041268.html

Reproduction case is available here - https://github.com/StrangelyTyped/j3d-repro

When run it produces two renders from the exact same scene - a pair of ColorCubes rotated in opposite axes and intersecting with each other. The render-1.png shows the correct output regardless, both cubes intersecting. With ENABLE_BG=false, render-2 is exactly the same as you'd expect, but with ENABLE_BG=true then render2 shows one cube rendered on top of the other instead. Have attached all 4 images to this post just in case.

render-bg-1.png
render-bg-2.png
render-nobg-1.png
render-nobg-2.png