Updated startup scripts

This commit is contained in:
Alexander Bock
2015-02-25 00:04:45 +01:00
parent 47d6fe3141
commit 2d975234e7
3 changed files with 38 additions and 32 deletions

View File

@@ -1,6 +1,17 @@
openspace.setInvertRoll(true);
--[[ OpenSpace startup script ]]--
-- This Lua script get executed once at the start of the application
--openspace.setInvertRotation(true) -- Uncomment this if you want to invert the rotation
openspace.setInvertRoll(true);
--openspace.setInteractionSensitivity(10) -- This is the default value for the sensitivity (the higher, the more sensitive)
openspace.time.setTime("2007 FEB 27 16:40:00") -- This is the start time for a Jupiter run of New Horizons
openspace.time.setDeltaTime(10) -- How many seconds pass per second of realtime, changeable in the GUI
dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))() -- Load the default keybindings
openspace.time.setTime("2007 FEB 27 16:41:00")
-- openspace.time.setDeltaTime(50);
-- openspace.time.setTime("2015-07-14T10:50:00.00") -- PLUTO
@@ -29,13 +40,4 @@ openspace.time.setTime("2007 FEB 27 16:41:00")
-- until audience tires (enough to fill 10-15 mins if run at dt = 100)
openspace.time.setDeltaTime(10)
-- print(openspace.time.currentTimeUTC())
function loadKeyBindings()
p = openspace.absPath('${SCRIPTS}/bind_keys.lua')
dofile(p)
end
loadKeyBindings()