*** hl2hm *** Terrainbuilder new: GUI


(VandalL) #21

@fiesling

about orthophotos:
it’s not that easy to find orthographic images in decent resolution.
my aproach is to search on the webpages of the desired village or country, as they often have a aerial pictures hidden behind the terms LIS or GIS(Geographical Information System):

Example:
www.obwalden.ch is the offical website of the Kanton Obwalden in Switzerland. They have a very good LIS/GIS. Download the Autodesk-Plugin. Choose MapGuide, choose the location, layers, scale (there is a rightclick-menu) and take a screenshot. I used the Gemeinde Engelberg for my tutorial.
(if you need a mapscan of that area, drop me a line)

www.nasa.gov has recently released old spy photos. They are mainly B/W, but good for structure.

In Switzerland there is another source of images, the TWIX ROUTE, a map programm with a lot of orthographic images of the area.

Paraglider Pages are another source of images. But most of the time you need to de-distort the pics.

try to use Synonyms for Orthophoto in google Image search:
photoplan, orthophotoplan… (and all these with f instead of ph)

If you have a specific place in mind, maybe I know a source.

about ase:
hl2hm will drop a .map file. You have to transform it manually acording to the tutorial found on this forum.

Greets

V


(Slaughter) #22

By the way Vandall, I’ve tried your hl2hm 0.95 just to generate a heightmap from a heightlinemap but it keeps crashing on me all the time. Then I downgraded to version 0.93 and everything worked fine. Is it a bug or the command line syntax changed from 0.93 0.95?


(VandalL) #23

@Slaughter

it’s very likely. Please drop a line with the parameters you used, so i can track the bug.

Thanks

Other Bug:

  • lightmap code might not be correct if you use a horizontal Angle between 0-180.

0.96 is close, with a lot of enhencements …wysiwyg :slight_smile:

Greets
V


(VandalL) #24

Version 0.96 pre1 is up for testing. This is only to test the new GUI. And Yes, you will still be able to use the commandline :slight_smile: .

gn8

V


(Slaughter) #25

Hi Vandall,
I tried the following command line:

java -jar hl2hm.jar myfile.png -heightmap

It works in version 0.93, but 0.95 crashes with the following error:

[b]generating pixelmaps: Exception in thread “main” java.lang.NullPointerException

    at hl2hm.shadowcast(hl2hm.java:439)
    at hl2hm.main(hl2hm.java:298)[/b]

Cheers


(denizsi) #26

forive my noobness but can anyone help me out with hl2hm?
the problem is… I’m not sure where to write those command lines.
I loaded a bmp and hl2hm made the interpolation, so what now? I tried to run the lines on command prompt, and a window just flashed in a second but there wasn’t any file anywhere or anything new on the program itself.


(VandalL) #27

hl2hm is not dead :wink:

new Build with improved gui and functionality
hl2hm_096_pre8.zip

@Slaughter
hope I fixed the Bug, txs for reporting

@denizsi
Ok just try the new Build. Doubleclick hl2hm_gui.bat and you get a new Workspace after a few seconds time.

Click on the “new Project from image…” Icon. Select a PNG-Image (not a BMP-Image. You may have to convert it in Paintshop or Photoshop).

Now you can change the settings. To aply the new settings press Update. Then save the image or the generated Mapfile with the corresponding Icons.

I will write a new Tutorial later… :slight_smile:
feel free to ask any question.

Greets
V


(VandalL) #28

This should become a stable Build. Please report Bugs :slight_smile:

hl2hm_096.zip

Have a lot of fun
V


(Shai) #29

Too bad i’m not intelligent enough to use this thing…cuz it looks really good.


(VandalL) #30

hey now, where is the problem?

if you have installed Java 1.4 jre it’s just a Double Click away… :slight_smile:

no, let me really help You…

what error message do You get?

V


(michi.be) #31

:bump:
What about the program? Does someone know when the new verion will arrive?
0.97 is supposed to have radiant export.