Game Development Community

Heightmap based terrain texturing

by Paul Yoskowitz · in Torque 3D Professional · 09/25/2012 (4:00 am) · 3 replies

With people working on dynamic terrains atm, has anyone made a resource on a texturing these according to a heightmap?

ie: sealevel(0) or lower is dirt, 0-10 is sand, over 5000 is snow, etc?

if not, anyone have heads up on where to start looking?

Paul

#1
09/25/2012 (7:23 am)
Adding to Paul's question, what I'm needing right now is an engine change that will add a height based constraint to the Terrain Painter brushes, adding to the slope based constraint we already have. Like Paul said, to avoid painting grass underwater.

There are ways of working around this oversight, with alpha maps and a lot of dancing around, but really this is what I'd consider an absolute basic level of functionality in a "fully featured terrain editor".

I'm guessing it'll be a very minor code change/addition, and a finger pointing to the right files to change would be greatly appreciated.
#2
09/25/2012 (7:42 am)
@Dan
Konrad Kiss made a height/slope based terrain texture resource for T3D some years ago.
#3
09/25/2012 (9:07 am)
@Steve - Thanks mate. Finally found this resource from Konrad. I wouldn't have found it without your name dropping though, so cheers for that.