The final goal of the ray tracer will be to reproduce the image below.  In this first step, the object parameters are estimated. sturner-small

Original Turner Whitted Image

settingthescene

Object Positions done in C++ and OpenGL

Initial Values:

Back Sphere Position: ( 1.0, 0.05, 3.65 ) Size: 1.0

Front Sphere Position: ( -0.15, .9, 0.8 ) Size: 1.0

Floor Position: ( -1.25, 0.0, 20.0 ) ( 4.6, 0.0, 20.0 ) ( 4.6, 0.0, 0.0 ) ( -1.25, 0.0, 0.0 )

Light Position: ( 1.0, 5.0, -1.0 )

Camera Position: ( 0.0, 1.0, -1.0 ) Camera Lookat: ( 0.0, 0.0, 20.0 ) Camera Orientation: ( 0.0, 1.0, 0.0 )

Comment