Raytracing

Published February 04, 2006
Advertisement
So I've been working a bit on my ray tracer, so far it only works with spheres, but I did get diffuse lighting and shadows working:



And then just today:



I have everything being loaded from a file, that is the spheres, lights, render resolution, camera position, fov, and also the level of recursion for the reflection. Not only is most of this required for the assignment, but it makes testing (playing) much easier than recompiling everytime :).

So next steps are transparency, refraction, and triangles.
Previous Entry Oh, It's on now.
Next Entry More Raytracer
0 likes 3 comments

Comments

........................................
looks great. how long is the rendering time?
February 04, 2006 05:33 AM
Rob Loach
Beach balls are fun.
February 04, 2006 11:44 AM
Rixter
Thanks, right now since all it does is spheres the rendering time isn't very long, just a second or two on a pretty slow computer when I have lots of reflection bounces. I suspect that will go up a bunch once triangles are working. There's a few places I can optimize a bit more, but that may have to come later since I have a deadline :(.
February 04, 2006 01:14 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Spicy Curse

1168 views

Missile Command

1130 views

I wanna make games

1125 views

A letter

1192 views

End of Days

1260 views

Workin' Hard.

1000 views

Not much new...

1016 views
Advertisement