WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-04-2016, 02:43 PM
mihirradia mihirradia is offline
Member
 
Join Date: Jun 2016
Posts: 44
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.
Reply With Quote
  #2  
Old 11-04-2016, 03:54 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,448
Take a look at the node3D.getMatrix() command.
Reply With Quote
  #3  
Old 11-05-2016, 08:17 AM
mihirradia mihirradia is offline
Member
 
Join Date: Jun 2016
Posts: 44
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?
Reply With Quote
  #4  
Old 11-05-2016, 08:20 AM
mihirradia mihirradia is offline
Member
 
Join Date: Jun 2016
Posts: 44
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.
Reply With Quote
  #5  
Old 11-07-2016, 03:53 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,448
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?
Reply With Quote
  #6  
Old 11-08-2016, 09:03 AM
mihirradia mihirradia is offline
Member
 
Join Date: Jun 2016
Posts: 44
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().
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Different projection matrix per viewpoint dcnieho Vizard 6 07-08-2016 05:06 AM
AR Marker Camera Matrix Transform Problem. pwsnow Vizard 11 06-30-2014 04:48 PM
Render Node View Matrix whaleeee Vizard 2 05-06-2013 09:26 AM
Projection Matrix (onto oblique near plane) andrewjworz Vizard 1 07-13-2012 09:10 AM
Matrix Transform and Bumpmap GiudiceLab Vizard 0 11-27-2009 12:42 PM


All times are GMT -7. The time now is 05:49 PM.


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