Maximum size...

Maximum size...

Return to topic list

Tue Oct 21 17:46:04 2014   by   Mark
Hi,

I want to create a very large map. Yet apparently, BMP doesn't like very large maps and ends up corrupted somehow.

We're talking 20k x 20k.

I can output such a map in a matter of minutes and I wanted to use it as a high definition interactive display kind of thing without having to re-render.

Yet I keep coming up against this darned error. I have no experience with either of the other two file types and from what I can tell they wouldn't be suitable anyway.

 
Tue Oct 21 18:04:48 2014   by   Mark
Welp. Figured out why...

http://www.fileformat.info/format/bmp/egff.htm

I was aiming for larger than 32k at the time so I've scaled down a bit.

Would you mind supporting TIFF in your next update?

Thanks!
 
Wed Oct 22 11:20:07 2014   by   Torben
TIFF is a definite possibility for a future version.  It seems simple enough, so I expect I'll look into it over the next month or so.
 
Wed Oct 22 14:47:33 2014   by   Ron Vantreese
Mark, what size of maps do you like to generate? When designing the UI for planet.exe, I had to set a limit. I guessed the limit but can use some suggestions.
 
Sun Oct 26 02:16:57 2014   by   Mark
At the moment I'm generating maps the size of 32,000 x 16,000. Once TIFF gets implemented, that'll be going upwards until I find out whether TIFF limits me or whether my memory runs out first.

I don't use a user interface, I use the command line as it's easier to just copy and paste the map settings I want

A good maximum for the BMP file type is 32,000 x 32,000 any higher and it doesn't work. It also has a limit to the amount of data it can hold as well so in some cases you might not be able to reach 32,000 x 32,000 with bmp.
 
Sun Oct 26 15:29:28 2014   by   Ron Vantreese
Great. I currently changed the limits to 32767. I also set the minimum to 6 (single digit; is that too small?)

Have you tested the limits using the PPM option? I did other testing and didn't get the chance yet to try PPM. It will be interesting to see if the same limits apply.

Also, if you run this on Windows, you need to change the STDOUT to binary mode,otherwise, you will have a high chance of "corruption".
 
Wed Oct 29 15:34:39 2014   by   Ron Vantreese
After researching image types, I have decided to use the -P (PPM) option in running the Mogensen Planet Generator (planet.exe). The PPM specification does not put a limit on width or height; and maximum color value is up to 65535. For practical use, most systems using PPM do have limitations in using width/height values. The limit that I encounter is around 2 billion, which is the maximum value I'll use. I'm extremely INTERESTED in anyone who wants larger than that. :)

Limits on other planet/star/cloud rendering engines are also set. Olsson's limitation is quite small though... as it returns a GIF image, which is limited to a maximum value of 65535.

These changes will be seen in next release of VPPlanetGenerator. The VPPlanetGenerator reads the images produced by rendering images and provides a [Save] button, currently supporting .BMP, .PNG, .GIF, .JPG, .TIFF formats.

 
Wed Oct 29 20:40:28 2014   by   Ron Vantreese
Update on Olsson planet renderer (worldgen.exe)... It appears more limited than I thought. Maximum Height value is now set to 1268, because any larger causes worldgen.exe to crash. :(
 

Return to topic list



New message:
Topic:
Posted by:

Type the values of the dice shown below:

Return to topic list