Raytracer progress II

Now i think i have somthing decent showing up. I got the diffused surfaces working shadows are working.

To calculate i did DOT(light_direction, object normal)*Material_color.

And to calculate shadows we send the rays from the light source to the point of intersection and see if the ray intersects any object on the way.

 

Image

 

 

Now i serioulsly wish i had rendered out in some better colors 🙂

Pretty renders will be coming out soon.

Next steps-:

Speular reflection 

Raytrace shadows

Reflection

Advertisements

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 )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: