twSurfaceReference
by Ken Finney · in Torque Game Engine · 12/09/2002 (11:53 am) · 0 replies
I've posted a resource for twSurfaceReference here:
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3615
Instances of this object can be placed anywhere on your terrain in a mission to mark specific 'surface' which are texture alphas for the blend taking place at that location. This is a technique pioneered by James Holmes for his Terrain Path Following code, posted as a resource.
You can then use up to 16 of these references to decide whether to place an object at a location from within the engine. It is integrated with the mission editor.
The resource includes instructions on how to modify fxGrassReplicator to work with twSurfaceReference. The same instructions can be used to modify the fxShapeReplicator, and the fxFoliageReplicator.
Just a matter waiting for the resource to be approved...
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3615
Instances of this object can be placed anywhere on your terrain in a mission to mark specific 'surface' which are texture alphas for the blend taking place at that location. This is a technique pioneered by James Holmes for his Terrain Path Following code, posted as a resource.
You can then use up to 16 of these references to decide whether to place an object at a location from within the engine. It is integrated with the mission editor.
The resource includes instructions on how to modify fxGrassReplicator to work with twSurfaceReference. The same instructions can be used to modify the fxShapeReplicator, and the fxFoliageReplicator.
Just a matter waiting for the resource to be approved...
About the author