RAY TRACING WITH DISPERSION
description
Transcript of RAY TRACING WITH DISPERSION
RAY TRACING WITH DISPERSION
CSS552 – Topics in Rendering
Winter 2011
Final Project by:Kohei Ueda
Shivani SrikanteshwaraMary Ann Chiramattel Kunjachan
Initialization Phase
Material• Index of Refraction
For each wavelength (color)
Original Light(White)
θi
Each ray from the white light will hit the refractive surface
Initialization PhaseCreates New Dispersive Light Source• Origin (position)• Direction (θo)• Color
Original Light(White)
θi
θo
Each white light ray that hits the refractive surface will be refracted in to different directions.
Initialization PhaseLight Sources• Origin (position)• Direction• Color
Original Light(White)
θi
θo
Photon MapColor values from each Dispersive Light ray will be stored here.
Screen
During Ray Tracing
GetColor(at Intersection pt.)
Refractive Object
Photon Map
Screen
Directional Lights
Final Image
View PointRefractive Surface
Screen