Hi all!
Is there a way to either:
1. Export heightmaps in bmp format, or another image format when running batches
2. Convert hfz to bmp format, or another image format programatically
Thanks in advance!
Batch Exporting HeightMaps
2 posts
• Page 1 of 1
Batch Exporting HeightMapsHi all!
Is there a way to either: 1. Export heightmaps in bmp format, or another image format when running batches 2. Convert hfz to bmp format, or another image format programatically Thanks in advance!
Re: Batch Exporting HeightMapsHi cmder,
I'm sorry for the delay. Yes, you can export heightmaps as BMP (or any other supported format) when running batches. For this you need to use a '.run' batch definition file, which should look something like this:
In the above example, there are two batches to be generated, the first being two copies using the settings from the 'perlin_1025x512.def.xml' map definition file, and one copy of 'di64_1024x1536.def.xml'. In both batches, the 'ExportBMP.zs' script file is called after each map is generated to export the heightmap as a bitmap. The contents of the 'ExportBMP.zs' script file will look like:
The files required to run this batch (the '.run', the '.def.xml', and the '.zs' files) should all be in the same directory. Please let me know if you find any problem with this. Best regards, Aaron.
2 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 33 guests |