c++ Programming Glossary: gl_depth_test
Can't get masking to work correctly with OpenGL http://stackoverflow.com/questions/10400651/cant-get-masking-to-work-correctly-with-opengl draw_img background ... glEnable GL_BLEND glDisable GL_DEPTH_TEST glBlendFunc GL_ONE GL_ZERO draw_img mask glBlendFunc GL_DST_ALPHA..
Glew problems, unresolved externals http://stackoverflow.com/questions/11059971/glew-problems-unresolved-externals GL_CULL_FACE Enable the back face culling glEnable GL_DEPTH_TEST Enable the depth test glEnable GL_NORMALIZE float matrix new..
OpenGL two different 3d rendering picture control on single MFC dialog not working http://stackoverflow.com/questions/12227586/opengl-two-different-3d-rendering-picture-control-on-single-mfc-dialog-not-work GL_CCW glCullFace GL_BACK Turn on depth testing glEnable GL_DEPTH_TEST glDepthFunc GL_LEQUAL Send draw request OnDraw NULL void COpenGLControl..
Fragment shader inexplicable bahaviour http://stackoverflow.com/questions/14573079/fragment-shader-inexplicable-bahaviour 1 1 1 1 vector GLfloat 1 1 1 1 void display glEnable GL_DEPTH_TEST glMatrixMode GL_PROJECTION glLoadIdentity gluPerspective 45..
object loader in opengl http://stackoverflow.com/questions/14887012/object-loader-in-opengl display glutMouseFunc mouse glutMotionFunc motion glEnable GL_DEPTH_TEST set up headlamp like light glShadeModel GL_SMOOTH glEnable GL_COLOR_MATERIAL..
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 1 1 1 1 drawSolid size glColor4f 0.8 0.8 0.8 1 glDisable GL_DEPTH_TEST glLineWidth 1 drawWireframe size glColor4f 0 0 0 1 glEnable.. 1 drawWireframe size glColor4f 0 0 0 1 glEnable GL_DEPTH_TEST glLineWidth 3 drawWireframe size glPopAttrib void display void.. glClear GL_COLOR_BUFFER_BIT GL_DEPTH_BUFFER_BIT glEnable GL_DEPTH_TEST In the Kinect CS y points down z points from the user towards..
Cannot run Opengl program http://stackoverflow.com/questions/17632340/cannot-run-opengl-program Black background glClearColor 0.0f 0.0f 0.0f 1.0f glEnable GL_DEPTH_TEST glLineWidth 2.5f glBlendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA..
OpenGL and GLUT in Eclipse on OS X http://stackoverflow.com/questions/2068693/opengl-and-glut-in-eclipse-on-os-x 0 0 width height glMatrixMode GL_PROJECTION glEnable GL_DEPTH_TEST gluPerspective 45 float width height .1 100 glMatrixMode GL_MODELVIEW..
Again - parallax mapping issue in OpenGL, GLSL. It's not as usual as it seem to be http://stackoverflow.com/questions/4750707/again-parallax-mapping-issue-in-opengl-glsl-its-not-as-usual-as-it-seem-to GL_UNPACK_ALIGNMENT 1 glDepthFunc GL_LEQUAL glEnable GL_DEPTH_TEST glBlendFunc GL_ONE GL_ONE GLfloat ratio glViewport 0 0 ResolutionWidth..
opengl texturing http://stackoverflow.com/questions/5380717/opengl-texturing 0 void init void glClearColor 0.0 0.0 0.0 0.0 glEnable GL_DEPTH_TEST glMatrixMode GL_MODELVIEW is_depth 1 void display void if is_depth..
Segmentation fault at glGenVertexArrays( 1, &vao ); http://stackoverflow.com/questions/8302625/segmentation-fault-at-glgenvertexarrays-1-vao 0 theta glGetUniformLocation program theta glEnable GL_DEPTH_TEST glClearColor 1.0 1.0 1.0 1.0 void display void glClear GL_COLOR_BUFFER_BIT..
OpenGL 2D hud in 3D application http://stackoverflow.com/questions/8370537/opengl-2d-hud-in-3d-application out the hud code everything renders perfectly. glEnable GL_DEPTH_TEST glDepthFunc GL_LESS Set up projection matrix glMatrixMode GL_PROJECTION.. 3D rendering glDepthMask GL_FALSE glDisable GL_DEPTH_TEST glMatrixMode GL_PROJECTION glLoadIdentity gluOrtho2D 0 window_width..
|