3rd Raytracer

So after spending some time writing the core of the ray tracer again here is one of the first renders with multiple bounces of light.  It took 4 mins to render at 2048×2048 with 32 rays per pixel, each taking 3 bounces along the way.

Aside from simplifying the light transport calculations, I have also written a camera class, which can now project rays into the world from arbitrary positions.  One thing I still want to do is abstract the code to handle material interaction, since I don’t want to hard code this.

 

Image

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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