¡@

Home 

c++ Programming Glossary: glvertex3f

C++ OpenGL window only tracks background

http://stackoverflow.com/questions/18477852/c-opengl-window-only-tracks-background

Draw a polygon with specified vertices. glBegin GL_POLYGON glVertex3f 20.0 20.0 0.0 glVertex3f 80.0 20.0 0.0 glVertex3f 80.0 80.0.. vertices. glBegin GL_POLYGON glVertex3f 20.0 20.0 0.0 glVertex3f 80.0 20.0 0.0 glVertex3f 80.0 80.0 0.0 glVertex3f 20.0 80.0.. glVertex3f 20.0 20.0 0.0 glVertex3f 80.0 20.0 0.0 glVertex3f 80.0 80.0 0.0 glVertex3f 20.0 80.0 0.0 glEnd Flush created objects..

Easy framework for OpenGL Shaders in C/C++

http://stackoverflow.com/questions/2795044/easy-framework-for-opengl-shaders-in-c-c

something glBegin GL_TRIANGLES glColor3f 0.0f 0.0f 1.0f glVertex3f 1.0f 0.0f 1.0f glColor3f 0.0f 1.0f 0.0f glVertex3f 1.0f 0.0f.. 1.0f glVertex3f 1.0f 0.0f 1.0f glColor3f 0.0f 1.0f 0.0f glVertex3f 1.0f 0.0f 1.0f glColor3f 1.0f 0.0f 0.0f glVertex3d 0.0 1.0 1.0..

opengl texturing

http://stackoverflow.com/questions/5380717/opengl-texturing

GL_COLOR_BUFFER_BIT glBegin GL_QUADS glTexCoord2f 0.0 0.0 glVertex3f 75.0 0.0 400.0 glTexCoord2f 0.0 1.0 glVertex3f 75.0 0.0 100.0.. 0.0 0.0 glVertex3f 75.0 0.0 400.0 glTexCoord2f 0.0 1.0 glVertex3f 75.0 0.0 100.0 glTexCoord2f 1.0 1.0 glVertex3f 75.0 0.0 100.0.. 0.0 1.0 glVertex3f 75.0 0.0 100.0 glTexCoord2f 1.0 1.0 glVertex3f 75.0 0.0 100.0 glTexCoord2f 1.0 1.0 glVertex3f 75.0 0.0 400.0..