Game Development Community

Procedural terrain

by Mr.Trance · in General Discussion · 05/18/2009 (1:22 am) · 4 replies

Ok, I have one question that is top priority for me.
I need to make a planet and be able to walk in it. And I need to make the mountains and lakes (or in another words terrain heightmap) procedural, so that details appears when I move closer to it, and becomes more "smoother" when I walk out of it.

Also I will tel you a secret - I do not need to walk on the planet, I need to fly above it's landscapes, and fly in space if I want to.

Can torque offer me such possibility?

Thanks!

About the author

Young indie game developer from far far city.


#1
05/18/2009 (2:02 am)
Procedural -- not without a lot of work, in any engine. But Torque's Terrain systems does have continuous LOD, which is practically the same thing for your needs.

Planet(oid) -- This guy did it using Atlas Terrains in TGEa.
#2
05/18/2009 (2:21 am)
And that about generation itself? The idea is to generate the planet "inside the game" or "during gameplay", just by creating a sphere and addint to it a heightmap, that is generated proceduraly.

I suppose I will need to code this functionality myself, right?

Were there any topics in this community that are similar to my question? Searching didn't showed me any results, so I was wondering if you remember some.

Thanks!
#3
05/18/2009 (7:25 am)
@Vad: I would suggest googling for procedural texture generation, and you'll find a huge amount of information and code examples floating on the web that you can adapt to use in a game.
#4
05/18/2009 (11:13 pm)
Thanks true, I just was wondering maybe torque can offer me something already coded into it :)
Like, I believe, terrain in torque is.. flat. So to make it like a planet (curved like a ball) I need to make some cool code manipulations. That is why I wanted to inquire about if torque has a feature to handle that kind of request "in easy way" :)

But thanks anyway, Ted!