Game Development Community

Level of detail support

by Justin Woods (ESAL) · in RTS Starter Kit · 05/15/2006 (2:12 am) · 1 replies

I'm working on a project that could potentially have a lot of units on the field at once, and quite a few in the same screen at a time.

Is there a way I can have multiple levels of detail to call upon? I want to be able to zoom right in on a unit and have it look very good, but from a distance I want to save memory.

#1
05/15/2006 (4:17 am)
Well, Torque already supports LOD, so if your models (the units) have different LODs defined in the .dts, then the engine will automatically choose beetween them. You don't have to code or script anything.

Edit:
This way you will not save memory, but you will draw less polygons on the screen so the rendering will be faster and more efficient.

Bye,
Jacopo