Given a plane and a 3D point, transform the 3D point to a 2D coordinate along the plane.

Blitz3D Forums/Blitz3D Programming/Given a plane and a 3D point, transform the 3D point to a 2D coordinate along the plane.

infact heres your function:

TextureCoord(x#,y#,z#,nx#,ny#,nz#) 

plane = createplane()
aligntovector plane,nx,ny,nz,(i cant remember which axis),0

tformpoint x,y,z,plane,0

u = tformedx()
v = tformedy()

End Function


i think...