Sort milkyway and stars

Remove keybinding scripts
Remove satellites
This commit is contained in:
Alexander Bock
2017-07-28 13:52:45 -04:00
parent be6d34d5df
commit fc63e51ece
37 changed files with 302 additions and 396 deletions
-135
View File
@@ -1,135 +0,0 @@
--[[ OpenSpace keybinding script loaded from the newhorizons.scene file ]]--
-- Load the common helper functions
dofile(openspace.absPath('${SCRIPTS}/common.lua'))
openspace.clearKeys()
helper.setCommonKeys()
helper.setDeltaTimeKeys({
1, 5, 10, 20, 40, 60, 120, 360, 540, 1080,
2160, 4320, 8640
})
openspace.bindKey(
"a",
"openspace.setPropertyValue('Interaction.origin', 'NewHorizons')",
"Sets the focus of the camera on 'NewHorizons'."
)
openspace.bindKey(
"s",
"openspace.setPropertyValue('Interaction.origin', 'Pluto')",
"Sets the focus of the camera on 'Pluto'"
)
openspace.bindKey(
"d",
"openspace.setPropertyValue('Interaction.origin', 'Charon')",
"Sets the focus of the camera on 'Charon'."
)
openspace.bindKey(
"z",
"openspace.setPropertyValue('Interaction.origin', 'JupiterProjection')",
"Sets the focus of the camera on 'Jupiter'."
)
openspace.bindKey(
"x",
"openspace.setPropertyValue('Interaction.origin', 'Europa')",
"Sets the focus of the camera on 'Europa'."
)
openspace.bindKey(
"F8",
"openspace.setPropertyValue('Pluto.renderable.ProjectionComponent.clearAllProjections', true);" ..
"openspace.setPropertyValue('Charon.renderable.ProjectionComponent.clearAllProjections', true);",
"Removes all image projections from Pluto and Charon."
)
openspace.bindKey(
"F9",
"openspace.time.setTime('2015-07-14T09:00:00.00');" ..
"openspace.setPropertyValue('Pluto.renderable.clearAllProjections', true);" ..
"openspace.setPropertyValue('Charon.renderable.clearAllProjections', true);",
"Jumps to the 14th of July 2015 at 0900 UTC and clears all projections."
)
openspace.bindKey(
"KP_8",
helper.property.increment('Pluto.renderable.heightExaggeration', 0.1),
"Increases the height map exaggeration on Pluto."
)
openspace.bindKey(
"KP_2",
helper.property.decrement('Pluto.renderable.heightExaggeration', 0.1),
"Decreases the height map exaggeration on Pluto."
)
openspace.bindKey(
"KP_9",
helper.property.increment('Charon.renderable.heightExaggeration', 2),
"Increases the height map exaggeration on Charon."
)
openspace.bindKey(
"KP_3",
helper.property.decrement('Charon.renderable.heightExaggeration', 2),
"Decreases the height map exaggeration on Charon."
)
openspace.bindKey(
"q",
helper.property.invert('SunMarker.renderable.enabled'),
"Toggles the visibility of the text marking the location of the Sun."
)
openspace.bindKey(
"e",
helper.property.invert('EarthMarker.renderable.enabled'),
"Toggles the visibility of the text marking the location of the Earth."
)
openspace.bindKey(
"o",
helper.property.invert('PlutoTrail.renderable.enabled'),
"Toggles the visibility of the trail behind Pluto."
)
openspace.bindKey(
"j",
helper.renderable.toggle('PlutoText') .. helper.renderable.toggle('CharonText') ..
helper.renderable.toggle('HydraText') .. helper.renderable.toggle('NixText') ..
helper.renderable.toggle('KerberosText') .. helper.renderable.toggle('StyxText'),
"Toggles the visibility of the text labels of Pluto, Charon, Hydra, Nix, Kerberos, and Styx."
)
openspace.bindKey(
"l",
helper.property.invert('Labels.renderable.performFading'),
"Toggles the visibility of the labels for the New Horizons instruments."
)
openspace.bindKey("m",
helper.property.invert('NH_LORRI.renderable.solidDraw') ..
helper.property.invert('NH_RALPH_LEISA.renderable.solidDraw') ..
helper.property.invert('NH_RALPH_MVIC_PAN1.renderable.solidDraw') ..
helper.property.invert('NH_RALPH_MVIC_PAN2.renderable.solidDraw') ..
helper.property.invert('NH_RALPH_MVIC_RED.renderable.solidDraw') ..
helper.property.invert('NH_RALPH_MVIC_BLUE.renderable.solidDraw') ..
helper.property.invert('NH_RALPH_MVIC_FT.renderable.solidDraw') ..
helper.property.invert('NH_RALPH_MVIC_METHANE.renderable.solidDraw') ..
helper.property.invert('NH_RALPH_MVIC_NIR.renderable.solidDraw') ..
helper.property.invert('NH_ALICE_AIRGLOW.renderable.solidDraw') ..
helper.property.invert('NH_ALICE_SOC.renderable.solidDraw'),
"Draws the instrument field of views in a solid color or as lines."
)
openspace.bindKey(
"t",
helper.renderable.toggle('PlutoShadow') .. helper.renderable.toggle('CharonShadow'),
"Toggles the visibility of the shadow visualization of Pluto and Charon."
)
openspace.bindKey("p",
helper.property.invert('JupiterProjection.renderable.performProjection') ..
helper.property.invert('Io.renderable.performProjection') ..
helper.property.invert('Ganymede.renderable.performProjection') ..
helper.property.invert('Europa.renderable.performProjection') ..
helper.property.invert('Callisto.renderable.performProjection') ..
helper.property.invert('Pluto.renderable.performProjection') ..
helper.property.invert('Charon.renderable.performProjection'),
"Enables or disables the image projection on the different available objects."
)
-59
View File
@@ -1,59 +0,0 @@
--[[ OpenSpace keybinding script loaded from the osirisrex.scene file ]]--
-- Load the common helper functions
dofile(openspace.absPath('${SCRIPTS}/common.lua'))
dofile(openspace.absPath('${SCRIPTS}/bind_common_keys.lua'))
-- Set focuses
openspace.bindKey(
"a",
"openspace.setPropertyValue('Interaction.origin', 'OsirisRex')",
"Sets the focus of the camera on 'Osiris Rex'."
)
openspace.bindKey(
"s",
"openspace.setPropertyValue('Interaction.origin', 'BennuBarycenter')",
"Sets the focus of the camera on 'Bennu'."
)
openspace.bindKey(
"F6" ,
"openspace.printInfo('Set time: Launch');openspace.time.setTime('2016 SEP 08 23:05:00');",
"Sets the time to the launch."
)
openspace.bindKey(
"F7",
"openspace.printInfo('Set time: Gravity Assist');openspace.time.setTime('2017 SEP 22 15:00:00');",
"Sets the time to the Earth gravity assist."
)
openspace.bindKey(
"F8",
"openspace.printInfo('Set time: Approach');openspace.time.setTime('2018-SEP-11 21:31:01.183');",
"Sets the time to the approach at Bennu."
)
openspace.bindKey(
"F9",
"openspace.printInfo('Set time: Preliminary Survey');openspace.time.setTime('2018-NOV-20 01:13:12.183');",
"Sets the time to the preliminary survey of Bennu."
)
openspace.bindKey(
"F10",
"openspace.printInfo('Set time: Orbital B');openspace.time.setTime('2019-APR-08 10:35:27.186');",
"Sets the time to the orbital B event."
)
openspace.bindKey(
"F11",
"openspace.printInfo('Set time: Recon');openspace.time.setTime('2019-MAY-25 03:50:31.195');",
"Sets the time to the recon event."
)
openspace.bindKey(
"q",
helper.property.invert('SunMarker.renderable.enabled'),
"Toggles the visibility of the text marking the location of the Sun."
)
openspace.bindKey(
"e",
helper.property.invert('EarthMarker.renderable.enabled'),
"Toggles the visibility of the text marking the location of the Earth."
)
-68
View File
@@ -1,68 +0,0 @@
--[[ OpenSpace keybinding script loaded from the rosetta.scene file ]]--
-- This script sets the default keybindings and is executed at startup
-- Load the common helper functions
dofile(openspace.absPath('${SCRIPTS}/common.lua'))
openspace.clearKeys()
helper.setCommonKeys()
helper.setDeltaTimeKeys({
1, 5, 10, 20, 40, 90, 360, 720, 2880, 14400,
28800, 57600, 115200, 230400, 460800, 921600, 1843200, 3686400, 7372800, 14745600
})
openspace.bindKey(
"a",
"openspace.setPropertyValue('Interaction.origin', '67P')",
"Sets the focus of the camera on '67P'."
)
openspace.bindKey(
"s",
"openspace.setPropertyValue('Interaction.origin', 'Rosetta')",
"Sets the focus of the camera on 'Rosetta'."
)
openspace.bindKey(
"F5",
"openspace.time.setTime('2014-08-01T03:05:18.101')",
"Jumps to the time of initial approach of Rosetta to 67P."
)
openspace.bindKey(
"F6",
"openspace.time.setTime('2014-11-12T08:20:00.00')",
"Jumps to the time when the Philae lander is released."
)
openspace.bindKey(
"F8",
"openspace.setPropertyValue('67P.renderable.ProjectionComponent.clearAllProjections', true)",
"Removes all image projections from 67P."
)
openspace.bindKey(
"i",
helper.renderable.toggle('ImagePlaneRosetta'),
"Toggles the visibility of the free floating image plane."
)
openspace.bindKey(
"q",
helper.renderable.toggle('SunMarker'),
"Toggles the visibility of the text marking the location of the Sun."
)
openspace.bindKey(
"e",
helper.renderable.toggle('JupiterTrail') .. helper.renderable.toggle('SaturnTrail') ..
helper.renderable.toggle('UranusTrail') .. helper.renderable.toggle('NeptuneTrail'),
"Toggles the visibility of all trails further from the Sun than 67P."
)
openspace.bindKey(
"f",
helper.renderable.toggle('PhilaeTrail'),
"Toggles the visibility of Philae's trail."
)
openspace.bindKey(
"p",
helper.property.invert('67P.renderable.ProjectionComponent.performProjection'),
"Enables or disables the image projection on 67P."
)
-23
View File
@@ -1,23 +0,0 @@
--[[ OpenSpace keybinding script loaded from the satellites.scene file ]]--
-- Load the common helper functions
dofile(openspace.absPath('${SCRIPTS}/common.lua'))
dofile(openspace.absPath('${SCRIPTS}/bind_common_keys.lua'))
-- Set focuses
openspace.bindKey(
"p" ,
"if gpsVis then gpsVis = false; else gpsVis = true; end; openspace.setPropertyValue('gps-ops*.renderable.enabled', not gpsVis)",
"Toggles visibility of gps satellites."
)
openspace.bindKey(
"s" ,
"if stVis then stVis = false; else stVis = true; end; openspace.setPropertyValue('station*.renderable.enabled', not stVis)",
"Toggles visibility of stations."
)
openspace.bindKey(
"g" ,
"if geoVis then geoVis = false; else geoVis = true; end; openspace.setPropertyValue('geo*.renderable.enabled', not geoVis)",
"Toggles visibility of geostationary."
)