Changes between Version 8 and Version 9 of tutorial
- Timestamp:
- Jun 27, 2013, 12:04:53 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
tutorial
v8 v9 1 1 [[PageOutline]] 2 2 = OpenGL hands-on tutorial = 3 3 Running this tutorial on Linux desktop one requires at least OpenGL 2.0 graphics 4 with OpenGL Shading Language (GLSL) 1.1 and supporting libraries GL, GLU, GLUT, GLEW. 5 This can be verified with commands: 6 {{{ 7 #!sh 8 $ glxinfo |grep OpenGL.*version 9 OpenGL version string: 2.1 Mesa 8.0.5 10 OpenGL shading language version string: 1.20 11 $ ls /usr/include/GL/{glut.h,glew.h,gl.h,glu.h} 12 /usr/include/GL/glew.h /usr/include/GL/glu.h 13 /usr/include/GL/gl.h /usr/include/GL/glut.h 14 }}} 4 15 5 16 == Legacy OpenGL == … … 31 42 }}} 32 43 33 Create {{{Makefile}}} to build your program. 44 Create {{{Makefile}}} to build your program. [[Image(first.png,right)]] 34 45 35 46 {{{ … … 121 132 122 133 == Modern OpenGL == 123 Create {{{triangle.c}}} and update {{{Makefile}}} 134 Create {{{triangle.c}}} and update {{{Makefile}}} [[Image(triangle.png,right)]] 135 We extend previous exercise with example that introduces OpenGL 3.x techniques: 136 * OpenGL Shading Language 137 * Vertex Buffer Objects stored in GPU 138 124 139 {{{ 125 140 #!sh