Hi,
James Bradbury wrote:
Hi,
I am currently doing a project in OSG that requires me to perform
Matrix Transformations based on real captured data, the data will be
in a .txt file, but I will be able to do any necessary
pre-processing. has anybody had any experience or can offer any
advice into loading values into a Matrix to be used in a transform?
I am currently investigating writing a program that will put the data
into relevant format for the matrix and then load it into the matrix
one element at a time.
the OSG Matrixd has a constructor that just takes 16 values (for 4x4).
You could prob use this to make a matrix and then set a transform using
this. See MatrixTranform constructor or setMatrix.
jp
Thank you!
Cheers, James
------------------ Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=23794#23794
_______________________________________________ osg-users mailing
list [email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org