FxFoliageReplicator
by KungKrille · in Torque Game Engine · 08/14/2008 (3:47 am) · 3 replies
I have trouble with fxFoliageReplicator. It's supposed to generate billboard trees which it does but they are too many. I decreased FoliageCount and indeed there are less trees but instead of spreading out in the placement area the radius shrinks. How can I fix this? My grass replicator doesn't behave like this :/
100 trees:

50 trees

100 trees:

50 trees

#2
I think you misunderstood me. I have no fxGrassReplicator so I use fxFoliageReplicator for the grass too.
08/19/2008 (6:02 am)
Changing the seed doesn't help. I have no minRadius so my current solution is to increase the OuterRadius. It spreads the trees out but the placement ring doesn't match the actual area at all.I think you misunderstood me. I have no fxGrassReplicator so I use fxFoliageReplicator for the grass too.
#3
08/19/2008 (6:28 am)
Try bringing the replicator 1 unit higher than the terrain it's sitting on. I've had some issues when the replicator was underneath the terrain, even by a fraction of a unit.
Torque Owner Stephan - viKKing - Bondier
You may also use the minRadius setting to force your foliage out of the center.
fxGrassReplicator is using a different method to place elements, hence the name and the different code. ;-)