Skip to content

Conversation

oknuutti
Copy link

There are several fixes and enhancements that was needed for our application in order to be able to view near earth asteroids when passing close to Earth. In short:

First commit

  • Objects were not rotating correctly, this was fixed

Second commit

  • Upgrade to new version of three.js (0.173.0) allowing webgl2
  • Fixed bugs where rendering related resources were not freed when unloading
  • Fixed the orbit of the Moon
  • Support custom onclick handlers for object labels (we used this to switch focus to the clicked object)

Third commit

  • Cleanup code was refactored
  • Support toggling the visibility of objects
  • Support for ephem tables given in body relative coordinate frame, allowing high accuracy orbits for close approaches
  • Possibility to show a sprite when far from a body, changing to actual shape model when the object is viewed close enough, allows the objects to have correct 1:1 scale as they can still be found even when viewed from far away

Olli Knuuttila added 3 commits February 13, 2025 14:14
…anup, fix moon orbit, and support custom onclick handlers for space object labels
…allow body relative ephem table orbits to be drawn heliocentrically,

cleaner way to show a constant size sprite when SphereObject too far to be visible, names for all three.js objects for easier debugging,
Copy link

netlify bot commented Aug 12, 2025

Deploy Preview for thunderous-lolly-07875e ready!

Name Link
🔨 Latest commit cb98a77
🔍 Latest deploy log https://app.netlify.com/projects/thunderous-lolly-07875e/deploys/689b1f464620fd000859d5d5
😎 Deploy Preview https://deploy-preview-77--thunderous-lolly-07875e.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant