Changes between Version 28 and Version 29 of tutorial


Ignore:
Timestamp:
Jun 29, 2013, 8:02:51 PM (11 years ago)
Author:
leon
Comment:

Show copper mix

Legend:

Unmodified
Added
Removed
Modified
  • tutorial

    v28 v29  
    486486  normal = normalize(n.xyz); \
    487487  }}}
     488  [[Image(copper-mix.png, right)]]
    488489 2. Introduce zoom in/out functionality of the viewer by adding mouse wheel events to the end of `mouse()`
    489490  {{{
     
    500501     * gl_ModelViewMatrix*vec4(Zoom*gl_Vertex.xyz, 1.0); \
    501502  }}}
    502   In the `display()` we send `zoom` to GPU before drawing the `glutSolidTeapot()` by adding
     503  In the `display()` we send `zoom` to GPU before drawing the `glutSolidTeapot()` by adding 
    503504  {{{
    504505  #!c