how to get a vertex projection of a plane
if there is a vertex(x,y,z) and a plane (a,b,c,d),
how can I get the projected vertex of the plane (x2,y2,z2)
[edited by - FancyZero on October 12, 2003 4:57:43 AM]
From memory, the distance of the vertex from the plane is
dist = x*a + y*b + c*z + d
To find the point on the plane, perpendicularly below the vertex, subtract the plane normal multiplied by the distance :
x2 = x - a*dist
y2 = y - b*dist
z2 = z - c*dist
Is this what you''re looking for?
dist = x*a + y*b + c*z + d
To find the point on the plane, perpendicularly below the vertex, subtract the plane normal multiplied by the distance :
x2 = x - a*dist
y2 = y - b*dist
z2 = z - c*dist
Is this what you''re looking for?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement