mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-24 04:59:24 -06:00
Add distance information to voyager 1 and 2
Update Saturn Ring texture
This commit is contained in:
@@ -9,7 +9,7 @@ local textures = asset.syncedResource({
|
||||
Type = "HttpSynchronization",
|
||||
Name = "Saturn textures",
|
||||
Identifier = "saturn_textures",
|
||||
Version = 2
|
||||
Version = 3
|
||||
})
|
||||
|
||||
local Saturn = {
|
||||
@@ -48,7 +48,7 @@ local SaturnRings = {
|
||||
Renderable = {
|
||||
Type = "RenderableRings",
|
||||
Texture = textures .. "/saturn_rings.png",
|
||||
Size = 140220000,
|
||||
Size = 140445000,
|
||||
Offset = { 74500 / 140445.100671159, 1.0 } -- min / max extend
|
||||
},
|
||||
GUI = {
|
||||
|
||||
@@ -22,6 +22,27 @@ asset.require('util/default_dashboard')
|
||||
|
||||
local VoyagerAsset = asset.require('scene/solarsystem/missions/voyager/voyager1')
|
||||
|
||||
assetHelper.registerDashboardItems(asset, {
|
||||
{
|
||||
Type = "DashboardItemDistance",
|
||||
Identifier = "Voyager1Distance",
|
||||
GuiName = "Voyager 1 - Earth Distance",
|
||||
SourceType = "Node",
|
||||
SourceNodeName = "Voyager_1",
|
||||
DestinationType = "Node",
|
||||
DestinationNodeName = "Earth"
|
||||
},
|
||||
{
|
||||
Type = "DashboardItemDistance",
|
||||
Identifier = "Voyager2Distance",
|
||||
GuiName = "Voyager 2 - Earth Distance",
|
||||
SourceType = "Node",
|
||||
SourceNodeName = "Voyager_2",
|
||||
DestinationType = "Node",
|
||||
DestinationNodeName = "Earth"
|
||||
}
|
||||
})
|
||||
|
||||
asset.onInitialize(function ()
|
||||
openspace.time.setTime("1977 SEP 10 12:00:00")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user