Sententia cdsmithus

June 6, 2008

Another Screenshot of the Ray Tracer

Filed under: Haskell — cdsmith @ 4:30 pm

Some people are remarkably picky. They actually want to see reflections in a ray tracer. Can you believe that? Here you go then!

Ray Tracer Second Screen Shot

5 Comments »

  1. This is unhidden picture of Mickey Mouse!

    Comment by Serguey Zefirov — June 7, 2008 @ 3:49 am | Reply

  2. A follow-up on your tutorial explaining how to add reflections would be fantastic!

    I’ve been meaning to write a ray tracer for a very long time, and now you’ve helped me immensely in starting this project!

    Comment by Ayman — June 7, 2008 @ 7:25 am | Reply

  3. Ayman, reflections are in the original code. You just have to add objects with their “shine” set to higher numbers.

    The objects I’ve added there are 50% reflective (shine = 0.5), which is about what you got from mirrors as of about 200 years ago. Today, the really expensive manufacturing processes used in reflective telescopes and the like give you about 90% reflectivity, so I wouldn’t go higher than that. If you make something 100% reflective, the result looks unrealistic, for good reason!

    Comment by cdsmith — June 7, 2008 @ 10:08 am | Reply

  4. I see. Thanks!

    Comment by Ayman — June 7, 2008 @ 4:10 pm | Reply

  5. It’s OT – sorry!

    But http://cdsmith.twu.net/types.html is gone. Please publich it somewhere or send me an email.

    Thanks!

    Comment by Johann Thomas — June 18, 2008 @ 2:19 am | Reply


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.