WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-18-2008, 06:58 AM
hosier hosier is offline
Member
 
Join Date: Feb 2007
Posts: 31
Lightwave Layers

I'm working with a graphic designer who has created a multi-layered object in Lightwave that we want to use in Vizard. We want to be able to select the individual layers so that we can translate and rotate them.

I'm thinking that he'll have to save each layer as a seperate object and then I'll load them in individually and recreate the composite object.

Does Vizard have a way of loading a composite object and then assigning each part of the object to its own variable (or assigning each part to a common array) so that I'm able to work with the individual parts?

Thanks.
Reply With Quote
  #2  
Old 11-18-2008, 10:53 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You can use the <node>.getChild() command to get a handle to a sub-object by name. As long as the lightwave exporter/loader preserves the object names, this should work.
Reply With Quote
  #3  
Old 11-21-2008, 06:53 AM
hosier hosier is offline
Member
 
Join Date: Feb 2007
Posts: 31
Thanks

Thanks. I'm waiting for the graphics person to get back to me about the list of names for each layer.

In the mean time I did some looking around and saw the function <node3d>.getChildren that generates a list of the next level of children for an object.

There isn't an example given, so I wasn't sure what type of list it returns. Is it an array of nodes, or is it an array of names of the layers?

Aaron
Reply With Quote
  #4  
Old 11-21-2008, 09:10 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You can right-click on the model in the resource list and select Properties. This will display a tree representing the models scene graph and it will contain the names of each node.
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
Lightwave avatar question electric jello Vizard 3 08-29-2006 03:44 PM
using Lightwave objects vorin Vizard 1 01-12-2005 10:15 AM


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


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