CPSC310A
Video Game Development

Activity 12

Transformations

Details

  1. Download, compile, and run the appropriate example OpenGL program (transform.cc or Transform.java). You will also need the two shader source files (transform.vert and transform.frag) and the matrix class you have written for previous activities.

  2. Modify the program so that the triangle is rotating about its center point quickly while also orbiting around a point in the distance slowly.

Submission

Please show your source code and run your program for the instructor.