Heightmap not loading properly into 4km
-
ismaelassassin
- Chilean Forces 1978 Faction Lead
- Posts: 196
- Joined: 2017-11-20 18:40
Heightmap not loading properly into 4km
Hello
Im trying to work on a map but when i load the RAW file it gives me 6303750 != 2101250 ((1025x1025x4)*1,5) != (1025x1025x2) and the geometry is all a mess.
The photshop file of the heightmap has 1025x1025 size and saved as IBM PC.
the map was created with 1024 size and scale 4.
Please i want to get working on this but i have no idea why its giving me this problem.
https://imgur.com/a/harn8zn
https://imgur.com/a/Hk9umG8
Im trying to work on a map but when i load the RAW file it gives me 6303750 != 2101250 ((1025x1025x4)*1,5) != (1025x1025x2) and the geometry is all a mess.
The photshop file of the heightmap has 1025x1025 size and saved as IBM PC.
the map was created with 1024 size and scale 4.
Please i want to get working on this but i have no idea why its giving me this problem.
https://imgur.com/a/harn8zn
https://imgur.com/a/Hk9umG8
-
Outlawz7
- Retired PR Developer
- Posts: 17261
- Joined: 2007-02-17 14:59
-
ismaelassassin
- Chilean Forces 1978 Faction Lead
- Posts: 196
- Joined: 2017-11-20 18:40
Re: Heightmap not loading properly into 4km
Yeah. i saved it as RAW and choose IBM PC option
https://imgur.com/a/WgEKnLC
https://imgur.com/a/WgEKnLC
-
Outlawz7
- Retired PR Developer
- Posts: 17261
- Joined: 2007-02-17 14:59
-
ismaelassassin
- Chilean Forces 1978 Faction Lead
- Posts: 196
- Joined: 2017-11-20 18:40
Re: Heightmap not loading properly into 4km
i created a new file of 1025 x 1025 and edited it with pics of heightmaps. There was nothing before.
https://imgur.com/a/Yi8XxK9
https://imgur.com/a/Yi8XxK9
-
Outlawz7
- Retired PR Developer
- Posts: 17261
- Joined: 2007-02-17 14:59
Re: Heightmap not loading properly into 4km
You should open an existing heightmap with correct settings, edit it and then save. At least that's the way I know to edit and save heightmaps successfully.

-
ismaelassassin
- Chilean Forces 1978 Faction Lead
- Posts: 196
- Joined: 2017-11-20 18:40
Re: Heightmap not loading properly into 4km
Uhh guess ill try that. Although, i had trouble trying to open heightmaps in photoshop. When i open something like yamalia all i can see is a mess of black and white pixels as if its TV static. Would it still work when i try to modify it and saving it?
https://imgur.com/a/xsUbDJS
https://imgur.com/a/xsUbDJS
-
Outlawz7
- Retired PR Developer
- Posts: 17261
- Joined: 2007-02-17 14:59
Re: Heightmap not loading properly into 4km
When I open I get a prompt on what settings to open with



- Mineral
- Retired PR Developer
- Posts: 8534
- Joined: 2012-01-02 12:37
- Location: Belgium
Re: Heightmap not loading properly into 4km
AFAIK secondary terrain should be 8bit depth and resolution+1 (ex. 257x257 and not 256x256).
For primary it's 16bit IBM PC depth and resolution+1 (ex. 1025x1025 and not 1024x1024).
For primary it's 16bit IBM PC depth and resolution+1 (ex. 1025x1025 and not 1024x1024).
Last edited by Mineral on 2020-10-14 16:02, edited 1 time in total.
-
Outlawz7
- Retired PR Developer
- Posts: 17261
- Joined: 2007-02-17 14:59
-
ismaelassassin
- Chilean Forces 1978 Faction Lead
- Posts: 196
- Joined: 2017-11-20 18:40
Re: Heightmap not loading properly into 4km
Lol. Hey! it worked! something weird happened where the heightmap was inverted. but it worked!
Thanks for the help!
https://imgur.com/a/dFqpKQ8
https://imgur.com/a/xeXB5JD
Thanks for the help!
https://imgur.com/a/dFqpKQ8
https://imgur.com/a/xeXB5JD
- Mineral
- Retired PR Developer
- Posts: 8534
- Joined: 2012-01-02 12:37
- Location: Belgium
Re: Heightmap not loading properly into 4km
inverted heightmap is expected. It is always that way 
Oops, correct.Outlawz7 wrote:No, secondary is 257*257
-
Outlawz7
- Retired PR Developer
- Posts: 17261
- Joined: 2007-02-17 14:59

