{"id":2251,"date":"2016-01-22T21:15:29","date_gmt":"2016-01-22T21:15:29","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=2251"},"modified":"2016-01-22T23:37:10","modified_gmt":"2016-01-22T23:37:10","slug":"p-165-solar-system-viewer-update-3","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p-165-solar-system-viewer-update-3\/","title":{"rendered":"P-165: Solar System Viewer Update 3"},"content":{"rendered":"<p>I have almost finished this project for now.<\/p>\n<p>I have scaled the data from the Horizons Telnet server, rendered the planets at the locations given by this data, and verified, using an online star map (<a href=\"http:\/\/www.theplanetstoday.com\/\">HERE<\/a>) that the data is correct for the dates that I specifed. I am very happy with the accuracy of the data!<\/p>\n<p>I have also scaled the planets to realistic sizes, and textured them, as well as porting the code to a version of the engine compiled\u00a0on my new machine, since the old version was running very slowly.<\/p>\n<p>I have run into some minor issues however. Firstly, the scale of the planets and their distances is causing some issues. Since I am using realistic number here, everything all distances and planet diameters are accurately scaled in relation to each other. This means that it is very difficult to get all of the planets into view at once, since planets such as Jupiter, for example, dwarf Earth and the smaller planets. Scaling the system to view Jupiter easily means that you can barely see Earth, Mercury, Venus, and Mars, while scaling the system to show the inner planets easily means that Jupiter is just a looming blob in the background.<\/p>\n<p>The same problem exists with distance. When viewing the inner planets, Pluto is not visible. If I render the sun at a realistic scale, the problems get even worse, since the sun dwarfs everything.<\/p>\n<p>I think I will have to be somewhat creative with how I handle this.<\/p>\n<p>I will probably not render the sun at full size, for one thing. I may just add a label where the sun should be, this should simplify the scale problem significantly. I will also likely add options so that the user can zoom to specific planets, or alter the scale at will.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2259\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_34_00-PM-300x238.png\" alt=\"Screenshot - 22_01_2016 , 08_34_00 PM\" width=\"300\" height=\"238\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_34_00-PM-300x238.png 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_34_00-PM-768x609.png 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_34_00-PM-1024x812.png 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_34_00-PM.png 1026w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2258\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/PhoenixAdvanced_44-Jan.-22-19.34-300x236.jpg\" alt=\"PhoenixAdvanced_44 Jan. 22 19.34\" width=\"300\" height=\"236\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/PhoenixAdvanced_44-Jan.-22-19.34-300x236.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/PhoenixAdvanced_44-Jan.-22-19.34.jpg 697w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2257\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/PhoenixAdvanced_46-Jan.-22-20.05-300x236.jpg\" alt=\"PhoenixAdvanced_46 Jan. 22 20.05\" width=\"300\" height=\"236\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/PhoenixAdvanced_46-Jan.-22-20.05-300x236.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/PhoenixAdvanced_46-Jan.-22-20.05.jpg 697w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2256\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_32_03-PM-300x238.png\" alt=\"Screenshot - 22_01_2016 , 08_32_03 PM\" width=\"300\" height=\"238\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_32_03-PM-300x238.png 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_32_03-PM-768x609.png 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_32_03-PM-1024x812.png 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_32_03-PM.png 1026w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2255\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_32_28-PM-300x238.png\" alt=\"Screenshot - 22_01_2016 , 08_32_28 PM\" width=\"300\" height=\"238\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_32_28-PM-300x238.png 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_32_28-PM-768x609.png 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_32_28-PM-1024x812.png 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_32_28-PM.png 1026w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2254\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_32_37-PM-300x238.png\" alt=\"Screenshot - 22_01_2016 , 08_32_37 PM\" width=\"300\" height=\"238\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_32_37-PM-300x238.png 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_32_37-PM-768x609.png 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_32_37-PM-1024x812.png 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_32_37-PM.png 1026w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2253\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_33_21-PM-300x238.png\" alt=\"Screenshot - 22_01_2016 , 08_33_21 PM\" width=\"300\" height=\"238\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_33_21-PM-300x238.png 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_33_21-PM-768x609.png 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_33_21-PM-1024x812.png 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_33_21-PM.png 1026w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2252\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_33_32-PM-300x238.png\" alt=\"Screenshot - 22_01_2016 , 08_33_32 PM\" width=\"300\" height=\"238\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_33_32-PM-300x238.png 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_33_32-PM-768x609.png 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_33_32-PM-1024x812.png 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot-22_01_2016-08_33_32-PM.png 1026w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have almost finished this project for now. I have scaled the data from the Horizons Telnet server, rendered the planets at the locations given by this data, and verified, using an online star map (HERE) that the data is correct for the dates that I specifed. I am very happy with the accuracy of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-2251","post","type-post","status-publish","format-standard","hentry","category-software-and-games","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"builder_content":"","_links":{"self":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/2251"}],"collection":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/comments?post=2251"}],"version-history":[{"count":3,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/2251\/revisions"}],"predecessor-version":[{"id":2264,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/2251\/revisions\/2264"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=2251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=2251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=2251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}