Sign in to follow this  
george7378

Updated ray tracer

Recommended Posts

george7378    1441

I've been working on my ray racer recently, and I've changed it in a few ways:

 

- It now supports multicore rendering

- It can parse external text files and import scenes

- It can handle soft shadows

- It can handle textures

 

Here are a few pics I though I'd share:

 

http://imgur.com/a/sDGaz

 

To do: It would be nice to add the ability to render via path tracing so that I can add caustics, etc... but I haven't really found a good explanation of exactly how to do this. I understand that rather than spawning recursive reflection/refraction rays at each hitpoint, you spawn a single probabilstic ray, but I'm still a bit hazy on how to actually determine the final pixel color.

 

Thanks for looking smile.png

Edited by george7378

Share this post


Link to post
Share on other sites
george7378    1441
No, it's standalone and runs on the CPU. I think it would be a lot harder to make it run with DirectX. It took about 2 minutes to make the images on there, but it depends a lot on the resolution and the way the shadows are calculated. Without the soft shadows it would take about 15 seconds.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this