Page 1 of 1

Heightmap not loading properly into 4km

Posted: 2020-10-13 00:05
by ismaelassassin
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

Re: Heightmap not loading properly into 4km

Posted: 2020-10-13 13:27
by Outlawz7
Wrong format. Did you edit the heightmap in Photoshop?

Re: Heightmap not loading properly into 4km

Posted: 2020-10-13 17:51
by ismaelassassin
Yeah. i saved it as RAW and choose IBM PC option
https://imgur.com/a/WgEKnLC

Re: Heightmap not loading properly into 4km

Posted: 2020-10-14 12:55
by Outlawz7
And what settings did you use to open it?

Re: Heightmap not loading properly into 4km

Posted: 2020-10-14 13:52
by ismaelassassin
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

Re: Heightmap not loading properly into 4km

Posted: 2020-10-14 13:55
by Outlawz7
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.

Re: Heightmap not loading properly into 4km

Posted: 2020-10-14 14:43
by ismaelassassin
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

Re: Heightmap not loading properly into 4km

Posted: 2020-10-14 14:47
by Outlawz7
When I open I get a prompt on what settings to open with

Image

Re: Heightmap not loading properly into 4km

Posted: 2020-10-14 15:36
by Mineral
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).

Re: Heightmap not loading properly into 4km

Posted: 2020-10-14 15:39
by Outlawz7
No, secondary is 257*257

Re: Heightmap not loading properly into 4km

Posted: 2020-10-14 15:44
by ismaelassassin
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

Re: Heightmap not loading properly into 4km

Posted: 2020-10-14 16:00
by Mineral
inverted heightmap is expected. It is always that way :)
Outlawz7 wrote:No, secondary is 257*257
Oops, correct.

Re: Heightmap not loading properly into 4km

Posted: 2020-10-14 19:57
by Outlawz7
Heightmaps are inverted on the vertical axis.