Itoo Software Forum
Forest Pack => Forest Pro (*) => Topic started by: roysgi10 on May 04, 2012, 05:59:01 PM
-
Hi.
is it possible to make one forest that each plan represent different character (see attachement?) if yes- how?
Thanks.
Roy
-
Yes, using Custom Edit mode and Maxscript:
1) Switch to Custom Edit mode in "Tree Editor".
2) Run the following script:
for i = 0 to $.trees.count() do
(
$.trees.setGeomID i i
)
$.update()
3) Select all items and click Tree Editor->Reset Size.
-
thanks for the quick reply.
try your sugestion and this is what i get ( see attachement).
when i close this window all the proprtion of the plane( people) change.
Thanks.
roy
-
Please, use this script:
n = 1
for i = 0 to $.trees.count()-1 do
(
$.trees.setGeomID i n;
n = n+1;
if(n > $.geomlist.count) then
n = 1;
)
$.update()
I tested the previous script with our internal Forest version, which is slightly different.
-
hi.
sorry but the second script doesnt work too.
attached file.
THANKS.
Roy
-
It works fine here. What is the problem exactly ?
Remember that you have to set the Custom Edit first.
-
Hi.
The second script does not change anything except a small change in proportion of the item. The first script you sent seems to work better but I have to click on the continu several times (see picture attached) as the number
The itemes, till I get out of this dialog box and then it deleted the multipile itemes ( in the tree editor the tree number stay the same as befor but i dont see them).
Thanks.
Roy
-
The assertion error with the first script is normal, because it assigns an ID greater than the number of elements of the Geometry List. This bug is fixed in the second script.
I have not idea why the second script doesn't work for you ... are you using Forest 3.8.1 ?
-
hi.
yes i am using the last forest 3.8.1 and it does not work.
Thanks
-
I have recorded a video using the second script. Please, tell me what changes in your case: http://youtu.be/4fzGhssu_O0 (http://youtu.be/4fzGhssu_O0)
-
Thanks for the video. but this is not what i mean.
i want that it will not show duplicated people. for example if i have 4 peole ( in the geometry list) i want forest to creat just 4 itemes that each item is different.
is it possible?
Thanks again.
Roy
-
Yes, that is what script does, but obviously you can't have more items that entries in the Geometry List.
So in the sample scene, try creating a Forest with exactly 4 items and then run the script.
-
o.k
This great progress in my understanding.
Is there a possibility that FP
Producing exactly the number of itemes as
Number of objects that in geometry list?
Or should I delete the extra itemes manually one by one?
Thank you.
Roy
-
It is better to remove the extra items manually. A script to generate the exact number of items would be significativally more complex.