Game Development Community

32 bit floating point hightmaps

by Hunden · in Torque Game Engine · 11/18/2006 (11:12 am) · 1 replies

Hi fellows,

i try to get the Tribes 1 Terrains realized as poly models but i cannot succeed.

I also got nice 32 bit floating point raw files which i cannot convert to any terrain properly. I guess i tried every well know terrain creator so far. I've no idea how to achief my goal.

Does anyone remember what technologie was behing that terrain and how it can be converted to well know poly model formats or at least be opened so they'll lock as they should?

Greetings

GreyHound

#1
01/09/2007 (3:08 pm)
It's a weird version of a raw32 heightmap, but when read binary it turns out to be very simple. No idea why no map converter could understand it. The grid goes like

for(x=0; x<257;x++)
for(y=0;y<257;y++)
height = binaryvalue(x,y);

the height values are just chained so it workes with fixed x and y coordinates which is probably not anything that's still used today, i guess that's why i ran into problems.


webuser.hs-furtwangen.de/~bindig/Tribes/32f__stonehenge.jpgwebuser.hs-furtwangen.de/~bindig/Tribes/SH_32b_f_hm.jpgwebuser.hs-furtwangen.de/~bindig/Tribes/hi.jpg