From 214c3056fbeb2c43ce538afca7e1a4841304f99d Mon Sep 17 00:00:00 2001 From: Alexander Bock Date: Wed, 30 Apr 2025 08:47:47 +0200 Subject: [PATCH] Add Kuiper constellation of satellites --- .../satellites/communications/kuiper.asset | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 data/assets/scene/solarsystem/planets/earth/satellites/communications/kuiper.asset diff --git a/data/assets/scene/solarsystem/planets/earth/satellites/communications/kuiper.asset b/data/assets/scene/solarsystem/planets/earth/satellites/communications/kuiper.asset new file mode 100644 index 0000000000..6e6fde7997 --- /dev/null +++ b/data/assets/scene/solarsystem/planets/earth/satellites/communications/kuiper.asset @@ -0,0 +1,56 @@ +local transforms = asset.require("scene/solarsystem/planets/earth/transforms") + + + +local omm = asset.resource({ + Name = "Satellite OMM Data (Kuiper)", + Type = "UrlSynchronization", + Identifier = "satellite_omm_data_kuiper", + Url = "https://celestrak.org/NORAD/elements/supplemental/sup-gp.php?FILE=kuiper&FORMAT=kvn", + Filename = "kuiper.txt", + SecondsUntilResync = openspace.time.secondsPerDay() +}) + + +local KuiperSatellites = { + Identifier = "KuiperSatellites", + Parent = transforms.EarthInertial.Identifier, + Renderable = { + Type = "RenderableOrbitalKepler", + Path = omm .. "kuiper.txt", + Format = "OMM", + SegmentQuality = 3, + Color = { 0.95, 0.82, 0.25 }, + TrailFade = 5, + PointSizeExponent = 5.0, + RenderBinMode = "PostDeferredTransparent" + }, + Tag = { "earth_satellites" }, + GUI = { + Name = "Kuiper", + Path = "/Solar System/Planets/Earth/Satellites", + Description = [[LEO satellite constellation launched by Amazon to provide broadband + internet access.]] + } +} + + +asset.onInitialize(function() + openspace.addSceneGraphNode(KuiperSatellites) +end) + +asset.onDeinitialize(function() + openspace.removeSceneGraphNode(KuiperSatellites) +end) + +asset.export(KuiperSatellites) + + + +asset.meta = { + Name = "Satellites Communications - Kuiper", + Description = "Satellites asset for Communications - Kuipter. Data from Celestrak", + Author = "OpenSpace Team", + URL = "https://celestrak.com/NORAD/elements/", + License = "Celestrak" +}