Page 1 of 1

I can't import height data.

Posted: 2014-10-18, 13:43
by realgaming135
Hi there :)

I have a problem with the 'Edit Terrain' tool. There is an 'Import' button, and with that you should be able to import heightmaps and apply them to the terrain. Everytime I try to do it this error window pops up (look at the screenshot):
fejl.png
This is the error window
The heightmap is PNG and the size is 1024X1024 pixels. I have tried with smaller images too, but the same happened.

I'm not sure about what to do, and would be thankful for some help :)

Thanks :bash:

Re: I can't import height data.

Posted: 2014-10-18, 16:17
by realgaming135
Never mind.

I did not read through the documentations enough. I found out I had to set it to 1025X1025 pixels. Problem solved.

Re: I can't import height data.

Posted: 2014-10-20, 14:08
by Carsten
Hi realgaming135,

thanks for your report and the update regarding the solution!

I've still filed a ticket for this (#145), because the Map Editor should display a useful error message rather than talk about unhandled exceptions in this case. I'll look into this asap, but if anyone else wants to have a look, I'd happily apply any patches or pull requests.
:up:

Re: I can't import height data.

Posted: 2014-11-11, 19:53
by Carsten
Just a quick note: I fixed the related ticket #145 earlier today. (At this time, you would however have to compile yourself from the latest commit in the master branch in order to get it.)