World Machine Community

News and Development => Feature Requests => Topic started by: castor on February 12, 2019, 08:54:48 pm

Title: Ability to save 8bit PNG height map
Post by: castor on February 12, 2019, 08:54:48 pm
We need ability to export 8bit PNG height map. Unreal editor doesn't work well with raw files for determining the size of the texture.
We can ofcourse, use photoshop to convert it, but it would be super nice to be able to export heightfield as 8bit png file.
Title: Re: Ability to save 8bit PNG height map
Post by: Stephen on February 13, 2019, 12:41:00 am
Hi castor,

Agreed - raw files are usually good only as a last resort. However, usually 8 bit height maps are insufficient vertical precision and thus not very satisfactory. Are you sure you want to use these over 16bit PNGs? Regardless of its suitability for terrain, I agree, at a minimum it would be useful for masks and such. Will put it on the feature request list!

Title: Re: Ability to save 8bit PNG height map
Post by: castor on February 13, 2019, 11:34:38 pm
Exactly what you described. I wanted to use it for the mask in Unreal for the layers. When I tried to update it using raw files UE4 doesn't seem to recognize their sizes and fails. Which is really strange, because can "sometimes" use the raw file to create landscape for the very first new landscape, but trying to update the layer using exact the same map fails for some reason. When I convert the raw file into png 8bit , it worked.

Also for height map png 8bit, it should be gray scale png. A normal color png works for UE4 but shows annoying warning message every time I try and import it for the layer mask.

For height, I also use 16bit png.
Title: Re: Ability to save 8bit PNG height map
Post by: Stephen on February 16, 2019, 01:07:08 am
Makes sense. This is a small but useful improvement that should be a pretty quick add -- will see what i can do!
Title: Re: Ability to save 8bit PNG height map
Post by: Stephen on March 19, 2019, 01:59:03 pm
Just wanted to mention that this made it into Build 3025!