Hi eugcc,
What you did should work, except for the getchild part. You can't add an integer to a string. You need to convert the integer to a string then add it to the other string. Example:
Code:
for i in range(20):
tree = land.getchild("tree" + str(i))
tree.billboard(2)
Our vrml loader should support billboarding. Would you mind posting the model or sending it directly to me at
lashkari@worldviz.com
We are always looking to improve our vrml loader. Thanks!