Sign in to follow this  
  • entries
    94
  • comments
    127
  • views
    82923

raytracer part 8

Sign in to follow this  
Seriema

97 views

Had a test in the compiler course today. We're gonna pretend it never happen and just finish the raytracer! ;)

Except for the weird lighting, I now have weird refraction! It's like it's refracting too much :/ and I also got some pixel artifacts, which is odd for something that's calculated for each pixel X(

No pseudo code untill the stuff actually works! hehe gotta have to edit all my posts when this is done. Spiff it up a bit!

pix!


EDIT: I changed the way the background color is applied. Instead of starting with it, I only apply it to rays that don't intersect something. This is more correct sinc rays that endlessly (until max_depth is reached) reflect and/or refract never "touch" the background and shouldn't get the background color.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

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