Link to home
Start Free TrialLog in
Avatar of khdani
khdaniFlag for Israel

asked on

Reflection in Spherical Coordinates

Hello,
I've beam of light, which has direction in spherical coordinates in right-handed system of coordinates.
angle theta is the angle between the beam vector and axis y,
angle phi is the angle in x-z plane.

i need  the vector to be reflected when it hits a surface, which has normal N.

how can I calculate the new theta and phi angles, of the reflected vector?
ASKER CERTIFIED SOLUTION
Avatar of ikework
ikework
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of khdani

ASKER

thanks ikework,
but i did it in much easier way by finding the reflection vector with the constraint that the reflection, incident and normal should be in same plane, which game the ability to directly calculate the reflection vector without converting