Files
OpenSpace/data/assets/juno.scene
Alexander Bock 3a687b5c57 Cleanup of scene files by introducing a new base.scene from which all others derive
Add asset.filePath to the warning when trying to register an empty list
Correctly add HyperionTrail
2019-05-20 11:03:55 -06:00

31 lines
949 B
Plaintext

asset.request('./base')
local assetHelper = asset.require('util/asset_helper')
local sceneHelper = asset.require('util/scene_helper')
assetHelper.requireAll(asset, 'scene/solarsystem/missions/juno')
local junoAsset = asset.require('scene/solarsystem/missions/juno/juno')
asset.onInitialize(function ()
openspace.time.setTime("2016-07-01T10:05:00.00")
openspace.markInterestingNodes({ "Jupiter", "Juno" })
sceneHelper.setDeltaTimeKeys({
1, 5, 10, 20, 40, 90, 360, 720, 2880, 14400,
28800, 57600, 115200, 230400, 460800, 921600, 1843200, 3686400, 7372800, 14745600
})
openspace.navigation.setCameraState({
Anchor = junoAsset.Juno.Identifier,
Position = { 1837386367.601345, -389860693812.834839, 714830404470.398926 },
Rotation = { -0.336540, 0.711402, -0.099212, 0.608937 },
})
end)
asset.onDeinitialize(function ()
openspace.removeInterestingNodes({ "Jupiter", "Juno" })
end)