diff options
Diffstat (limited to 'util')
-rwxr-xr-x | util/bin/make-realwallpaper | 87 |
1 files changed, 43 insertions, 44 deletions
diff --git a/util/bin/make-realwallpaper b/util/bin/make-realwallpaper index 837bd378..5e05d0ee 100755 --- a/util/bin/make-realwallpaper +++ b/util/bin/make-realwallpaper @@ -86,7 +86,7 @@ main() { ln $normal $final done - make_gcloud_cloudmask + # make_gcloud_cloudmask map=daymap-final.png night_map=nightmap-final.png @@ -117,33 +117,32 @@ satellite_file=$satellite_file shade=15 EOF - # create xplanet output gcloud version - cat >xplanet-gcloud.config <<EOF -[earth] -"Earth" -map=$map -night_map=$night_map -cloud_map=$gcloud_map -cloud_threshold=10 -shade=15 -EOF - - # create xplanet output gcloud-satellite version - cat >xplanet-gcloud-sat.config <<EOF -[earth] -"Earth" -map=$map -night_map=$night_map -cloud_map=$gcloud_map -cloud_threshold=10 -satellite_file=$satellite_file -shade=15 -EOF +# # create xplanet output gcloud version +# cat >xplanet-gcloud.config <<EOF +#[earth] +#"Earth" +#map=$map +#night_map=$night_map +#cloud_map=$gcloud_map +#cloud_threshold=10 +#shade=15 +#EOF +# +# # create xplanet output gcloud-satellite version +# cat >xplanet-gcloud-sat.config <<EOF +#[earth] +#"Earth" +#map=$map +#night_map=$night_map +#cloud_map=$gcloud_map +#cloud_threshold=10 +#satellite_file=$satellite_file +#shade=15 +#EOF cat >krebs.sat <<EOF 25544 "ISS" Image=none trail={orbit,-2,2,1} color=grey thickness=1 fontsize=10 37820 "T1" Image=none trail={orbit,-2,2,1} color=grey thickness=1 fontsize=10 -39258 "CYG" Image=none trail={orbit,-2,2,1} color=grey thickness=1 fontsize=10 EOF cat >krebs.mar <<EOF @@ -159,15 +158,15 @@ EOF --output xplanet-sat-output.png --projection merc \ -config xplanet-sat.config - # rebuild every time to update shadow gcloud - xplanet --num_times 1 --geometry $xplanet_out_size \ - --output xplanet-gcloud-output.png --projection merc \ - -config xplanet-gcloud.config - - # rebuild everytime satellite gcloud version - xplanet --num_times 1 --geometry $xplanet_out_size \ - --output xplanet-gcloud-sat-output.png --projection merc \ - -config xplanet-gcloud-sat.config +# # rebuild every time to update shadow gcloud +# xplanet --num_times 1 --geometry $xplanet_out_size \ +# --output xplanet-gcloud-output.png --projection merc \ +# -config xplanet-gcloud.config +# +# # rebuild everytime satellite gcloud version +# xplanet --num_times 1 --geometry $xplanet_out_size \ +# --output xplanet-gcloud-sat-output.png --projection merc \ +# -config xplanet-gcloud-sat.config # trim xplanet output if needs_rebuild realwallpaper.png xplanet-output.png; then @@ -181,17 +180,17 @@ EOF realwallpaper-sat.png fi - # trim xplanet output - if needs_rebuild realwallpaper-gcloud.png xplanet-gcloud-output.png; then - convert xplanet-gcloud-output.png -crop $out_geometry \ - realwallpaper-gcloud.png - fi - - # trim xplanet-sat output - if needs_rebuild realwallpaper-gcloud-sat.png xplanet-gcloud-sat-output.png; then - convert xplanet-gcloud-sat-output.png -crop $out_geometry \ - realwallpaper-gcloud-sat.png - fi +# # trim xplanet output +# if needs_rebuild realwallpaper-gcloud.png xplanet-gcloud-output.png; then +# convert xplanet-gcloud-output.png -crop $out_geometry \ +# realwallpaper-gcloud.png +# fi +# +# # trim xplanet-sat output +# if needs_rebuild realwallpaper-gcloud-sat.png xplanet-gcloud-sat-output.png; then +# convert xplanet-gcloud-sat-output.png -crop $out_geometry \ +# realwallpaper-gcloud-sat.png +# fi } # generate clouds from google maps |