• Welcome to World Machine Community. Please login or sign up.
August 22, 2019, 04:09:34 pm


Read the Development Diary for an inside look at World Machine's progress!

Resize 8193er .ter into 8192.png

Started by Onkelpoe, October 21, 2014, 03:24:12 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


October 21, 2014, 03:24:12 am Last Edit: October 21, 2014, 04:01:40 am by Onkelpoe
hi there,

I wonder how to resize a 8193 by 8193.ter file and convert into 8192 bx 8192.png.
Tried "File Input" ("localspace") with plugged "heightmap output" (16-bit.png setting) and set the "World Projection Params" to 8192x8192 resolution...

Is this correct? Will the 8193 just be re-sized or will the additional "+1" border cropped/cut out?

Any clues?!




Yes, this is the correct way to do it. Make sure the "+1" checkbox is unchecked in the project build settings; your heightfield will be resized to 8192.

-- Stephen Schmitt
- Creator of World Machine



October 22, 2014, 03:45:14 am #3 Last Edit: October 22, 2014, 03:53:06 am by Onkelpoe
Hmmm, there seems to be some kind of bug...

When I do like descrived above and export as 16-bit.png, the image is 8129x8192...
when exporting as .ter and importing into another app (L3DT PRO) the size is 8193x8193.

When exporting in localspace = heightfield (.ter, also .png) in other app is just all black (but still around 130MB)
, when not checking "localspace" it´s fine - (except for the size, when saved as .ter)

Any idea where the problem is?



The terragen format is special; at least in the old days, it used to require power-of-two-plus-1 sizing. The terragen exporter internally always pads the output to respect this -- this exporting to TER always produces a +1 size.

The localspace all-black export sounds like a bug; I'll put it in the DB for investigation
-- Stephen Schmitt
- Creator of World Machine


Yeah, found that out, too ;)

All .ter files generated from WM claim to be "+1" in size... If I had known that before.. well could have saved some time...


Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S save/post or ALT+P preview