summaryrefslogtreecommitdiffstats
path: root/util/bin
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2014-08-25 11:36:01 +0200
committermakefu <root@pigstarter.de>2014-08-25 11:36:01 +0200
commitc93874e1b542da8cc5d25671fa39795aeb8a4138 (patch)
tree86a901df25662f8ce2a53dc3e95bbdbd5eea9e62 /util/bin
parent9e75a84c7659998b25ba032260f346875b25cc9a (diff)
parent25b8e1d2620e086aca47aa259012ff449de2e24e (diff)
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'util/bin')
-rwxr-xr-xutil/bin/make-realwallpaper87
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