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 operation in QT with the QTransform::quadToQuad. The problem 
with that approach is I end up with a 3x3 matrix whereas I need a 4x4 for the 
osg/opengl calls. I have not had much luck stuffing the 3x3 into a 4x4.

Thanks

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=40008#40008





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to