Unformatted text preview:

Ray TracingTurner WhittedPowerPoint PresentationNo BouncesOne BounceTwo BouncesSlide 7Reflection RayAdding an object: transparencySlide 10RefractionIndex of Refraction > 1Index of Refraction < 1Slide 14AlgorithmSlide 16SamplingRay Tracing DemosSampling DemoTexture & MaterialsSlide 21LinksSlide 23Ray TracingCS 351-50Nov. 19, 2003Turner WhittedNo BouncesOne BounceTwo BouncesReflection RayR = ( -I . N) N + I + (-I . N) N = I - 2 (I . N) NN -InR -I( -I . N) N-I - (-I . N) NR( -I . N) N-I + (-I . N) NI = incident ray = -dN = normal vectorR = reflected rayAdding an object: transparencyRefractionn sin  = nt sin Index of Refraction > 1Index of Refraction < 1totalinternalreflectionAlgorithmTrace (ray){For each object in sceneintersect (ray, object)If no intersectionsreturn background_color For each lightfor each object in sceneintersect(shadowRay, object)Accumulate local illuminationTrace (ReflectionRay)Trace (TransmissionRay)Accumulate global illuminationReturn illumination}SamplingRay Tracing Demoshttp://www.siggraph.org/education/materials/HyperGraph/raytrace/rt_java/raytrace.htmlhttp://www.cs.berkeley.edu/~efros/java/tracer/tracer.htmlSampling DemoTexture &


View Full Document

NU EECS 351 - Ray Tracing

Download Ray Tracing
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Ray Tracing and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Ray Tracing 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?