Changes between Version 13 and Version 14 of tutorial


Ignore:
Timestamp:
Jun 27, 2013, 8:36:42 AM (6 years ago)
Author:
leon
Comment:

Pipeline

Legend:

Unmodified
Added
Removed
Modified
  • tutorial

    v13 v14  
     1= Visualization with OpenGL hands-on =
    12[[PageOutline]]
    2 = OpenGL hands-on tutorial =
     3Tutorial aims to introduce visualization techniques with modern Open Graphics Language (OpenGL)
     4approaches standardized with version 3.x+. OpenGL Shading Language (GLSL) is used for that without
     5tendency to introduce ''photo-realism''as output but rather useful colors for scientific data exploration.
     6{{{
     7#!html
     8<object data="/vaje/raw-attachment/wiki/tutorial/OpenGL-pipeline.svg" type="svg+xml"></object>
     9}}}
    310Running this tutorial on Linux desktop one requires at least the OpenGL 2.0 graphics
    4 with the OpenGL Shading Language (GLSL) 1.1 and supporting libraries GL, GLU, GLUT, GLEW.
     11with the GLSL 1.1 and supporting libraries GL, GLU, GLUT, GLEW.
    512This can be verified with the following commands:
    613{{{
     
    135142We extend previous exercise with example that introduces OpenGL 3.x techniques:
    136143 * OpenGL Shading Language where simple vertex and fragment shader are required.
    137  * Vertex Buffer Objects stored in GPU
     144 * Vertex Aray Objects (VAOs) stored in GPU
    138145Create {{{triangle.c}}} and update {{{Makefile}}} with new target
    139146{{{
     
    231238
    232239== Exercises #2 ==
    233  1. To be able to continue and not get lost introduce shader compiler logs in case of compilation errors by adding the following code into {{{setShaders()}} right at after vertex shader compilation:
     240 1. To be able to continue and not get lost introduce shader compiler logs in case of compilation errors by adding the following code into {{{setShaders()}}} right at after vertex shader compilation:
    234241   {{{
    235242   #!c
     
    245252   }}}
    246253 Do not forget to repeat the same thing for fragment shader.
    247  2. Add linker debugging
     254 Add linker debugging
    248255   {{{
    249256   #!c 
     
    260267   }}}
    261268   Create some error to verify if it works.
    262  3. For general (core) OpenGL errors we can use the following utility at suspicious places.
     269  For general (core) OpenGL errors we can use the following utility at suspicious places.
    263270  {{{
    264271  #!c