how to get a vertex projection of a plane

Started by
1 comment, last by FancyZero 20 years, 6 months ago
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]
Advertisement
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?
yea,thanx guys~~

This topic is closed to new replies.

Advertisement