hi, i would like to get some guidance on how to convert a 2d point to 3d? I am planning to get an array of 2d points and draw a 3d model according to that 2d points
Converting a 2d point to 3dSoftware: Away3D 4.x |
||
|
||
SharpEdge, Member
Posted: 02 October 2013 11:51 AM Total Posts: 94 [ # 1 ] It’s not clear what you mean, 2d point means a point on the screen. If you don’t indicate the Z value you’ll obtain a planar object Anyway you can convert 2d screen coordinates to 3d scene coordinates using
view.unproject(mX:Number, mY:Number, mZ:Number = 0):Vector3D
|