THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/02/2003 at 22:55, xxxxxxxx wrote:
Cinema 4D Version: 8.012
Platform: Mac ;
Language(s) : C++ ;
i'm trying to make a 3d linear gradient between two points, but i'm having trouble with my math... can anyone help?
ok, to make it clear in math terms , i have two points in space (gdata.start and gdata.end), i want to work out the distance of my point "p" from the plane who's normal is defined by gdata.end-gdata.start, with the point gdata.start being on the plane.
what am i doing wrong? (oh and i want the result in terms of the length of the distance between my start and end points).