Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the simple 2D ray tracing setup shown in Figure 4. Note, we are treating this as a 2D problem to make the math easier
Consider the simple 2D ray tracing setup shown in Figure 4. Note, we are treating this as a 2D problem to make the math easier you could more realistically think of this gure as looking at the 2:0 plane slicing through a 3D scene, in which case the circle is really the cross section of a sphere; nonetheless all the Z coordinates of points of interest are 0 so just think of this as a problem with 2D points and 2D vectors). There is a mirror-reective circle (sphere) in the scene, centered at the origin (0,0) and having radius R=5. The scene is viewed from an eye location of (-15,10}. and the scene is illuminated from a single point light source located at (-20, 5). Consider a current ray being cast into the scene, intersecting the circle at location (4,0). Each of the following questions asks you to write down the parametric equation of a ray, in the form p{t} = e + t d. In each caseI normalize the direction vector d to be a unit vector. Show your work to get full points. 1. Write down the parametric equation of the primary my. 2. Write down the parametric equation of the shadow my. 3. Write down the parametric equation of the reection my. eye location [-15, 10] point light . source (-20, 5} $31- mirrored sphere Figure 4: Sketch of a 2D scene containing a mirror-reective circle and a single point light source
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started