CG Class 6, Mon 2018-09-17

2   Today's demo program

For today's demo program, I'll modify triangle to add a slider that skews a vertex. Then we can maybe rotate.

3   Textbook slides

We'll continue with the textbook powerpoint slides.

  1. 3_3, Programming with WebGL Part 4: Color and Attributes
  2. 3_4, Programming with WebGL Part 5: More GLSL
  3. 3_5, Programming with WebGL Part 6: Three Dimensions
  4. 3_6, Programming with WebGL Part 6: Three Dimensions ctd

5   Euler and angles and Gimbal lock

  1. http://www.youtube.com/watch?v=rrUCBOlJdt4&feature=related Gimble Lock - Explained.

    One problem with Euler angles is that multiple sets of Euler angles can degenerate to the same orientation. Conversely, making a small rotation from certain sets of Euler angles can require a jump in those angles. This is not just a math phenomenon; real gyroscopes experience it.

  2. http://en.wikipedia.org/wiki/Gimbal_lock

  3. What is Gimbal Lock and why does it occur? - an animator's view.