CS559 Spring 2021 Sample Solution - Workbook 9
Written by CS559 course staff
They can be anything. They just must have 3 or more triangles, and you have to make each one from a
Geometry and put them into the 559 Framework. You can even use the objects from later parts of the assignments (pages 6 and 7) if they fulfill the requirements.
- One object must have face coloring where we can see triangles with different colors.
- One object must have vertex coloring where we can see the colors smoothly varying across a triangle boundary.
- One object must have vertex normals set so the lighting is smooth across a triangle boundary.
There are examples of face coloring, vertex coloring, and fake normals to get smooth lighting on page 1. You can look at that code to understand how to make these different kinds of things.
You may not use an object loader for this exercise: you must build the
The other requirement is that it should be visibly obvious which object fills which requirement. The smooth normals might require rotating it to see.
This page is meant to be practice for the bigger exercises on pages 5, 6 and 7.
After you’ve done it, go on to Page 3 (Texture Basics).