Higher quality grayscale?

96 views
Skip to first unread message

Mike Norton

unread,
Jan 15, 2017, 11:33:25 PM1/15/17
to worldengine
Hello everyone.

I just spent the day falling in love with the idea of World Engine today. I quickly tired a few seeds and came up with something I wanted to use in unreal. I exported the grayscale height map but when I tried to import it into UE it had terrible spikes and just did not look great. I looked at the produced GS image and noticed it was rather pixelated instead of smooth.

Am I missing a setting or an option to produce a usable height map?

Thanks in advance.

Mike

bret curtis

unread,
Jan 16, 2017, 7:55:09 AM1/16/17
to Mike Norton, worldengine
Hello Mike,

if yo have WE installed with GDAL you can export in other formats and
higher bpp. Greyscale is horrible as most are just 8-bit, but there
exists 16-bit PNG greyscale which might help you. I would recommend
32-bit RAW, but I'm not sure what works best for Unreal. Please
experiment and post your results back to use! :)

Cheers,
Bret
> --
> Visit the homepage of the project at https://github.com/Mindwerks/worldengine
> ---
> You received this message because you are subscribed to the Google Groups "worldengine" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to worldengine...@googlegroups.com.
> To post to this group, send an email to world...@googlegroups.com.
> Visit this group at https://groups.google.com/group/worldengine.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/worldengine/d9033723-a985-4ed7-ad2c-dd9721722de4%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Mike Norton

unread,
Jan 16, 2017, 10:41:01 AM1/16/17
to worldengine
Thanks Bret. I am trying to export out as  different formats but so far am not having any luck.

I have the latest Windows BIN's installed. And even with using the --export-format set to something other than PNG it wants to just output a PNG that windows says is 16 bit but still pixelated.

I have tried using the export option but have been unable to get it to run.

Still trying to get it to work and will report back. . 

Mike Norton

unread,
Jan 16, 2017, 11:16:40 AM1/16/17
to worldengine
Well, it appears the export function is hardcoded to point to an incorrect file location.

E:\worldengine>worldengine.exe export NoobLand4.world --export-format PNG --export-datatype uint16
Worldengine - a world generator (v. 0.19.0)
-----------------------
 name               : NoobLand4
 width              : 505
 height             : 505
 seed               : 6883
 no plates          : 25
 ocean level        : 1.000000
 step               : full
 has biome          : True
 has humidity       : True
 has irrigation     : True
 has permeability   : True
 has watermap       : True
 has precipitations : True
 has temperature    : True
Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "C:\Users\psi29a\Workspace\worldengine\build\worldengine\out00-PYZ.pyz\cli.main", line 600, in main
  File "C:\Users\psi29a\Workspace\worldengine\build\worldengine\out00-PYZ.pyz\worldengine.imex", line 95, in export
AttributeError: 'World' object has no attribute 'elevation'

On Sunday, January 15, 2017 at 8:33:25 PM UTC-8, Mike Norton wrote:
Reply all
Reply to author
Forward
0 new messages