reflect vector usage in 3D

1 post / 0 new
coderfreak2022's picture
 
Member since October 18, 2022

Given a surface S with a normalized normal vector N.

For given vector V, find reflected vector R.

Use dot product and then normalize it?

R = S - 2(S.N)N

Is it correct?

Average: 1 (1 vote)
Copyright © 2010-2013 Sergey "Treidge" Danchenko. Feel free to Contact me with any questions. Theme based on a BlogBuzz design by Antsin.com