19 years, 5 months ago
Highlights
19 years, 5 months ago
hi, i need to know how the calculate of d (distance from camera) with details: v = (value in depth buffer)*2-1(with the value in depth buffer obtain with glReadpixels with GL_DE…
19 years, 5 months ago
the value in Z-buffer obtain by this formula: v = (value in depth buffer)*2-1 d = 2*f*n/(-v*f+v*n+f+n) but i need to know how the projection and the calibration of camera has be…
19 years, 5 months ago
when I trace a form like sphere,cube,etc... ,i don't know the pixelwidth or the pixelheight ,i think the parametres of pixels was definited with opengl himself, the question is…
19 years, 5 months ago