Howto project a planar polygon on a plane in 3d-space

Posted by sum1stolemyname on Stack Overflow See other posts from Stack Overflow or by sum1stolemyname
Published on 2010-03-23T14:04:56Z Indexed on 2010/03/23 15:03 UTC
Read the original article Hit count: 376

Filed under:
|
|
|

I want to project my Polygon along a vector to a plane in 3d Space. I would preferably use a single transformation matrix to do this, but I don't know how to build a matrix of this kind.

Given

  • the plane's parameters (ax+by+cz+d),
  • the world coordinates of my Polygon. As stated in the the headline, all vertices of my polygon lie in another plane.
  • the direction vector along which to project my Polygon (currently the polygon's plane's normal vector)

goal -a 4x4 transformation matrix which performs the required projection,

or

  • some insight on how to construct one myself

© Stack Overflow or respective owner

Related posts about 3d

Related posts about math