Advertisement Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views


Sign in to follow this  


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.
Sign in to follow this  


Recommended Comments

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 :(.

Share this comment

Link to comment

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
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!