1

I'm trying to simulate reflecting light off an elliptical mirror. I currently store the ellipse in the form {center,{radii},rotationAngle} and the ray of light is specified by a direction and a starting point: {direction, pt}. See below:

enter image description here

Now I can quite easily find the intersection point using RegionIntersection, but what I'm having a hard time doing is finding the new direction for the line after it hits the ellipse. I can do some (ugly) calculations using the parametric form of the ellipse to find the normal line, and then use ArcTan, etc. But I'm wondering if there's an elegant and easy way to determine the new direction for the line post-reflection.

dionys
  • 4,321
  • 1
  • 19
  • 46
Steve D
  • 2,199
  • 1
  • 17
  • 22

0 Answers0