WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Matrix (https://forum.worldviz.com/showthread.php?t=5887)

mihirradia 11-04-2016 02:43 PM

Matrix
 
Hi,
I have loaded an object in the virtual environment. Now I want to know its 4x4 Homogenous Coordinate System and print the values in the Interactive window. How do I do that?

Thanks in advance.

Jeff 11-04-2016 03:54 PM

Take a look at the node3D.getMatrix() command.

mihirradia 11-05-2016 08:17 AM

Hi,
The command that you showed returns the transform of the object in the specified coordinate system. But, my goal is to find the 4X4 matrix of an object after loading it into the virtual environment. Can you provide me with an simple exam of how I can achieve that?

mihirradia 11-05-2016 08:20 AM

Hi,
The command that you showed returns the transform of the object in the specified coordinate system.. But, my goal is to find the 4x4 matrix of the object after loading into the virtual environment and print those values. Can you provide me with a simple example of how it can be achieved?

I would be grateful if you could help me out.

Thanks in advance.

Jeff 11-07-2016 03:53 PM

Quote:

But, my goal is to find the 4x4 matrix of the object after loading into the virtual environment and print those values.
I'm not sure how this is different from getting the object's matrix in either the local, parent, or global coordinate system. Can you explain further what data you are looking for?

mihirradia 11-08-2016 09:03 AM

Hi Jeff,
I'm sorry I understood your point now. The command is exactly what I wanted. Could you provide me with an example of how can I obtain the 4x4 matrix using node3d.getmatrix().


All times are GMT -7. The time now is 08:26 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC