Due in class October 30
Experiment with different configurations to see how changing the parameters change the appearance.
Basic implementations include:
- Create at least two 3D objects:
- Give the objects material properties and add one light to the scene.
- Allow the user to change the material properties of the object and the properties of the light. Be creative.
then add
- Multiple lights
- Moving lights
Demonstrate your program to Jon next Wed, and also get help with the coding. Alternatively, hand in sufficient screen dumps to show your program.
Deliverables:
- Source files
- A readme file with the following information:
- A brief description of the 3D object and how you generated the normals.
- A few observations on what happened when the parameters of lighting and material are changed.
- Instructions on the user interface.
- Cite the code borrowed elsewhere.
- Either a demo or screendumps.
Grading will based on your 3D objects, multiple lights and moving lights, change of material properties
Sample code:
- colormat.c: using glColorMaterial() to change material paramenters
- light.c: A sphere is drawn using a grey material characteristic. A single light source illuminates the object.
- movelight.c: Modeling a light with Modeling Transformations
- material.c: Several objects are drawn using different material characteristics. A single light source illuminates the objects.