[Qt-interest] Matrix 4x4
Andre Somers
andre at familiesomers.nl
Mon Oct 19 11:22:46 CEST 2009
matteo wrote:
> Hi,
> I need manipulate matrix 4x4. I see that QMatrix is for 3x3 matrix.
> Suggestions?
>
> Thanks
That depends on the manipulations that you need to do, and requirements
of speed for instance.
There are plenty of matrix implementations around, and for a static 4x4
matrix, it would probably be easy to make it yourself too. I have done
so... The QMatrix and QTransform classes are really mend for
projectionmanipulation, nothing more.
For instance, take a look at Eigen (http://eigen.tuxfamily.org/1/) if
you want something fast.
Or, wait for Qt 4.6 for a 4x4 matrix implementation.
André
More information about the Qt-interest-old
mailing list