CS 431/636 - Advanced Rendering Techniques

Extra Credit Assignment

Add 2D image-based texture maps to your spheres (5 points), and 3D procedural texture maps to your triangle meshes (5 points). This will involve, at the very least, replacing the diffuse color for these objects with a texture map.

Here are images of the Earth, the Moon, Mars and Jupiter that you can use as the texture map for your sphere.

Implementing procedural texture maps will involve writing a function that takes a 2D or 3D point and returns an RGB color.

Make an image, with 2 levels of adaptive anti-aliasing, that contains at least one sphere and one non-box triangle mesh that use texture maps, along with at least one white light.

Add spot lights (the one described in lecture 3) to your ray tracer (5 points).
This will involve adding a direction vector DL, a cone angle α, and fall-off parameter nL to your point lights.

Make an image that demonstrates the edge of your light cone and that its intensity falls off as it approaches the edge. The image should include at least one sphere and one mesh. Be sure to point your spot lights shines on these objects.

Add transformed cylinders (5 points) to your ray tracer. Make an image with at least two transformed (translated, rotated and scaled) cylinders.

Add tessellated Bezier patches (5 points) and superellipsoids (5 points) to your ray tracer. Make an image with at least two transformed (translated, rotated and scaled) objects of each primitive.

Post your image(s) (in TIFF or PNG format) in its(their) native resolution (i.e. don't set their size in html) on a web site, with the associated computation time and shading/lighting parameter values.

Tell me what file contains your texture mapping code.

Upload your software to WebCT.

Be sure to tell me where I can find the code for your procedural texture mapping function(s).

E-mail the URL of the web site to david AT cs DOT drexel DOT edu before the deadline (6/5/09).

You can find SMF triangle mesh models here.



Last modified on June 9, 2008.