mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-13 07:01:11 -06:00
33 lines
805 B
Plaintext
33 lines
805 B
Plaintext
function preInitialization()
|
|
--[[
|
|
The scripts in this function are executed after the scene is loaded but before the
|
|
scene elements have been initialized, thus they should be used to set the time at
|
|
which the scene should start and other settings that might determine initialization
|
|
critical objects.
|
|
]]--
|
|
|
|
openspace.time.setTime("2015 NOV 24 00:00:00")
|
|
dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
|
|
openspace.bindKey("v", "openspace.setPropertyValue('DebugGlobe.saveOrThrowCamera', true)")
|
|
end
|
|
|
|
function postInitialization()
|
|
|
|
end
|
|
|
|
|
|
return {
|
|
ScenePath = ".",
|
|
CommonFolder = "common",
|
|
Camera = {
|
|
Focus = "DebugGlobe",
|
|
Position = {1, 0, 0, 8},
|
|
},
|
|
Modules = {
|
|
"debugglobe",
|
|
"stars",
|
|
"milkyway",
|
|
}
|
|
}
|
|
|