I am working on the generation of hexahedral mesh , for surface construction i need to find the tangent plane for each point on the surface.
Tell me more
×
Game Development Stack Exchange is a question and answer site for
professional and independent game developers. It's 100% free, no registration required.
|
|
If you use OpenGL, you will have to split your hexahedrons into triangles. Each point lies inside a triangle, so find the tangent plane for that triangle. |
|||||||||
|
|
(continued from Ivan's answer) What format do you want the tangent plane in? A combination of (point, normal) already is a unique representation of a tangent plane. For example, if I have a triangle at points A, B, C; I can find the normal via the cross product Since (A, N) uniquely defines the plane, I could write it out as the equation
|
||||
|