Add documentation to the rosetta scene keyboard bindings

This commit is contained in:
Alexander Bock
2016-11-07 10:34:19 +01:00
parent 286eb89048
commit 4caa3d25ba
3 changed files with 81 additions and 41 deletions
+51 -12
View File
@@ -12,18 +12,57 @@ helper.setDeltaTimeKeys({
28800, 57600, 115200, 230400, 460800, 921600, 1843200, 3686400, 7372800, 14745600
})
openspace.bindKey("a", "openspace.setPropertyValue('Interaction.origin', '67P')")
openspace.bindKey("s", "openspace.setPropertyValue('Interaction.origin', 'Rosetta')")
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.setPropertyValue('Interaction.coordinateSystem', 'Sun'); openspace.printInfo('Changing Viewpoint to Sun');");
openspace.bindKey("F6", "openspace.setPropertyValue('Interaction.coordinateSystem', '67P'); openspace.printInfo('Changing Viewpoint to 67P');");
openspace.bindKey("F7", "openspace.time.setTime('2014-08-15T03:05:18.101')");
openspace.bindKey("F8", "openspace.setPropertyValue('67P.renderable.ProjectionComponent.clearAllProjections', true);");
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'))
openspace.bindKey("q", helper.renderable.toggle('SunMarker'))
openspace.bindKey("e", helper.renderable.toggle('JupiterTrail') .. helper.renderable.toggle('SaturnTrail') .. helper.renderable.toggle('UranusTrail') .. helper.renderable.toggle('NeptuneTrail'))
openspace.bindKey("f", helper.renderable.toggle('PhilaeTrail'))
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.bindKeyLocal("h", "openspace.parallel.setAddress('127.0.0.1');openspace.parallel.setPort('25001');openspace.parallel.setPassword('test');openspace.parallel.connect();openspace.parallel.requestHostship('test');")
openspace.bindKeyLocal("c", "openspace.parallel.setAddress('127.0.0.1');openspace.parallel.setPort('25001');openspace.parallel.setPassword('test');openspace.parallel.connect();")
openspace.bindKey(
"p",
helper.property.invert('67P.renderable.ProjectionComponent.performProjection'),
"Enables or disables the image projection on 67P."
)