The Texture-Mapped Cylinder RayTracer
Dr. Fred P. Brooks Comp-236
Cylinder Texture-Mapping Project
Kenny Hoff
written "from scratch" from March 22-25, 1996
The RayCaster features:
-
Arbitrary cylinder instancing transformations (non-uniform scaling, rotations,
and translations)
-
Arbitrary camera specification (origin, view reference point, view up,
and EyePt in camera coordinates including off-axis placement - useful in
stereo display)
-
Full Phong-Illumination model (ambient, diffuse, specular) with light-source
and depth attenuation
-
Texture-mapping
-
Perspective-projection (modeled after a pinhole camera)
Preliminary Notes on the RayCaster:
Sample Output:
Raycasted cylinders before texture-mapping was applied using only
a diffuse-reflection model. These images demonstrate the ability to arbitrarily
place the camera around the scene and to apply arbitrary "instancing" transformations
while still only performing intersection calculations with the unit solid.


Front View (Texture-Mapping added, only ambient illumination model),
some artifacts are present in this and the following five images that are
eliminated in the shaded versions.
Back View
Right-Side View
Left-Side View
From the Left, Back, and Up looking towards the center
Rotated View
Front View (full Illumination Model added), artifacts eliminated
or greatly reduced
Rotated and Viewed from the Side
Same as previous but with postprocess average block-filtering