1. 3d function
- Posted by Lewis Townsend <keroltarr at HOTMAIL.COM> Sep 23, 1998
- 624 views
Hello,
I'm still working on this perspective function:
function perspective (sequence thing, sequence eye)
sequence t, i
object d
t=thing[X..Y]
i=eye[X..Y]
d = eye - thing
d = sqrt((d[X] * d[X]) + (d[Y] * d[Y]) + (d[Z] * d[Z]))
return t * t /d
end function
I've got it this far but it's still not quite right.
What am I doing wrong?
Sincerely,
Lewis Townsend
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

