CSC470: Homework 5


Upgrade HW4 by adding textures to the scene. Either use the code provided in the slides to create a checkerboard texture, or load an image of yours from an image file and convert it to a texture. Use that texture for every square of your Sierpinski carpet, making sure to apply the right mapping to all triangles in the scene. Remember to keep the code from previous homeworks, as well, such as lighting and camera motion.

Submit your code to the respective dropbox in Blackboard. It won't hurt to upload it somewhere, too, and put the link in the submission comments.