CPSC310A
Video Game Development

Activity 7

Texture Mapping

Details

  1. Download, compile, and run the appropriate example OpenGL program (texture.cc or Texture.java). You will also need the two texture source files (texture.vert and texture.frag).

  2. Modify the program so that it reads an image from a file and texture maps the triangle with the image.

Submission

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