Login  Register

JOGL depth buffer and changing viewport

Posted by rm on Dec 20, 2015; 7:16pm
URL: https://forum.jogamp.org/JOGL-depth-buffer-and-changing-viewport-tp4035916.html

Hello everyone !

I am a real newbie to JOGL and Graphics programming in general and have been searching the Internet for days to find a simple working code for what I am trying to do . So, I would really appreciate it if you could help me out with the following steps:
1. Load a .obj 3d model to the program.
2. In a loop, keep changing the viewport and reading the depth buffer that results ( to be used in other processing)

I don't need to draw anything to screen and am merely interested in the values of the depth buffer at different viewports.

Thanks for reading my message :)