L3DT users' community
Large 3D terrain generator

Scale and other information needed when outputing

Got a problem or need advice?

Scale and other information needed when outputing

Postby Madcowthomas » Sun Apr 15, 2007 5:26 pm

Hello,

Looking for the information on the scale on my map that just created.

Importing this into TGEA realized that don't know where to look for this information.
atlasOldGenerateChunkFileFromRaw16("game/data/terrains/terrain/heightmap16bit.raw", 2048, 5.0, 0.0158, "game/data/terrains/geometry.chu", 1.5, 3);

Thanks for any help in advanced.
From the mad cows desk to yours,
Peace
Madcowthomas

Yo...Reggie vacation mom!

"Without imagination we would cease to exist"
William Thomas
(1970-)
Warning!
Burping Babies are the Cause of Global Warming!
User avatar
Madcowthomas
Doyen
 
Posts: 159
Joined: Mon Feb 19, 2007 3:40 am
Location: Seattle Washington - Salmon Fishing

Postby Aaron » Sun Apr 15, 2007 9:06 pm

Hi Madcowthomas,

To get this value, go to 'Operations->Heightfield->Change vert. scale', and note down the number in the 'altitude range (m)' field. The scale value may then be calculated by the following formula:

Code: Select all
scale = 65536 / AltRange


Best regards,
Aaron.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Postby Madcowthomas » Mon Apr 16, 2007 9:25 pm

Thanks Arron for the help on that.
From the mad cows desk to yours,
Peace
Madcowthomas

Yo...Reggie vacation mom!

"Without imagination we would cease to exist"
William Thomas
(1970-)
Warning!
Burping Babies are the Cause of Global Warming!
User avatar
Madcowthomas
Doyen
 
Posts: 159
Joined: Mon Feb 19, 2007 3:40 am
Location: Seattle Washington - Salmon Fishing


Return to Help and support

Who is online

Users browsing this forum: No registered users and 96 guests

cron