New answers tagged coordinates
You can specify a coordinate system given the normal N and another vector. We'll choose wi. So any vector that has the same direction as wi when projected onto the tangent plane will have an azimuth of 0 First, we project wi on the tangent plane: (assuming wi is already normalized) wit = normalize(wi - N * dot(wi, N)) now, we can do the same with wo: ...
Top 50 recent answers are included