Jump to content

Looking for help adding night/day indicator to my flight tracking map (will benefit Telemachus too)


Drew Kerman

Recommended Posts

This has been on my ToDo list for a while and I'd like to finally start tackling it. My flight tracker can show orbital plots and now I'd also like it to show day/night like this. The lack of axial tilt in the game makes things easier, but I'm still not really sure where to start in calculating where to show the shadow for each body and how to shape it properly. I can get all the values I need to make the calculations, I just don't yet understand how to calculate it, although the source code to the Leaflet plugin I linked to earlier is where I plan to start.

Given that this will overlay the Leaflet map plugin, the code can also eventually be ported over to Telemachus the same as my ground plot code was to add that feature

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...