WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 04-20-2004, 06:54 AM
eugcc eugcc is offline
Join Date: Apr 2004
Location: United Kingdom
Posts: 9
for loop concatenation for 300 billboarding trees

Hi there,

I'm trying to run through a loop to billboard many trees in a landscape, instead of doing:

land = viz.add('landscape.WRL')

tree1 = land.getchild('tree1')

tree2 = land.getchild('tree2')


tree300 = land.getchild('tree300')

Can I do a loop with something like this that will allow all the trees to be billboarded? But it wouldn't work:

for i in range(20):
tree = land.getchild("tree" + i)

I'm doing this because the billboarded trees in 3dsmax exported to vrml and into vizard wouldn't work.

Thanks in advance
United Kingdom
Reply With Quote

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

All times are GMT -7. The time now is 09:15 AM.

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