Re: how to transform objects not using Transform3D
Posted by Mr. Broccoli on Jul 25, 2022; 2:15pm
URL: https://forum.jogamp.org/how-to-transform-objects-not-using-Transform3D-tp4041515p4041797.html
Hi again,
I tried to mess a bit with point a) above, so I changed line colours, widths, cube positions (including overlapping) and played a bit around.
It seems to me that some algorithm of visible surface determination is already working in the background, as all the lines get displayed properly regardless of how I place these objects and move and turn the camera.
I suppose it is somehow implemented i.e. in the camera/universe/geometry, but not sure how it is actually done.
I wonder if this can be switched off somehow, so that I could write my own method for sorting these lines, i.e. using painter's algorithm and see how that works?
Kind regards, Mr. B