smcameron / gaseous-giganticus

This program procedurally generates gas giant cubemap textures for the game Space Nerds In Space. https://www.patreon.com/smcameron
https://smcameron.github.io/space-nerds-in-space/gaseous-giganticus-slides/slideshow.html#1
GNU General Public License v2.0
111 stars 7 forks source link

Possible to export images in spherical format #8

Closed Coppershorre closed 2 years ago

Coppershorre commented 2 years ago

Is it possible for the program to export in a spherical format rather than a cube map format?

smcameron commented 2 years ago

Not sure what you mean by "spherical" format, perhaps you mean an equirectangular projection. Currently it only exports cube map images. Some people use Hugin ( http://hugin.sourceforge.net/ ) to transform the cubemap images to equirectangular.

smcameron commented 2 years ago

It occurs to me that by "spherical format", perhaps you meant an image like this:

p

If that's what you meant, then I am afraid that is not in the cards, because that means adding a 3D renderer, and gaseous-giganticus is just meant to generate textures, not display them.

If that's not what you meant, and you really meant an equirectangular projection, that would be a reasonable feature to add.

smcameron commented 2 years ago

Now gaseous-giganticus can export equirectangular images if the '-E' option is specified. You must specify the height of the image (e.g., -E 1024). The width will be twice the height.

If you meant something else by "spherical format", feel free to re-open this issue.