Individual trees and wind effector in Torque3D MIT version 2.0 ? ?
by Juggernaut · in Torque 3D Professional · 02/04/2013 (1:15 am) · 2 replies
Hello,
1. How can I have multiple vegetation objects within the world editor ? Trees added in the world editor are
all grouped under one vegetation object - changing material properties of one tree changes all trees. I want to have control over the individual trees added.
2. I can add tree individually without using the vegetation layer and have individual control over them but the wind effector does not animate the leaves and branches of those trees any more! How can I fix this ?
Thanks,
1. How can I have multiple vegetation objects within the world editor ? Trees added in the world editor are
all grouped under one vegetation object - changing material properties of one tree changes all trees. I want to have control over the individual trees added.
2. I can add tree individually without using the vegetation layer and have individual control over them but the wind effector does not animate the leaves and branches of those trees any more! How can I fix this ?
Thanks,
#2
on I go through the official documentation first before asking questions.
Thank you again for all your help.
02/05/2013 (4:56 am)
Thank you Sir for pointing me to the right documentation area and also explaining the concept behind Brush Groups and Brush Elements. I admit I did not go through it on first hand and was a mistake on my part. From now on I go through the official documentation first before asking questions.
Thank you again for all your help.
Associate Ron Kapaun
3tdstudios.com
First I will start with my usual initial question:
Have you read this? docs.garagegames.com/torque-3d/official/index.html?content/documentation/World%2...
If you have, the answer to question one has to do with the forest editor stack. I think the best way would be to consider the two types of brushes you have access too as Brush Groups and Brush elements. In the forest editor, as default you see something called ExampleForestBrush. This is a brush group or "Container". You also have something called defaulttree. This is an element or single tree. If you click on the container (Brush Group) you will get every element within that container painted on your terrain. However, you can click on each individual tree and when you paint, you paint JUST that tree.
When editing the wind properties for individual trees click the Meshes tab in the forest editor tool and edit each element there. You can change each one and not effect the group. Look at the branchAmp, detailAmp, detailFreq, and windscale. Keep these numbers VERY low .01 - .04 usually works. Check the wind painting tutorial for more details on this: docs.garagegames.com/torque-3d/official/content/documentation/Artist%20Guide/Tut....
2. Answer to number 2 = No. you will not be able to add wind effects if you do not use the forest tool. The reason has to do with how the object is referenced within T3D. (static shape v. instance).
Hope this helps explain it a bit better
Ron