c++ Programming Glossary: vertfov
Skewed frustum/off-axis projection for head tracking in OpenGL http://stackoverflow.com/questions/16723674/skewed-frustum-off-axis-projection-for-head-tracking-in-opengl would have to change the perspective projection as follows vertFov 0.5 near 0.5 aspRatio 1.33 glMatrixMode GL_PROJECTION glLoadIdentity.. glMatrixMode GL_PROJECTION glLoadIdentity glFrustum near vertFov aspRatio headX near vertFov aspRatio headX near vertFov headY.. glLoadIdentity glFrustum near vertFov aspRatio headX near vertFov aspRatio headX near vertFov headY near vertFov headY near far..
|