forked from OpenSpace/OpenSpace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenspace.cfg
260 lines (242 loc) · 8.62 KB
/
openspace.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
-- The configuration has an implict
-- require('scripts/configuration_helper.lua')
-- which defines helper functions useful to customize the configuration
-- Variable: SGCTConfig
-- Determines which SGCT configuration file is loaded, that is, if there
-- rendering occurs in a single window, a fisheye projection,
-- or a dome cluster system
-- A regular 1280x720 window
SGCTConfig = sgct.config.single{vsync=false}
-- A regular 1920x1080 window
-- SGCTConfig = sgct.config.single{1920, 1080}
-- A windowed 1920x1080 fullscreen
-- SGCTConfig = sgct.config.single{1920, 1080, border=false, windowPos={0,0}}
-- A 1k fisheye rendering
-- SGCTConfig = sgct.config.fisheye{1024, 1024}
-- A 4k fisheye rendering in a 1024x1024 window
-- SGCTConfig = sgct.config.fisheye{1024, 1024, res={4096, 4096}, quality="2k", tilt=27}
-- Streaming OpenSpace via Spout to OBS
-- SGCTConfig = sgct.config.single{2560, 1440, shared=true, name="WV_OBS_SPOUT1"}
--for more details about sgct configuration options see:
-- https://sgct.github.io/configuration-files.html
-- To use a sgct configuration file set the variable like below
-- SGCTConfig = "${CONFIG}/single_gui.xml"
-- In the config/ folder we provide the some predefined files which you can modify.
-- fullscreen1080.xml: fullscreen window at 1920x1080
-- gui_projector.xml: one window for the gui and a second fullscreen window for rendering
-- on the second monitor
-- openvr_htcVive.xml: window for VR on HTC Vive, only works if OpenSpace is compiled
-- custom with the openvr support
-- openvr_oculusRiftCv1.xml: window for VR on Oculus Rift, only works if OpenSpace is
-- compiled custom with the openvr support
-- single.xml: regular window
-- single_fisheye.xml: regular window with fisheye rendering
-- single_fisheye_gui.xml: one window for the gui, one window for fisheye rendering
-- single_gui.xml: one window for the gui, one window for rendering
-- single_sbs_stereo.xml: one window with side by side rendering for stereo/3d support
-- single_two_win.xml: two windows with gui and rendering
-- spherical_mirror.xml: one window with a spherical mirror rendering
-- spherical_mirror_gui.xml: one window for the gui, and one window with a spherical
-- mirror rendering
-- spout_out.xml: a window where the rendering is sent to spout instead of the display
-- two_nodes.xml: a configuration for running two instances of openspace, used for
-- multiple projection systems
-- Variable: Profile
-- Sets the profile that should be loaded by OpenSpace.
Profile = "default"
-- Profile = "default_full"
-- Profile = "gaia"
-- Profile = "insight"
-- Profile = "juno"
-- Profile = "jwst"
-- Profile = "mars"
-- Profile = "messenger"
-- Profile = "newhorizons"
-- Profile = "osirisrex"
-- Profile = "rosetta"
-- Profile = "touch"
-- Profile = "voyager"
-- These are profiles that are set to "read-only"
ReadOnlyProfiles = {
"apollo",
"asteroids",
"dawn",
"default",
"default_full",
"gaia",
"insight",
"juno",
"jwst",
"mars",
"messenger",
"newhorizons",
"osirisrex",
"rosetta",
"touch",
"voyager"
}
-- These scripts are executed after the initialization of each scene, thus making
-- it possible to have global overrides to default values or execute other scripts
-- regardless of the scene that is loaded
GlobalCustomizationScripts = {
"${SCRIPTS}/customization.lua"
}
-- Use these paths if you want to put items outside of
-- the main OpenSpace folder. Typically SYNC
Paths = {
DATA = "${BASE}/data",
ASSETS = "${DATA}/assets",
PROFILES = "${DATA}/profiles",
USER = os.getenv("OPENSPACE_USER") or "${BASE}/user",
USER_ASSETS = "${USER}/data/assets",
USER_PROFILES = "${USER}/data/profiles",
USER_CONFIG = "${USER}/config",
FONTS = "${DATA}/fonts",
TASKS = "${DATA}/tasks",
-- If the the 'OPENSPACE_SYNC' environment variable is defined on the system, use that
-- value. Otherwise, fall back to the ${BASE}/sync folder instead. This allows a
-- reuse of the sync folder between multiple OpenSpace installations by simply setting
-- that environment variable
SYNC = os.getenv("OPENSPACE_SYNC") or "${BASE}/sync",
SCREENSHOTS = "${USER}/screenshots",
WEB = "${DATA}/web",
RECORDINGS = "${USER}/recordings",
CACHE = "${BASE}/cache",
CONFIG = "${BASE}/config",
DOCUMENTATION = "${BASE}/documentation",
LOGS = "${BASE}/logs",
MODULES = "${BASE}/modules",
SCRIPTS = "${BASE}/scripts",
SHADERS = "${BASE}/shaders",
TEMPORARY = "${BASE}/temp"
}
ModuleConfigurations = {
GlobeBrowsing = {
WMSCacheEnabled = false,
-- OfflineMode = true,
-- NoWarning = true,
WMSCacheLocation = "${BASE}/cache_gdal",
WMSCacheSize = 1024, -- in megabytes PER DATASET
TileCacheSize = 2048 -- for all globes (CPU and GPU memory)
},
Sync = {
SynchronizationRoot = "${SYNC}",
HttpSynchronizationRepositories = {
"http://data.openspaceproject.com/request"
-- "http://openspace.sci.utah.edu/request"
}
},
Server = {
AllowAddresses = { "127.0.0.1", "localhost" },
Interfaces = {
{
Type = "TcpSocket",
Identifier = "DefaultTcpSocketInterface",
Port = 4681,
Enabled = true,
DefaultAccess = "Deny",
RequirePasswordAddresses = {},
Password = ""
},
{
Type = "WebSocket",
Identifier = "DefaultWebSocketInterface",
Port = 4682,
Enabled = true,
DefaultAccess = "Deny",
RequirePasswordAddresses = {},
Password = ""
}
}
},
WebBrowser = {
Enabled = true
},
WebGui = {
Address = "localhost",
HttpPort = 4680,
WebSocketInterface = "DefaultWebSocketInterface"
},
CefWebGui = {
-- GuiScale = 2.0,
Enabled = true,
Visible = true
},
Space = {
ShowExceptions = false
},
Exoplanets = {
ShowComparisonCircle = false,
ShowHabitableZone = true,
UseOptimisticZone = true,
HabitableZoneOpacity = 0.1
}
}
Fonts = {
Mono = "${FONTS}/Bitstream-Vera-Sans-Mono/VeraMono.ttf",
Light = "${FONTS}/Roboto/Roboto-Regular.ttf",
Console = "${FONTS}/Inconsolata/Inconsolata-Regular.ttf",
Loading = "${FONTS}/Roboto/Roboto-Regular.ttf"
}
FontSize = {
FrameInfo = 32.0,
Shutdown = 14.0,
Log = 8.0,
CameraInfo = 12.0,
VersionInfo = 12.0
}
Logging = {
LogDir = "${LOGS}",
-- LogLevel = "Trace",
LogLevel = "Debug",
ImmediateFlush = true,
Logs = {
{ Type = "html", File = "${LOGS}/log.html", Append = false }
},
CapabilitiesVerbosity = "Full"
}
ScriptLog = "${LOGS}/ScriptLog.txt"
Documentation = {
Path = "${DOCUMENTATION}/"
}
VersionCheckUrl = "http://data.openspaceproject.com/latest-version"
UseMultithreadedInitialization = true
LoadingScreen = {
ShowMessage = true,
ShowNodeNames = true,
ShowProgressbar = false
}
CheckOpenGLState = false
LogEachOpenGLCall = false
PrintEvents = false
ShutdownCountdown = 3
ScreenshotUseDate = true
BypassLauncher = false
-- OnScreenTextScaling = "framebuffer"
-- PerProfileCache = true
-- DisableRenderingOnMaster = true
-- DisableInGameConsole = true
GlobalRotation = { 0.0, 0.0, 0.0 }
MasterRotation = { 0.0, 0.0, 0.0 }
ScreenSpaceRotation = { 0.0, 0.0, 0.0 }
OpenGLDebugContext = {
Activate = true,
PrintStacktrace = false,
FilterIdentifier = {
{ Type = "Other", Source = "API", Identifier = 131185 },
-- API_ID_RECOMPILE_FRAGMENT_SHADER performance warning has been generated. Fragment shader recompiled due to state change
{ Type = "Performance", Source = "API", Identifier = 2 },
-- Pixel-path performance warning: Pixel transfer is synchronized with 3D rendering
{ Type = "Performance", Source = "API", Identifier = 131154 },
-- Buffer performance warning: "copied/moved from VIDEO memory to HOST memory"
{ Type = "Performance", Source = "API", Identifier = 131186 },
-- API_ID_LINE_WIDTH deprecated behavior warning has been generated
{ Type = "Deprecated", Source = "API", Identifier = 7 },
-- Program/shader state performance warning: Vertex shader in program %i is being recompiled based on GL state.
{ Type = "Performance", Source = "API", Identifier = 131218 },
-- This is getting a bit wordy
{ Type = "Push group", Source = "Application", Identifier = 0 },
{ Type = "Pop group", Source = "Application", Identifier = 0 },
},
-- FilterSeverity = { }
}