WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-08-2013, 08:25 AM
fabioped fabioped is offline
Member
 
Join Date: Feb 2013
Posts: 21
Question Child node coordinates

I have this sample 3ds file with 4 objects:
https://dl.dropboxusercontent.com/u/178438/teste.3ds

How can I see the relative coordinates of these objects?

From this:

def update(a):
p = viz.pick(info=True)
print p.object.getPosition(viz.ABS_GLOBAL)

viz.callback(viz.UPDATE_EVENT, update)

I always see [0,0,0]

using viz.REL_GLOBAL I see the same.
Reply With Quote
  #2  
Old 10-09-2013, 02:40 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
If you open up that model in Inspector and click on each of the sub-parts you'll see that the selection origin does not change. Each sub-part must have it's own transform to return a different position. Take a look at the video tutorial in the Hierarchical Models article. That shows an example of setting up the hierarchy in Max and getting the absolute positions of sub-parts in Vizard.
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
Texture Coordinates in a Cube Map mshukun Vizard 2 05-10-2013 12:31 PM
Setting up render node for shadowing whaleeee Vizard 2 05-06-2013 10:20 AM
How do coordinates in IS900 thransform into coordinates in vizard's world jacky Vizard 1 08-11-2011 10:44 AM
trouble changing subnode (child node) color, alpha, etc. michaelrepucci Vizard 7 01-14-2009 08:38 PM
Pivot points for child objects in Vizard with 3ds Max Gladsomebeast Vizard 0 09-19-2006 11:21 AM


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


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