mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-14 07:30:07 -06:00
* Remove unused feature that allowed us to "pick" nodes using touch (it didn't really work and had some nasty hardcoded and costly implementation). Fixes Touch interaction picking refactor #1041 * General refactoring of code and removing redundant code * Make touch markers prettier (change default color and smoothen edges) * Add module property to control which renderable types are "directly touchable" * Add SGN property to control which individual nodes are "directly touchable" ("SupportsDirectInteraction") * Fix stuttering when zooming in closer than the orbitalnavigator allows
30 lines
961 B
Lua
30 lines
961 B
Lua
-- This is a blank scene that that just sets up the default menus/dasboard/keys, etc.
|
|
|
|
-- Specifying which other assets should be loaded in this scene
|
|
asset.require("spice/base")
|
|
|
|
asset.require("dashboard/default_dashboard")
|
|
-- Load default key bindings applicable to most scenes
|
|
asset.require("util/default_keybindings")
|
|
|
|
-- Load web gui
|
|
local webGui = asset.require("util/webgui")
|
|
|
|
-- Scale the different UI components based on the operating system's DPI scaling value
|
|
asset.require("util/dpiscaling")
|
|
|
|
-- Load the images required for the launcher to show up
|
|
asset.require("util/launcher_images")
|
|
|
|
-- Modules and component settings
|
|
asset.require("modules/exoplanets/exoplanets")
|
|
asset.require("modules/skybrowser/skybrowser")
|
|
asset.require("modules/touch/default_settings")
|
|
|
|
|
|
asset.onInitialize(function ()
|
|
webGui.setCefRoute("onscreen")
|
|
openspace.setDefaultGuiSorting()
|
|
openspace.setPropertyValueSingle("RenderEngine.VerticalLogOffset", 0.100000)
|
|
end)
|