Changes between Version 8 and Version 9 of tutorial


Ignore:
Timestamp:
Jun 27, 2013, 12:04:53 AM (11 years ago)
Author:
leon
Comment:

Modern GL

Legend:

Unmodified
Added
Removed
Modified
  • tutorial

    v8 v9  
    11[[PageOutline]]
    22= OpenGL hands-on tutorial =
    3 
     3Running this tutorial on Linux desktop one requires at least OpenGL 2.0 graphics
     4with OpenGL Shading Language (GLSL) 1.1 and supporting libraries GL, GLU, GLUT, GLEW.
     5This can be verified with commands:
     6{{{
     7#!sh
     8$ glxinfo |grep OpenGL.*version
     9OpenGL version string: 2.1 Mesa 8.0.5
     10OpenGL 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}}}
    415
    516== Legacy OpenGL ==
     
    3142}}}
    3243
    33 Create {{{Makefile}}} to build your program.
     44Create {{{Makefile}}} to build your program. [[Image(first.png,right)]]
    3445
    3546{{{
     
    121132
    122133== Modern OpenGL ==
    123 Create {{{triangle.c}}} and update {{{Makefile}}}
     134Create {{{triangle.c}}} and update {{{Makefile}}} [[Image(triangle.png,right)]]
     135We extend previous exercise with example that introduces OpenGL 3.x techniques:
     136 * OpenGL Shading Language
     137 * Vertex Buffer Objects stored in GPU
     138
    124139{{{
    125140#!sh