Game Development Community

Terrain LOD

by Sylvain Boivin · in Torque Game Engine · 03/19/2005 (11:40 am) · 4 replies

Greetings,

we're just starting a new project on terrain LOD and we're currently considering two options : integrate our terrain LOD code into our main game project (Torque-based) or quickly hack a toy engine in order to test our algorithms. So, we'd like to know : does the current TGE code already has support for some kind of terrain LOD? And if so, what algorithms does it uses and would it be easily modifiable in order to implement a radically new technique? I must say that the terrain code has been a part of TGE that we have been ignoring until now.

The reason I'm asking this is the reason why we considered the two options we're currently considering. If the current TGE base does not have any LOD support (or if it isn't flexible enough), we'll be going the "build our own engine" way. Otherwise, we'll be going the Torque-way.

Thanks in advance

#1
03/19/2005 (12:04 pm)
Sylvain, my suggestion is to not replace the terrain engine if you are thinking it is going to take little work... Torque uses QuadTree for the LOD.

I think it would be easier if you explain what you are trying to accomplish instead.
#2
03/19/2005 (5:44 pm)
The simplest thing here is to just... you know... create a new scene object. Modifying the existing terrain TGE code for almost any purpose is a red herring - it's very good at what it does, NOT at being changed.

Melv May has an excellent fxRenderObject tutorial which shows you how to create an object which can render itself in Torque. There's no requirement to retrofit things into the existing terrain engine, and I suggest avoiding it if at all possible.

What LOD technique are you going to explore? I did a fair amount of research before implementing the TSE terrain, and would be curious to hear what you're working on. (If you don't want to discuss it pubicly, feel free to e-mail me.)
#3
04/19/2005 (7:49 am)
If testing our terrain algorithms in TGE is a red herring, what about testing them in TSE?
#4
04/20/2005 (12:54 am)
You misunderstand:

You can easily test ANY terrain LOD sytem in Torque without EVER touching the EXISTING terrain code. Doing so is about the same amount of work in TSE, TGE, or even in a stand alone test app!