[osg-users] Transforming a quad polygon into a rectangle

2011-06-01 Thread Kevin DeMott
I'm trying to find a way to convert a four sided polygon (non-rectangular) into a rectangle in 3D space. I would like this to be some type of matrix transform as I need to be able to go both ways. IE from the polygon to a rectangle and from a rectangle to the polygon. I can do a similar

Re: [osg-users] Transforming a quad polygon into a rectangle

2011-06-01 Thread Ryan Pavlik
Well, if you can get a 3x3, you should just be able to start with a 4x4 identity matrix and then copy the 3x3 into the upper-left corner of that matrix. Ryan On Wed, Jun 1, 2011 at 9:08 AM, Kevin DeMott kdem...@belcan.com wrote: I'm trying to find a way to convert a four sided polygon