Remdul
03-13-2008, 07:27 AM
I want to compute a plane (x,y,z = normal, w = distance to origin) from a 3d triangle (v1,v2,v3), so the three verts will lie on the plane. I already have the triangle normal and all that.
I've coded working functions dozens of times before but I can't possibly understand how to replicate this again. All I end up with is a single Dot Product, my brain thinks a sqrt() is needed somewhere to compute the plane w element. I'm confused...
I've coded working functions dozens of times before but I can't possibly understand how to replicate this again. All I end up with is a single Dot Product, my brain thinks a sqrt() is needed somewhere to compute the plane w element. I'm confused...