Skip to content
June 6, 2008 / cdsmith

Another Screenshot of the Ray Tracer

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


Leave a Comment
  1. Serguey Zefirov / Jun 7 2008 3:49 am

    This is unhidden picture of Mickey Mouse!

  2. Ayman / Jun 7 2008 7:25 am

    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!

  3. cdsmith / Jun 7 2008 10:08 am

    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!

  4. Ayman / Jun 7 2008 4:10 pm

    I see. Thanks!

  5. Johann Thomas / Jun 18 2008 2:19 am

    It’s OT – sorry!

    But is gone. Please publich it somewhere or send me an email.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: