{"id":5009,"date":"2010-03-27T15:28:18","date_gmt":"2010-03-27T20:28:18","guid":{"rendered":"https:\/\/spaceengine.org\/?p=5009"},"modified":"2022-08-24T15:37:29","modified_gmt":"2022-08-24T20:37:29","slug":"clouds","status":"publish","type":"post","link":"https:\/\/spaceengine.org\/news\/blog100327\/","title":{"rendered":"Clouds"},"content":{"rendered":"<p>I experimenting with clouds. I downloaded a giant (43200x21600) texture of the cloud coverage of the Earth. The texture is static, so don't ask for animation \ud83d\ude42 The clouds themselves are rendered as a spherical layer around the planet, at an altitude of 5 km above the sea level. Clouds seem to blend incorrectly with the surface of the planet, in some places some kind of color inversion is obtained.<\/p>\n<p>On the header image is a reproduction of the famous Apollo 17 photo called \"The Blue Marble\". Closer view:<\/p>\n<p><a href=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52845_1269639365_scr00024.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52845_1269639365_scr00024-1024x553.jpg\" alt=\"\" width=\"1024\" height=\"553\" class=\"aligncenter size-large wp-image-5018\" srcset=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52845_1269639365_scr00024-1024x553.jpg 1024w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52845_1269639365_scr00024-300x162.jpg 300w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52845_1269639365_scr00024-768x414.jpg 768w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52845_1269639365_scr00024-700x378.jpg 700w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52845_1269639365_scr00024.jpg 1264w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>From under the clouds:<\/p>\n<p><a href=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52846_1269639493_scr00001.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52846_1269639493_scr00001-1024x553.jpg\" alt=\"\" width=\"1024\" height=\"553\" class=\"aligncenter size-large wp-image-5017\" srcset=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52846_1269639493_scr00001-1024x553.jpg 1024w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52846_1269639493_scr00001-300x162.jpg 300w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52846_1269639493_scr00001-768x414.jpg 768w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52846_1269639493_scr00001-700x378.jpg 700w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52846_1269639493_scr00001.jpg 1264w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52847_1269639513_scr00002.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52847_1269639513_scr00002-1024x553.jpg\" alt=\"\" width=\"1024\" height=\"553\" class=\"aligncenter size-large wp-image-5016\" srcset=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52847_1269639513_scr00002-1024x553.jpg 1024w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52847_1269639513_scr00002-300x162.jpg 300w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52847_1269639513_scr00002-768x414.jpg 768w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52847_1269639513_scr00002-700x378.jpg 700w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52847_1269639513_scr00002.jpg 1264w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>And some mountains protrude through the clouds:<\/p>\n<p><a href=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52848_1269639551_scr00003.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52848_1269639551_scr00003-1024x553.jpg\" alt=\"\" width=\"1024\" height=\"553\" class=\"aligncenter size-large wp-image-5015\" srcset=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52848_1269639551_scr00003-1024x553.jpg 1024w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52848_1269639551_scr00003-300x162.jpg 300w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52848_1269639551_scr00003-768x414.jpg 768w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52848_1269639551_scr00003-700x378.jpg 700w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52848_1269639551_scr00003.jpg 1264w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>It looks so terrible (and if you fly away from the planet, the LOD of the landscape will decrease, and then it\u2019s a nightmare what happens):<\/p>\n<p><a href=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52849_1269639584_scr00023.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52849_1269639584_scr00023-1024x553.jpg\" alt=\"\" width=\"1024\" height=\"553\" class=\"aligncenter size-large wp-image-5014\" srcset=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52849_1269639584_scr00023-1024x553.jpg 1024w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52849_1269639584_scr00023-300x162.jpg 300w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52849_1269639584_scr00023-768x414.jpg 768w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52849_1269639584_scr00023-700x378.jpg 700w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52849_1269639584_scr00023.jpg 1264w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Clouds at sunset:<\/p>\n<p><a href=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52850_1269639617_scr00025.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52850_1269639617_scr00025-1024x553.jpg\" alt=\"\" width=\"1024\" height=\"553\" class=\"aligncenter size-large wp-image-5013\" srcset=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52850_1269639617_scr00025-1024x553.jpg 1024w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52850_1269639617_scr00025-300x162.jpg 300w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52850_1269639617_scr00025-768x414.jpg 768w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52850_1269639617_scr00025-700x378.jpg 700w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/52850_1269639617_scr00025.jpg 1264w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Mercury and Venus are visible next to the Sun, they can really be seen there right now.<\/p>\n<p>If you set a height map for clouds, they will be rendered as a kind of a \"cloudy landscape\", with lighting, just like the surface of the planet. But because the clouds are transparent, at certain angles they are rendered incorrectly. Sorting of triangles is needed, or either blend clouds additively or implement some order-independent transparency algorithm... Probably the best way out is to use a bump to render from space, and switch to a volumetric clouds at closer distance.<\/p>\n<p><a href=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00026.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00026-1024x553.jpg\" alt=\"\" width=\"1024\" height=\"553\" class=\"aligncenter size-large wp-image-5012\" srcset=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00026-1024x553.jpg 1024w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00026-300x162.jpg 300w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00026-768x414.jpg 768w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00026-700x378.jpg 700w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00026.jpg 1264w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00027.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00027-1024x553.jpg\" alt=\"\" width=\"1024\" height=\"553\" class=\"aligncenter size-large wp-image-5011\" srcset=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00027-1024x553.jpg 1024w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00027-300x162.jpg 300w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00027-768x414.jpg 768w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00027-700x378.jpg 700w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00027.jpg 1264w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00028.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00028-1024x553.jpg\" alt=\"\" width=\"1024\" height=\"553\" class=\"aligncenter size-large wp-image-5010\" srcset=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00028-1024x553.jpg 1024w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00028-300x162.jpg 300w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00028-768x414.jpg 768w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00028-700x378.jpg 700w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/scr00028.jpg 1264w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I experimenting with clouds. I downloaded a giant (43200x21600) texture of the cloud coverage of the Earth. The texture is static, so don't ask for animation \ud83d\ude42 The clouds themselves are rendered as a spherical layer around the planet, at an altitude of 5 km...<\/p>\n","protected":false},"author":1,"featured_media":5019,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5009","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/posts\/5009","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/comments?post=5009"}],"version-history":[{"count":1,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/posts\/5009\/revisions"}],"predecessor-version":[{"id":5020,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/posts\/5009\/revisions\/5020"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/media\/5019"}],"wp:attachment":[{"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/media?parent=5009"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/categories?post=5009"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/tags?post=5009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}