Author Topic: Height Map Scaling  (Read 1943 times)

0 Members and 1 Guest are viewing this topic.

ozdeadmeat

  • World Machine Veteran
  • ***
  • Posts: 24
    • View Profile
Height Map Scaling
« on: July 27, 2015, 01:10:35 AM »
Hi Everyone,

Just a quick question. I am experiencing some difficulty when using the height maps World Machine produces in other products. I am finding that when I use the height maps in other applications I am getting EPIC jaggy terrains, I was wondering if anyone else had experienced this.

This is currently experienced in L3DT and the Terrain Builder Application toolbox for Arma 3.

Any help is appreciated.

ilbiffi

  • World Machine Guru
  • ****
  • Posts: 66
    • View Profile
Re: Height Map Scaling
« Reply #1 on: July 27, 2015, 01:33:46 AM »
It happened to me also, can't remember the exact format but the solution was to change the bit depth of the output (I think in the end I used png 8 bits per channel).

Tangled-Universe

  • World Machine Guru
  • ****
  • Posts: 66
    • View Profile
Re: Height Map Scaling
« Reply #2 on: July 28, 2015, 10:13:54 AM »
I had it too when using using the output in Terragen.

In my case 8k or 16k terrains can give stepped terrains in Terragen.
It seems that WM is doing some peculiar things with the vertical scaling.
Say you have a WM setup from 0 to 1000 meters in altitude, then it is not necessarily true that black = 0 meters and white is 1000 meters in your image/hf-output.

Remnant

  • Author
  • World Machine Guru
  • *****
  • Posts: 2311
    • View Profile
    • http://www.world-machine.com/
Re: Height Map Scaling
« Reply #3 on: July 28, 2015, 03:06:02 PM »
The elevations you set in the General Setup dialog are where 0 and the maximum heightfield value are mapped to; so if you set 0..2600m in that dialog, black = 0m and white = 2600m.

Certainly make sure you're using a file format that has enough bitdepth to capture your terrain; usually 16bit is more than adequate.

Posting a picture of what you mean might be very helpful in tracking down this issue.
-- Stephen Schmitt
- Creator of World Machine

ozdeadmeat

  • World Machine Veteran
  • ***
  • Posts: 24
    • View Profile
Re: Height Map Scaling
« Reply #4 on: August 07, 2015, 12:39:28 AM »
Hi Remnant, I understand how the general settings options work, I am setting them to -250 for the low point and 1250 for the high point. I guess what I was hoping for is a way to have the output scaled accordingly (i.e. subset of grey scale depending on the information put into the General Setup Dialog) so the output resembles what has been created in World Machine.