afox
12-18-2003, 12:11 PM
I am really new to mel scripting and just started to learn it, but i guess that should not be too hard.
Ultimately I want to create a forest. My Plan is to make pictures of different trees and use them to texture simple planes.
So the mel script should distribute the planes randomly over an area that i define, for example the ground plane,
i should be able to define a minimum and maximum distance between the trees,
scale them randomly ( again within certain maximum and minimum values)
Because i will use different pictures of different trees the script should also use the planes randomly
(perhaps with a possibility of favouring some trees)
ok thats it for now
I really want to do that, but i simply donīt know where to start, perhaps someone can point me in the right direction, or tell me where to find a script that does something similar so i can learn from it, etc...
Of course if there is a better method of doing a forrest i am also eager to hear it.
thanks in advance
Marc
Ultimately I want to create a forest. My Plan is to make pictures of different trees and use them to texture simple planes.
So the mel script should distribute the planes randomly over an area that i define, for example the ground plane,
i should be able to define a minimum and maximum distance between the trees,
scale them randomly ( again within certain maximum and minimum values)
Because i will use different pictures of different trees the script should also use the planes randomly
(perhaps with a possibility of favouring some trees)
ok thats it for now
I really want to do that, but i simply donīt know where to start, perhaps someone can point me in the right direction, or tell me where to find a script that does something similar so i can learn from it, etc...
Of course if there is a better method of doing a forrest i am also eager to hear it.
thanks in advance
Marc
