Modeling Ray Scatter and Reflection from a Point Source: A Study by Heidi Hansen
This project explores the modeling of ray scattering and reflection from a point light source, focusing on the geometric considerations involving surfaces defined by tangent angles. The code provided, RayScatterFinal.m, along with helper functions compute_line.m and Y_of_surface.m, facilitates the simulation. The implementation takes into account the surface slopes and critical angles, allowing for accurate visualization of ray behavior against vertical walls and varying surface angles. Ensure the correct parameters are set for optimal performance in simulations.
Modeling Ray Scatter and Reflection from a Point Source: A Study by Heidi Hansen
E N D
Presentation Transcript
Modeling Ray Scatter andReflection about a Point Source By Heidi Hansen
Bottom and Top Surface tan(x) = sin(x)/cos(x) = b/a = (m1 – m2) / (1 + m1*m2) x = theta = atand ((m1 – m2) / (1 + m1*m2)) For the top surface, m1 = 0 For the Vertical Walls wall length = sin(x)*ray length theta = asind(norm(wall) / norm(ray))
Run my code with: RayScatterFinal.m. Be sure to have also downloaded compute_line.m and Y_of_surface.m
Note: This is with *200 in line 12 rather than *30.