Reflection and Refraction

In this project, we have to implement reflection and refraction in our Ray Tracer application. The idea is very simple to calculate the reflection. We need to calulate the reflection vector and then shoot reflection ray and do Sphere ray instersection. After finding a hit in the scene, we need to shade those pixels and add the color to the reflecting material. In case, if the reflecting ray hits another reflecting surfacem, then we need to shade the pixels recursively.

Scene with Refraction -Error

Scene only with Reflection

System Information

 

CPU : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz

Memory: 24 Gb DDR3 @ 1600 MHz

GPU: NVIDIA GeForce GTX 880M

Prev                Next

Call

T: 385-225-5721  
 

  • LinkedIn Clean
  • Facebook Clean
  • Twitter Clean
  • Google+ Clean

Follow me

 

© 2015 by Amit Prakash

This site was designed with the
.com
website builder. Create your website today.
Start Now