matrix to transform unit cube to space defined by 8 arbitrary points

Posted by aadster on Game Development See other posts from Game Development or by aadster
Published on 2012-10-28T20:38:51Z Indexed on 2012/10/28 23:23 UTC
Read the original article Hit count: 223

Filed under:

I asked a question relating to similar to this already, but I think this is a clearer objective of what Im trying to achieve.. or whether its possible at all!

Im trying to find a transformation (matrix ideally) which would transform the 8 points of a 3d unit cube to 8 arbitrary points in space.

The 8 target points have no known structure.

e.g: example xform

My gut feeling is that a matrix is unable to provide this xform since the cube faces vertices can be concave.. but are there any other methods of transformation? Thanks!

© Game Development or respective owner

Related posts about 3d-meshes