[Patch] Patch to add 3D rotation to perspective matrix

View: New views
1 Messages — Rating Filter:   Alert me  

[Patch] Patch to add 3D rotation to perspective matrix

by Mathieu Monney-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

So after helping trying to find out what the perspective matrix terms  
are, here is, as gift, a patch to add 3D rotation capabilities to the  
trans_perspective class of the AGG 2.5 release. In order to make a  
rotation of x radian along either the x,y or z axis you can now call  
the .rotate(x,trans_perspective::xaxis) to apply the transformation to  
the matrix. The matrix itself is returned and returned as reference as  
other modifier functions.

I hope that will help some people.

Thanks again for your active help on this mailing list. It becomes  
rarer to find such support on mailing list. Thanks guys!

Best,

Mathieu Monney



------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Vector-agg-general mailing list
Vector-agg-general@...
https://lists.sourceforge.net/lists/listinfo/vector-agg-general

rotation_perspective_agg.patch (1K) Download Attachment