Your Cart

Cart Icon
    Item
    Price

Subtotal

Excludes VAT and transaction fees

thb 0

You’ll be redirected to ticketmelon.com

Cart Icon
00
Listen to:
Expand Mini Player

!!exclusive!!: Opengl 2

For those who didn't start there, OpenGL 2 introduced the shader model (1.10/1.20) and still fully supported the fixed-function pipeline. But in practice, most people associate "OpenGL 2" with immediate mode ( glBegin/glEnd ), glVertex , glMatrixMode , and lighting via glLight .

Anyone else still occasionally writing fixed-function OpenGL for fun? 😄 opengl 2

int main(int argc, char** argv) GLUT_RGB); glutCreateWindow("OpenGL 2 Fixed Function"); glutDisplayFunc(display); glutMainLoop(); return 0; For those who didn't start there, OpenGL 2

Diving back into OpenGL 2 – the fixed-function nostalgia For those who didn't start there

#include <GL/glut.h> void display() glClear(GL_COLOR_BUFFER_BIT

.