Aces High Bulletin Board
General Forums => Terrain Editor => Topic started by: DOODY on January 03, 2003, 03:41:12 AM
-
does anyone know the file structure for ELV. I want to read it and make a wireframe.
I'm writing an applet called MAP2BMP. I've done a lot of terrain leveling and such on my map, and I want to convert it back to bmp to edit it there a bit more.
-
DOODY
You could always use the Export function.
It will make you a 1024 X 1024 .bmp
It's not 100% perfect, but it's dam good to have, and I'm real glad HiTech has it built into the TE.
The problem, really only occurs with the land masses that are at 0 ft Altitude.
Everything at 0 ft is set Black, and since the water is also at 0 ft, it too, is set as Black.
I think I have just thought about, away around this problem.
Just thought of it while answering this Post.
Going to test it right now!!!
Pokie
-
Its an array of 2 byte shorts with dim 1024 x 1024
-
Holy cow, Pokie... I didn't know that Export feature was there! Thanks!
Makes my job a little easier now :)
-
Originally posted by pokie
DOODY
You could always use the Export function.
Pokie
DOH!!!!!
-
Trying to reinvent the wheel there doody? :)
-
I'm still interested, if only to get some insight on how it all works.
here's what I did ( hope u know BASIC)
dim height(1024,1024)
open to read 1, "myfile.elv"
while file end(1)=0
read byte 1,height(x,y)
x=x+1
if x=1024 then y=y+1
endwhile
shouldnt this build an array of my terrain??
please help