http://forum.celestialmatters.org/

gaseous-giganticus.c
http://forum.celestialmatters.org/viewtopic.php?f=2&t=732
Page 1 of 1

Author:  John Van Vliet [ Wed, 04-02-15, 0:26 GMT ]
Post subject:  gaseous-giganticus.c

google the name of the c code and you will hit the git page
Space-Nerds in Space ( i almost want Kermit saying "pigs in S P A C E ...." )
https://github.com/smcameron/space-nerd ... ganticus.c
( use google for ALL the videos and slide shows and the few site postings )

it outputs faces of a cube map
and there are some minor bugs - still in development

an assembled CUBE map and 4 reprojected variations ( 6 face cube images ) and joined
Image Image Image Image Image


the 6 images were remapped and tiled using "Hugin" and the perl "Panotools-Script-0.28"
on OpenSUSE the easiest way to install is use "cpan"

Code:
su -
zypper in hugin
---- then the perl code ---
cpan Image::Size
cpan Image::ExifTool
cpan Test::More
--- then the scripts
cpan Panotools::Script

then run the terminal tool
Code:
--help
  /usr/bin/cubic2erect front.tif right.tif back.tif left.tif up.tif down.tif equirectangular.tif

cubic2erect  gasgiant-0.png gasgiant-1.png gasgiant-2.png gasgiant-3.png gasgiant-4.png gasgiant-5.png OutputImage( tif is DEFAULT)

Author:  John Van Vliet [ Wed, 04-02-15, 8:10 GMT ]
Post subject:  Re: gaseous-giganticus.c

you can also run a image through the program

my old "Gliese 581 - F" and it ran through gaseous-giganticus
Image Image

Author:  CM1215 [ Fri, 22-07-16, 20:26 GMT ]
Post subject:  Re: gaseous-giganticus.c

How do you compile and run this program on Windows?

Author:  John Van Vliet [ Fri, 22-07-16, 20:36 GMT ]
Post subject:  Re: gaseous-giganticus.c

if you are NOT a EXPERT in using Microsoft VisualStudio
-- and i do mean EXPERT

the best option on windows is to use MinGW and gcc

set up MinGW / MSys
make sure a few "hello world " c and c++ programs build

then build using the makefile

use git and pull a copy or use the download a zip
https://github.com/smcameron/space-nerds-in-space

read the README !!!!!! and the Makefile

it has options
Code:
make gaseous-giganticus
---- and this -----
make earthlike


PS.
I no longer own a copy of any Microsoft Windows Operating system and do not own any version of Visual studio any more .

Author:  CM1215 [ Fri, 22-07-16, 20:42 GMT ]
Post subject:  Re: gaseous-giganticus.c

Can you provide step-by-step instructions on how to do that?

Author:  John Van Vliet [ Fri, 22-07-16, 20:57 GMT ]
Post subject:  Re: gaseous-giganticus.c

seeing as i do not have a windows os

read the Mingw site for the instructions
http://www.mingw.org/
- Getting_Started
http://www.mingw.org/wiki/Getting_Started

FAQ
http://www.mingw.org/wiki/FAQ


and on win 10
do not install to "Program files "

the blank space in the name is a PROBLEM

most things will build , but you might have to hack some code



be aware this is a TERMINAL program
there is NO "point and click " NO GUI

typing only
Code:
./gaseous-giganticus -P -V -B 1.1 -c 100 --noise-scale 2.7 --velocity-factor 1200  -i ./g_Gliese581CloudCUBE.png  --bands 3

then to remap the cube maps

cubic2erect  gasgiant-0.png gasgiant-1.png gasgiant-2.png gasgiant-3.png gasgiant-4.png gasgiant-5.png g_Gliese581Cloud1


Author:  Selden [ Sat, 23-07-16, 12:40 GMT ]
Post subject:  Re: gaseous-giganticus.c

Unfortunately, the Makefile that they provide makes use of many dependencies, many of which "obviously" are irrelevant for building just gaseous-giganticus. It looks like it'd be a major undertaking to build all of those prerequisites in order to be able to use their Makefile under Windows. :(

make gaseous-giganticus

under Cygwin generated *many* error messages about missing packages, most of which seem to be unavailable as part of the Cygwin distribution, so they'd have to be built from source. It looks like it might be easier to create a new Makefile for building just gaseous-giganticus on its own.

*sigh*

Author:  CM1215 [ Sat, 23-07-16, 12:55 GMT ]
Post subject:  Re: gaseous-giganticus.c

How about this:

I can send you a texture, and you can run it through gaseous-giganticus.c, and then post the result.

Here is a texture that I need to look more like clouds; a bit swirly and a few slightly transparent spots around the map, similar to the cloud map that you made for your "Blue Mars." That topic is here: http://forum.celestialmatters.org/viewtopic.php?f=4&t=738

Here is the mystery texture:
Attachment:
File comment: It's a mystery.
mystery.png
mystery.png [ 7.54 MiB | Viewed 9200 times ]


If you could run that through gaseous-giganticus.c, and then post the result, that would be greatly appreciated.

Thanks.

Author:  John Van Vliet [ Sat, 23-07-16, 18:28 GMT ]
Post subject:  Re: gaseous-giganticus.c

i will need to bump up the contrast a bit

and with a ton of options ranging from just a few swirls to a jupiter like image

i will post back later

Author:  John Van Vliet [ Sat, 23-07-16, 20:38 GMT ]
Post subject:  Re: gaseous-giganticus.c

two versions
Image Image

what one do you like best

there are a ton of options

Author:  CM1215 [ Sat, 23-07-16, 21:15 GMT ]
Post subject:  Re: gaseous-giganticus.c

Tell me, which looks better to you?

This one?
Attachment:
Titanclouds1.jpg
Titanclouds1.jpg [ 46.28 KiB | Viewed 9182 times ]


Or this one?
Attachment:
Titanclouds2.jpg
Titanclouds2.jpg [ 46.51 KiB | Viewed 9182 times ]


I honestly prefer the first one.

Author:  John Van Vliet [ Sun, 24-07-16, 5:41 GMT ]
Post subject:  Re: gaseous-giganticus.c

a variation on the first
Image

Author:  CM1215 [ Mon, 25-07-16, 11:51 GMT ]
Post subject:  Re: gaseous-giganticus.c

It actually doesn't look that bad.

What do you think?
Attachment:
Titanclouds3.jpg
Titanclouds3.jpg [ 49.12 KiB | Viewed 9145 times ]

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/