CSC470: Homework 6


Upgrade HW5 by adding a texture and a normal map to the scene. You can use this texture with this normal map. Use that texture/normal map 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.

In addition, change the positions of your carpet vertices in the Z direction. This will make your carpet non-flat, and will add some interesting visuals to the normal map.

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.