Author Topic: Terragen and Tile Setter  (Read 2974 times)

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10888
Terragen and Tile Setter
« Reply #30 on: July 11, 2007, 04:49:27 PM »
Quote
Originally posted by OOZ662
Ah, I think I've figured it out.

MachNix (or anyone who knows), how large should the "square" in the center of the image be for Tile Setter? I took the color map outputted by Tile Setter and measured that the terrain seemed to be 550 pixels squared, so I adjusted the greyscale to that and got a decent result. Is there a set size that square should be on the 1024x1024 image?
The bitmap needs to be 1024 x 1024, 256 levels of grayscale.
At 1024x1024 pixels (all AH terrains are) you get a 512x512 'map'.
Areas 'outside the map' should be pure black.
If you want a 256x256 'map', you need a good grayscale image in the middle that's 512x512 (256 x 2 = 512) leaving a pure black boarder around that which will turn into water and not eat up frame rates.
Easy in-game again.
Since Tour 19 - 2001

Offline OOZ662

  • Platinum Member
  • ******
  • Posts: 7019
Terragen and Tile Setter
« Reply #31 on: July 11, 2007, 04:53:07 PM »
Quote
Originally posted by Easyscor
If you want a 256x256 'map', you need a good grayscale image in the middle that's 512x512 leaving a pure black boarder around that which will turn into water and not eat up frame rates.


Ah, that makes sense since all maps are actually 512x512. So you'd use the "Make Map" feature and crop off all the extra water on the edges before "Building" the terrain in this case, right?
A Rook who first flew 09/26/03 at the age of 13, has been a GL in 10+ Scenarios, and was two-time Points and First Annual 68KO Cup winner of the AH Extreme Air Racing League.

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10888
Terragen and Tile Setter
« Reply #32 on: July 11, 2007, 05:52:19 PM »
Regardless of your 'map' size, all terrains have 1024x1024 vertice.
On your bitmap, each vertice must be represented by a pixel.
If you 'crop' the bitmap, you'll loose the necessary pixels, I'm saying to turn them pure black instead, it's still 1024x1024.
Easy in-game again.
Since Tour 19 - 2001

Offline Avaro

  • Nickel Member
  • ***
  • Posts: 429
Terragen and Tile Setter
« Reply #33 on: July 11, 2007, 06:12:11 PM »
I can make a realistic terrain in about 2 minuets. What i do is export terragen .raw files open in photoshop. After that it'll ask the size you want to open it as go with what it pops up with. What is should say is 257x257. This part depends on the size of your map.. It's been so long since i've played with te but i think it goes like this. If your making a 256x256 map make the .raw file 512x512. Now you'll need to open a new file (1024x1024) with a black background. Copy all of this raw file paste in center of new 1024x1024 file. Now set as greyscale save as bmp 8 bit then open TE and import say 12000 feet. Tada your terrain now has mountains! Save and close TE open Tilesetter find the correct .elv and .typ files and set tiles and (optional) subtiles. Now your done with tiles and your realistic mountians! If you want to make your map a little more realistic open up your 1024x1024 file agian (psd) and get a brush and black out the edges. Now you wont see a half mile wall around your terrain. It will now slowly smooth out to sea level.

Sorry about my grammer.. English was not my best subject!:D

An ex:

I can doctor it a little to make it a little more realistic but this was fast example.
« Last Edit: July 11, 2007, 06:17:26 PM by Avaro »
Das Muppets