I can't import height data.

A forum about everything related to the Cafu World Editor CaWE: mapping, editing, scripting, making GUIs and fonts, using the BSP, PVS and Light compilers.
Post Reply
realgaming135
Posts: 7
Joined: 2013-12-16, 00:35
Location: Denmark

I can't import height data.

Post by realgaming135 » 2014-10-18, 13:43

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:
Without facts, the mystery is just a guessing-game
realgaming135
Posts: 7
Joined: 2013-12-16, 00:35
Location: Denmark

Re: I can't import height data.

Post by realgaming135 » 2014-10-18, 16:17

Never mind.

I did not read through the documentations enough. I found out I had to set it to 1025X1025 pixels. Problem solved.
Without facts, the mystery is just a guessing-game
User avatar
Carsten
Site Admin
Posts: 2160
Joined: 2004-08-19, 13:46
Location: Germany
Contact:

Re: I can't import height data.

Post by Carsten » 2014-10-20, 14:08

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:
Best regards,
Carsten
User avatar
Carsten
Site Admin
Posts: 2160
Joined: 2004-08-19, 13:46
Location: Germany
Contact:

Re: I can't import height data.

Post by Carsten » 2014-11-11, 19:53

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.)
Best regards,
Carsten
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests