mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 11:09:37 -06:00
* Added functionality of saving out screenshots (with fixed FPS) from a recorded session during playback. * Test of feature to request if all data is ready to be rendered, primary used in GlobeBrowsing. Need to go over how chunkTiles are set to OK (some are never OK..). * Estimated having working request of checking if chunks with correct level have their color and height data loaded and ready to be rendered. Will re-enable frames saving and try making a movie. * Created adaptive LOD factor based on available/unavailable tile data (such that we don't run a lot of iterations with asking for a pile of data that does not fit in the tile cache). * Made it able to specify tile cache size in configurastion file. Renamed other Cache value to WMSCache, as we have the TileCache as well. * Fix for when focus node has nor renderable, when checking for if dersired data has been loaded. Should probably check all renderable/planets anyway, not just a focus object.
195 lines
5.7 KiB
INI
195 lines
5.7 KiB
INI
-- The configuration has an implict
|
|
-- require('scripts/configuration_helper.lua')
|
|
-- which defines helper functions useful to customize the configuration
|
|
|
|
-- 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{}
|
|
|
|
-- 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}}
|
|
|
|
-- One window for the GUI and one window for Rendering. Good for presenting on a projector.
|
|
-- SGCTConfig = "${CONFIG}/single_gui.xml"
|
|
|
|
-- One window for the GUI and one window for Rendering fisheye
|
|
-- SGCTConfig = "${CONFIG}/single_fisheye_gui.xml"
|
|
|
|
-- 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"}
|
|
|
|
-- Spout exit
|
|
-- SGCTConfig = "${CONFIG}/spout_output.xml"
|
|
|
|
-- VR support only if compiled from source with OpenVR
|
|
-- SGCTConfig = "${CONFIG}/openvr_oculusRiftCv1.xml"
|
|
-- SGCTConfig = "${CONFIG}/openvr_htcVive.xml"
|
|
|
|
|
|
|
|
-- Sets the scene that is to be loaded by OpenSpace. A scene file is a description
|
|
-- of all entities that will be visible during an instance of OpenSpace
|
|
|
|
Asset = "default"
|
|
-- Asset = "default_full"
|
|
-- Asset = "newhorizons"
|
|
-- Asset = "rosetta"
|
|
-- Asset = "osirisrex"
|
|
-- Asset = "voyager"
|
|
-- Asset = "gaia"
|
|
-- Asset = "juno"
|
|
-- Asset = "messenger"
|
|
-- Asset = "insight"
|
|
-- Asset = "apollo8"
|
|
-- Asset = "apollo_sites"
|
|
|
|
-- 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"
|
|
}
|
|
|
|
Paths = {
|
|
DATA = "${BASE}/data",
|
|
ASSETS = "${DATA}/assets",
|
|
FONTS = "${DATA}/fonts",
|
|
TASKS = "${DATA}/tasks",
|
|
SYNC = "${BASE}/sync",
|
|
SCREENSHOTS = "${BASE}/screenshots",
|
|
WEB = "${DATA}/web",
|
|
RECORDINGS = "${BASE}/recordings",
|
|
|
|
CACHE = "${BASE}/cache",
|
|
CONFIG = "${BASE}/config",
|
|
DOCUMENTATION = "${BASE}/documentation",
|
|
LOGS = "${BASE}/logs",
|
|
MODULES = "${BASE}/modules",
|
|
SCRIPTS = "${BASE}/scripts",
|
|
SHADERS = "${BASE}/shaders"
|
|
}
|
|
|
|
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"
|
|
}
|
|
},
|
|
Server = {
|
|
Interfaces = {
|
|
{
|
|
Type = "TcpSocket",
|
|
Identifier = "DefaultTcpSocketInterface",
|
|
Port = 4681,
|
|
Enabled = true,
|
|
DefaultAccess = "Deny",
|
|
AllowAddresses = { "127.0.0.1", "localhost" },
|
|
RequirePasswordAddresses = {},
|
|
Password = ""
|
|
},
|
|
{
|
|
Type = "WebSocket",
|
|
Identifier = "DefaultWebSocketInterface",
|
|
Port = 4682,
|
|
Enabled = true,
|
|
DefaultAccess = "Deny",
|
|
AllowAddresses = { "127.0.0.1", "localhost" },
|
|
RequirePasswordAddresses = {},
|
|
Password = ""
|
|
}
|
|
}
|
|
},
|
|
WebBrowser = {
|
|
Enabled = true
|
|
},
|
|
WebGui = {
|
|
Address = "localhost",
|
|
HttpPort = 4680,
|
|
WebSocketInterface = "DefaultWebSocketInterface"
|
|
},
|
|
CefWebGui = {
|
|
-- GuiUrl = "http://localhost:4680/#/onscreen/",
|
|
-- GuiScale = 2.0,
|
|
Enabled = true,
|
|
Visible = true
|
|
}
|
|
}
|
|
|
|
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"
|
|
}
|
|
|
|
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
|
|
|
|
ShutdownCountdown = 3
|
|
ScreenshotUseDate = true
|
|
|
|
-- OnScreenTextScaling = "framebuffer"
|
|
-- PerSceneCache = 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 }
|
|
|
|
RenderingMethod = "Framebuffer"
|
|
OpenGLDebugContext = {
|
|
Activate = false,
|
|
FilterIdentifier = {
|
|
{ Type = "Other", Source = "API", Identifier = 131185 },
|
|
{ Type = "Performance", Source = "API", Identifier = 131186 }, --Buffer performance warning: "copied/moved from VIDEO memory to HOST memory"
|
|
{ Type = "Deprecated", Source = "API", Identifier = 7 } -- API_ID_LINE_WIDTH deprecated behavior warning has been generated
|
|
},
|
|
-- FilterSeverity = { }
|
|
}
|
|
--RenderingMethod = "ABuffer" -- alternative: "Framebuffer"
|