¡@

Home 

c++ Programming Glossary: glvertex2f

OpenGL and GLUT in Eclipse on OS X

http://stackoverflow.com/questions/2068693/opengl-and-glut-in-eclipse-on-os-x

colored quad glBegin GL_QUADS glColor3ub 255 000 000 glVertex2f 1 1 glColor3ub 000 255 000 glVertex2f 1 1 glColor3ub 000 000.. 255 000 000 glVertex2f 1 1 glColor3ub 000 255 000 glVertex2f 1 1 glColor3ub 000 000 255 glVertex2f 1 1 glColor3ub 255 255.. 000 255 000 glVertex2f 1 1 glColor3ub 000 000 255 glVertex2f 1 1 glColor3ub 255 255 000 glVertex2f 1 1 glEnd Swap buffers..

Image scaling (KeepAspectRatioByExpanding) through OpenGL

http://stackoverflow.com/questions/9011108/image-scaling-keepaspectratiobyexpanding-through-opengl

image scaling in OpenGL using only glTexCoord2f and glVertex2f . Let me explain after loading a QImage and sending it to the.. vertically glBegin GL_QUADS glTexCoord2f 0.0f img_height glVertex2f offset_x gl_height offset_y glTexCoord2f img_width img_height.. gl_height offset_y glTexCoord2f img_width img_height glVertex2f gl_width offset_x gl_height offset_y glTexCoord2f img_width..