{"id":412,"date":"2022-05-03T19:23:00","date_gmt":"2022-05-03T18:23:00","guid":{"rendered":"https:\/\/starshipsimulator.co.uk\/?p=412"},"modified":"2022-08-17T15:55:15","modified_gmt":"2022-08-17T14:55:15","slug":"a-real-galaxy","status":"publish","type":"post","link":"https:\/\/starshipsimulator.co.uk\/?p=412","title":{"rendered":"A Real Galaxy"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;RGBA(0,0,0,0)&#8221; hover_enabled=&#8221;0&#8243; border_color_all=&#8221;#000000&#8243; custom_margin=&#8221;0px|0px|0px|0px|true|true&#8221; custom_padding=&#8221;0px|0px|0px|0px|true|true&#8221; sticky_enabled=&#8221;0&#8243;][et_pb_row _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;RGBA(0,0,0,0)&#8221; hover_enabled=&#8221;0&#8243; border_color_all=&#8221;#FFFFFF&#8221; width=&#8221;100%&#8221; custom_margin=&#8221;0px|0px|0px|0px|true|true&#8221; custom_padding=&#8221;0px|0px|0px|0px|true|true&#8221; sticky_enabled=&#8221;0&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;||||||||&#8221; text_text_color=&#8221;#FFFFFF&#8221; text_font_size=&#8221;16px&#8221; text_letter_spacing=&#8221;1px&#8221;]<\/p>\n<p>The more I dig into the galaxy system and the more I explore what UE5 can do for us, the closer we&#8217;re getting to a true 1:1 scale galaxy. In fact, today I tentatively binned the idea of splitting each star system into cubes and went with true 1:1 scale movement within a system. The physics seems to be handling it pretty decently so far, and that means each star system now has a scale of 946,073,047,258,080,000cm^3. That&#8217;s a whole cubic lightyear in cm, which of course by extension means we&#8217;ve actually now got the entire galaxy modelled at a resolution of 1cm. It melts my brain just thinking about it.<\/p>\n<p>To traverse the galaxy at that scale the ship is going to have to move at around 2,000,000 C.<\/p>\n<p>The galaxy itself is still split into 100ly^3 sectors, but in order to push the realism even further the number of stars generated in each sector is now being driven by a density map like this;\u00a0<\/p>\n<p><a href=\"https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/galaxy_layer_0.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/galaxy_layer_0.png\" width=\"1000\" height=\"1000\" alt=\"\" class=\"wp-image-563 aligncenter size-full\" srcset=\"https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/galaxy_layer_0.png 1000w, https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/galaxy_layer_0-980x980.png 980w, https:\/\/starshipsimulator.co.uk\/wp-content\/uploads\/2022\/08\/galaxy_layer_0-480x480.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1000px, 100vw\" \/><\/a><\/p>\n<p>In fact that&#8217;s the actual density map, with each pixel representing a single 100ly sector. The stellar density currently goes from 0 to 8000 stars per-sector, driven by the 0-1 value of each pixel. The galaxy is also 10 sectors deep, so each layer will have its own density map to form the full 3D shape.<\/p>\n<p>So not only is the galaxy now modelled at a cm scale, it&#8217;s also the correct shape too! <img decoding=\"async\" src=\"https:\/\/starshipsimulator.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors\/plugins\/emoticons\/img\/smiley-laughing.gif\" alt=\"laughing\" \/><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;RGBA(0,0,0,0)&#8221; hover_enabled=&#8221;0&#8243; border_color_all=&#8221;#000000&#8243; custom_margin=&#8221;0px|0px|0px|0px|true|true&#8221; custom_padding=&#8221;0px|0px|0px|0px|true|true&#8221; sticky_enabled=&#8221;0&#8243;][et_pb_row _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;RGBA(0,0,0,0)&#8221; hover_enabled=&#8221;0&#8243; border_color_all=&#8221;#FFFFFF&#8221; width=&#8221;100%&#8221; custom_margin=&#8221;0px|0px|0px|0px|true|true&#8221; custom_padding=&#8221;0px|0px|0px|0px|true|true&#8221; sticky_enabled=&#8221;0&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;||||||||&#8221; text_text_color=&#8221;#FFFFFF&#8221; text_font_size=&#8221;16px&#8221; text_letter_spacing=&#8221;1px&#8221;] The more I dig into the galaxy system and the more I explore what UE5 can do for us, the closer we&#8217;re getting to a true 1:1 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-412","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/412","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=412"}],"version-history":[{"count":7,"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/412\/revisions"}],"predecessor-version":[{"id":901,"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/412\/revisions\/901"}],"wp:attachment":[{"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/starshipsimulator.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}