Game Development Community

Shape Replicator - Foliage Replicator

by Gary Roberson · in Torque Game Engine · 01/05/2012 (3:53 pm) · 1 replies

I created a tree to place into my game the other day as a .dts object.
It worked fine under the Shape replicator.
But when I used the the same object under the Foliage replicator, the engine crashed.

So what are the diffences between the two replicators.
What are the benefits of using one system over the other.

And when you answer, do not be so intuitive as to say that the foliage replicator is used for grass, trees, and plants, etc. while the shape replicator is used for objects such as rocks, lamps, etc.

#1
01/06/2012 (2:01 am)
The Shape replicator is used for replicating large numbers of static shapes like trees or rocks or buildings or anything with multiple polygons (3D replicator).

The Foliage replicator is used to place 2d images (usually .png with transparency) on a single polygon "plane" across a large area. This is typically used to replicate grass or weeds.

The two combined work to create an overall random feel to a scene. The two replicators were designed for two different purposes, so there really is no way to compare the 'benefits". Hope that helps.