WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-05-2012, 07:00 AM
Felix Felix is offline
Member
 
Join Date: Apr 2012
Posts: 8
Accessing Geodes with duplicate Names

Hi,
I have the following problem when loading an .IVE or .OSG file exported from a .3ds file:

Some nodes in the SceneGraph of the OSG file get the same Geode names assigned.

Which looks like this:
Node-1
- Geode-1
Node-2
- Geode-1

Now when using the Vizard API to access such a Geode like mentioned here: http://kb.worldviz.com/articles/1157 I run into trouble.

The documention of <node3d>.getChild states
Quote:
If there are multiple scene graph nodes with the same name, then the first encountered node will be used.

Calling this command multiple times with the same name will return the same node3d object.
I can properly iterate over the names of the child nodes when doing a model.getChild('Node-1').getChildren() or model.getChild('Node-2').getChildren(). Here I can see, that each node in the SceneGraph indeed has it's own Geode but with the same name.

From what I understand, <node3d>.getChildren() won't help either. So how do I access this Geode (Node-2, Geode-1 in the example..), since getChild only returns Node-1, Geode-1?
Reply With Quote
 


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
Multiple Geodes? shivanangel Vizard 2 05-06-2010 07:01 PM


All times are GMT -7. The time now is 05:10 AM.


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