Stencyling Around

Finding the Fun.

Aquatic Life

December 5th, 2008 by Jon

img_0885.jpg

img_0909-version-2.jpg

Both taken with my 17-55 at f/2.8 and ISO 1600.

Ray Tracer: Final Day

October 13th, 2007 by Jon

On the final day, I’ve added in normal mapping, a more advanced form of bump mapping. Like bump mapping, it gives objects a more realistic “3D” effect, and it does this by modifying the surface normals in the diffuse lighting calculations. It grabs this information from a special image by taking its RGB components and treating them as the XYZ components of the surface normal.

The result? Have a look and compare.

image-08.jpg

Notice in the floor that it has little grooves in it. The same can be seen in the spheres. Now compare to the old one. (Yes, the sphere got textured in the new one.)

image-02.jpg

A pretty big difference I must say.

While I’m finished with this raytracer for now, there are other features I’d like to return to later or perhaps in my final class project.

  • Anti-Aliasing
  • Soft Shadows
  • Area Lights
  • Diffuse Reflections
  • Caustics
  • Parallax Mapping
  • Depth of Field
  • Motion Blur
  • More Primitives
  • Interaction - Move the camera around
  • Real-Time Ray Tracing

All in all, a time consuming but fun project. Before I close this off, how about a look at what else I made?

Other Final Scenes

image-06.jpg

image-04.jpg

image-03.jpg

A Look Back…

Day 1: Setup, Spheres and Constant Shading

raytracer1.png

Day 2: Phong Shading and Lighting

raytracer2.png

Day 3: Reflections, Shadows and Infinite Planes

raytracer3c.jpg

Day 4: Scene File Format, Refraction and Triangles

raytracer4a.jpg

Day 5: Transformations and Instancing
raytracer5.jpg

Day 6: Texture Mapping

raytracer6a.jpg

Day 7: Normal Mapping and Final Touches

image-08.jpg