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.
-
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 (220.68KiB)Viewed 14983 times fejl.png](./download/file.php?id=244&t=1&sid=e578ea9ca704d4a171ab7f03e5087367)
- 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
![Jump :bash:](./images/smilies/bash.gif)
Without facts, the mystery is just a guessing-game
-
realgaming135 - Posts:7
- Joined:2013-12-16, 00:35
- Location:Denmark
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
-
Carsten
- Site Admin
- Posts:2170
- Joined:2004-08-19, 13:46
- Location:Germany
-
Contact:
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.
![Thumb Up :up:](./images/smilies/thumbup.gif)
Best regards,
Carsten
-
Carsten
- Site Admin
- Posts:2170
- Joined:2004-08-19, 13:46
- Location:Germany
-
Contact:
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
Users browsing this forum: No registered users and 103 guests