It is currently Thu, 22-06-17, 22:16 GMT

All times are UTC




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: gaseous-giganticus.c
PostPosted: Wed, 04-02-15, 0:26 GMT 
Offline
User avatar

Joined: Tue, 04-09-07, 21:55 GMT
Posts: 749
Location: N 42.38846 W 83.45456
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)

_________________
"I don't pitch Linux to my friends, I let Microsoft do that for me."
Using OpenSUSE 42.1 & Scientific Linux 6.7


Last edited by John Van Vliet on Wed, 04-02-15, 21:09 GMT, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: gaseous-giganticus.c
PostPosted: Wed, 04-02-15, 8:10 GMT 
Offline
User avatar

Joined: Tue, 04-09-07, 21:55 GMT
Posts: 749
Location: N 42.38846 W 83.45456
you can also run a image through the program

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

_________________
"I don't pitch Linux to my friends, I let Microsoft do that for me."
Using OpenSUSE 42.1 & Scientific Linux 6.7


Top
 Profile  
 
 Post subject: Re: gaseous-giganticus.c
PostPosted: Fri, 22-07-16, 20:26 GMT 
Offline
User avatar

Joined: Mon, 04-07-16, 21:18 GMT
Posts: 15
Location: Ohio, U. S. A.
How do you compile and run this program on Windows?

_________________
CM1215: Celestial Master in learning.


Top
 Profile  
 
 Post subject: Re: gaseous-giganticus.c
PostPosted: Fri, 22-07-16, 20:36 GMT 
Offline
User avatar

Joined: Tue, 04-09-07, 21:55 GMT
Posts: 749
Location: N 42.38846 W 83.45456
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 .

_________________
"I don't pitch Linux to my friends, I let Microsoft do that for me."
Using OpenSUSE 42.1 & Scientific Linux 6.7


Last edited by John Van Vliet on Fri, 22-07-16, 20:44 GMT, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: gaseous-giganticus.c
PostPosted: Fri, 22-07-16, 20:42 GMT 
Offline
User avatar

Joined: Mon, 04-07-16, 21:18 GMT
Posts: 15
Location: Ohio, U. S. A.
Can you provide step-by-step instructions on how to do that?

_________________
CM1215: Celestial Master in learning.


Top
 Profile  
 
 Post subject: Re: gaseous-giganticus.c
PostPosted: Fri, 22-07-16, 20:57 GMT 
Offline
User avatar

Joined: Tue, 04-09-07, 21:55 GMT
Posts: 749
Location: N 42.38846 W 83.45456
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


_________________
"I don't pitch Linux to my friends, I let Microsoft do that for me."
Using OpenSUSE 42.1 & Scientific Linux 6.7


Top
 Profile  
 
 Post subject: Re: gaseous-giganticus.c
PostPosted: Sat, 23-07-16, 12:40 GMT 
Offline
User avatar

Joined: Sun, 02-09-07, 23:16 GMT
Posts: 115
Location: Upstate NY, USA
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*

_________________
Selden


Top
 Profile  
 
 Post subject: Re: gaseous-giganticus.c
PostPosted: Sat, 23-07-16, 12:55 GMT 
Offline
User avatar

Joined: Mon, 04-07-16, 21:18 GMT
Posts: 15
Location: Ohio, U. S. A.
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 1677 times ]


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

Thanks.

_________________
CM1215: Celestial Master in learning.


Top
 Profile  
 
 Post subject: Re: gaseous-giganticus.c
PostPosted: Sat, 23-07-16, 18:28 GMT 
Offline
User avatar

Joined: Tue, 04-09-07, 21:55 GMT
Posts: 749
Location: N 42.38846 W 83.45456
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

_________________
"I don't pitch Linux to my friends, I let Microsoft do that for me."
Using OpenSUSE 42.1 & Scientific Linux 6.7


Top
 Profile  
 
 Post subject: Re: gaseous-giganticus.c
PostPosted: Sat, 23-07-16, 20:38 GMT 
Offline
User avatar

Joined: Tue, 04-09-07, 21:55 GMT
Posts: 749
Location: N 42.38846 W 83.45456
two versions
Image Image

what one do you like best

there are a ton of options

_________________
"I don't pitch Linux to my friends, I let Microsoft do that for me."
Using OpenSUSE 42.1 & Scientific Linux 6.7


Top
 Profile  
 
 Post subject: Re: gaseous-giganticus.c
PostPosted: Sat, 23-07-16, 21:15 GMT 
Offline
User avatar

Joined: Mon, 04-07-16, 21:18 GMT
Posts: 15
Location: Ohio, U. S. A.
Tell me, which looks better to you?

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


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


I honestly prefer the first one.

_________________
CM1215: Celestial Master in learning.


Top
 Profile  
 
 Post subject: Re: gaseous-giganticus.c
PostPosted: Sun, 24-07-16, 5:41 GMT 
Offline
User avatar

Joined: Tue, 04-09-07, 21:55 GMT
Posts: 749
Location: N 42.38846 W 83.45456
a variation on the first
Image

_________________
"I don't pitch Linux to my friends, I let Microsoft do that for me."
Using OpenSUSE 42.1 & Scientific Linux 6.7


Top
 Profile  
 
 Post subject: Re: gaseous-giganticus.c
PostPosted: Mon, 25-07-16, 11:51 GMT 
Offline
User avatar

Joined: Mon, 04-07-16, 21:18 GMT
Posts: 15
Location: Ohio, U. S. A.
It actually doesn't look that bad.

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

_________________
CM1215: Celestial Master in learning.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group