Homework 02
Due 12:30pm Wednesday,
February 5, 2003
Last updated 1/29/03
You are provided an initial RIB file that you may use as a starting point for this assignment. More interesting RIB files of your own creation are encouraged. The RIB file(s) you use must be such that they allow the characteristics of the two shaders you are to write to be effectively shown and contrasted.
You will need to create and implement two (2) original RenderMan surface shaders. One of these shaders is to emulate a realistic surface of your choice. The other shader is to be for an intentionally non-realistic surface. Your shaders should be able to be called with texture files for surface color and perhaps other surface characteristics. All appropriate shading variables (such as Ka, Kd, Ks, specular_color, ...) should be available as shader input parameters. Create interesting textures to use with your shaders.
Since these are surface shaders, you are not allowed, for this assignment, to displace or otherwise manipulate the surface geometry within your shaders. You are encouraged to explore the use of the various global variables provide to the shaders by the renderer.
You will need to turn in:
1) A README file.
2) The source code for your two
shaders.
3) The compiled shaders.
4) The texture files used
5) Rendered images - at least two
examples or views for each of your shaders. Please create and turn in jpeg
versions of these images for inclusion on the class web pages.
The initial RIB file mentioned above is called hw02.rib and can be found on the sample files page.