spacekit icon indicating copy to clipboard operation
spacekit copied to clipboard

Allow accurate rotation, orbit and scale for objects

Open oknuutti opened this issue 4 months ago • 1 comments

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

oknuutti avatar Aug 12 '25 10:08 oknuutti

Deploy Preview for thunderous-lolly-07875e ready!

Name Link
Latest commit cb98a7701c85c6120a14952f8aa836dbbf938b41
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.

netlify[bot] avatar Aug 12 '25 10:08 netlify[bot]