Commit Graph

379 Commits

Author SHA1 Message Date
Alexander Bock
006aefdff0 Remove explicit specification of read-only profiles and read-only configuration files and use a filesystem lookup instead 2023-05-11 16:03:13 +02:00
Adam Rohdin
c0a726a55b Fixed Property URI in asset and added Juice as Read-Only profile 2023-04-26 11:16:22 +02:00
Alexander Bock
548dd31513 Add commented line to support local hosting of the BigBang server 2023-04-23 12:13:14 +02:00
Alexander Bock
27ba567af8 Add the ability to set the default property visibility in the openspace.cfg file, which can be overridden with the OPENSPACE_LEVEL environment variable 2023-04-15 18:22:21 +02:00
Emma Broman
c714a7f57d Feature/geojson (#2595)
Add the option to add geojson components to globes, from geojson files. One geojson file creates one GeoJsonComponent, which in turn may contain multiple GlobeGeometryFeatures

Geojson is a format that supports points, lines, and polygons. In addition to the basic functionality, extra features have been added that will long-term allow rendering the geometry needed to represent KML files (another format for geospatial geometry data). Here are links to references for both formats:

    Geojson: https://geojson.org/
    KML: https://developers.google.com/kml/documentation/kmlreference

data/assets/examples/geojson includes some example files that I have used for testing. Any geojson file can also be added through drag-n-drop. Note however that you might need to change the AltitudeMode or HeightOffset properties for the feature to be visible.
2023-04-15 11:35:28 +02:00
Gene Payne
cec6e05ff1 Allow Window Config GUI to Edit Files (#2574)
* Added pboettch/json-schema-validator submodule

* Added initial code for selecting window config to edit

* Use updated sgct submodule with json-validate

* Bump sgct submodule version reference

* Bump sgct submodule version reference

* Version checking of sgct window config in progress

* Json schema validator submodule is now in sgct

* Added support for read-only window configs, and additional changes

* More changes with opening config in window edit, plus schema files added

* Update sgct schema version with more defs to work with sgctedit schema

* Fixes to get sgct edit schema working with dialog for error messages

* Improvements in exception handling

* Improved handling of multiple sgct & json exception types

* Minor improvements in exception messages

* Extra spaces in error message output

* Fixing importing of json config data from launcher to sgctedit

* Fixed window size & position update

* Changes for preserving settings in edit vs new mode

* Changes to import settings from config file

* More changes for importing testing of config file based on file tests

* Fixed window placement dims in monitor, and some code refactoring

* Move json validation before initial read

* Add CMake copy of sgct schema file to OpenSpace post-build

* Bump sgct submodule reference

* Modify calls for json schema validation and bump to latest sgct

* Bump to new sgct repo with unit testing and updated schema

* Added first test for window config editor schema

* Finished tests for sgcteditor validation

* Code cleanup pass

* Fix of sgctedit test for remove description

* CMake and include config changes to fix build after merge

* Bump sgct submodule version

* Improve paths in sgctedit test

* Bump sgct reference for test path fix

* Check for imported monitor number being in valid range

* Make sgct config 'monitor' key/value optional

* Have 'save' or 'save as' buttons depending on edit or new modes

* Code review feedback changes

* Fix to include the last file in the user config dir list

* Addressing some PR request

* Change to pass-by-reference in editRefusalDialog

* Separating errors into summary and detailed messages in error dialog

* Disable edit button with hover text if config read shows invalid format

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-04-14 18:28:31 -06:00
Malin E
72c66da7b7 Artemis mission (#2597)
* First version of co revolving reference frame for Artemis trail
* Add Orion model
* Add Artemis profile
* Add Moon trail and other small tweaks
* Use NOAA20 cloud layer instead of VIIRS
* Add some useful actions
* Add event to toggle trails on Approach/Receding
2023-04-13 21:18:31 +02:00
Joakim Kilby
b219638e29 Add ability to cache globe data using MRFs (#2565)
Enables globe-browsing data to be cached using caching mrf's as it is loaded from the original dataset. Subsequent reads of tiles that have been cached do not query the original dataset but picks it up from the mrf data.
Supports anything that can be used a dataset for a gdal raster but raw images such as JPGs are explicitly disallowed as they lack necessary geotransform data.

Activated on a global scale by setting the following keys in openspace.cfg (ModuleConfigurations/GlobeBrowsing)
MRFCacheEnabled = true,
MRFCacheLocation = "<somepath>",
Settings can be overriden on a per-layer basis by adding the following entries to the layer entity of an asset
CacheSettings = { Enabled = true, Compression = "LERC", BlockSize = 512, Quality=25 },

The following per-layer settings are available and override the global module settings:
Enabled : enable/disable caching for this layer.
Compression: The compression algorithm to use for tile cache storage. (JPEG, PNG, or LERC)
BlockSize: Size of tiles in cache, should be a multiple of 2 although this is not required.
Quality: The quality setting of the JPEG compression (when used)

Note that heightlayers must use LERC compresison and this is the default unless overridden by a layer.
2023-04-11 08:46:25 +02:00
Alexander Bock
0e2d5e245d Add the ability to configure the Console key through the openspace.cfg (closes #2573) 2023-04-03 10:53:09 +02:00
Alexander Bock
34de727dd7 Rename bastille-day profile to bastilleday2000 (#2089) 2022-05-06 14:25:00 -04:00
ElonOlsson
9f463ed09f a new profile for the 2012 solar storm event, with looping hotkeys (#2071)
* a new profile for the 2012 solar storm event, with looping hotkeys

* added interaction spheres, profile cleanup + better discription

* better actions and moved to assets instead of in profile

* Set unique names for the different fieldline data synchronizations

* single dataset in sequence now rendered before its associated timestamp

* fix read access violation + added redundancy

* load at start up instead of on runtime

Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
2022-05-06 10:23:45 -04:00
Ylva Selling
71d73fbd59 Make update time 50 ms for skybrowser topic 2022-04-27 11:41:53 -04:00
Ylva Selling
8a292c1645 Expose time interval to user in config file for sky browser topic. This will give the user control over how often data is passed. Hopefully a future proof fix for GPU crash 2022-04-26 14:39:00 -04:00
Emma Broman
92eefa8189 Add enabled property to Exoplanets and Skybrowser module (#1945)
* Add enabled property to exoplanets and sky browser module

* Create assets for default settings and restructure assets into a components folder

* Update exoplanets data

* Set sky browser enabled to true per default and include hover circle asset

* Add name and description of hover circle, and used synced version of ring image
2022-04-25 15:10:08 +02:00
Micah Acinapura
48b89a08a6 Issue/1824 (#1983)
* update globebrowsing customiztion to use env_var and added earth; closes #1824

* updated globebrowsing.asset
2022-04-08 12:49:17 -04:00
Alexander Bock
6a708b1f18 Implement new Spout input methods to Tileproviders and new Renderables (#1901)
* Implement new Spout input methods to Tileproviders and new Renderables

Co-authored-by: Marco Silva <marco@elumenati.com>
2022-03-03 23:47:09 +01:00
Alexander Bock
76dd45e5ce Event System (#1741)
* Add implementation of the EventEngine to handle global event chains
* Add properties to SceneGraphNodes to determine two distance radii for camera-based events
2021-10-11 21:53:00 +02:00
Alexander Bock
dfca605d63 Add the optional ability to print a stacktrace with an OpenGL error (closes #1700) 2021-07-30 15:37:03 +02:00
Alexander Bock
c4bddacfeb Remove nonfunctioning ABufferRenderer from RenderEngine 2021-07-30 12:01:07 +02:00
Alexander Bock
724ad5b553 Reduce fontsize of shutdown warning and center it instead with a dimming of the rendering (#1675)
* Reduce fontsize of shutdown warning and center it instead with a dimming of the rendering
2021-07-03 19:00:12 +02:00
Alexander Bock
b1f10b1b70 Add the ability to specify RenderEngine font sizes in the configuration file (closes #1653) 2021-06-17 15:39:16 +02:00
Malin Ejdbo
03a55c930d Make JWST profile read-only 2021-06-16 11:47:36 +02:00
Alexander Bock
abd084c0a9 Only use the adaptive level-of-detail when actually rendering out frames in a session recording (closes #1292); Remove OpenGL performance warning messages when writing frames due to expected GPU-CPU sync 2021-05-08 19:53:40 +02:00
Alexander Bock
4c80577d4b Rename PerSceneCache to PerProfileCache and make it work again (closes #1577)
Breaking change in openspace.cfg file:   PerSceneCache -> PerProfileCache
2021-05-05 16:14:00 +02:00
Alexander Bock
6aad31000f Don't produce OpenGL performance warning on Intel chips 2021-03-27 22:16:08 +01:00
Micah Acinapura
eec6b15781 Feature/user profiles assets (#1496)
* added user profile/asset tokens to config, launcher and profile editor


* creating one user directory for data, config, screenshots, recordings
2021-03-02 01:36:32 -05:00
Emma Broman
b381bd83d3 Add module property for exoplanet habitable zone opacity 2021-02-22 09:38:59 +01:00
Emma Broman
e21edaa13e Expose exoplanet creation settings to user as module properties (#1499)
* Expose exoplanet creation settings to user as module properties

* Set default textures from asset to avoid explicit paths to sync folder
2021-02-12 14:32:37 +01:00
Alexander Bock
f5d3659e8a Updated SGCT configuration link (closes #1457) 2021-01-19 10:28:08 +01:00
Alexander Bock
f3b373d249 Enable OpenGL debug context by default for the time being to prevent the frame stuttering from occurring 2020-11-17 11:22:38 +01:00
Alexander Bock
4d8dff01f5 Oops 2020-11-16 15:25:48 +01:00
Alexander Bock
ef081d27aa Try to get the location of the sync folder from the OPENSPACE_SYNC environment variable first, before using the ${BASE}/sync
Update SGCT repository
2020-11-16 10:43:08 +01:00
Alexander Bock
4069d944bc Disable V-Sync again
Set the line fade for Voyager and Pioneer more properly
2020-10-13 17:09:53 +02:00
Alexander Bock
77907fc7df Rename ProfilesReadOnly -> ReadOnlyProfiles 2020-10-13 16:22:05 +02:00
Micah
d88f6eda6b update of all profiles to json format, few asset fixes 2020-10-12 04:22:16 -04:00
Alexander Bock
4b26305340 Merge branch 'master' into feature/profile-gui
# Conflicts:
#	openspace.cfg
2020-10-11 11:18:45 +02:00
Alexander Bock
607d008cbf Fixing newlines at the end of files 2020-10-10 12:20:45 +02:00
Micah
7ed673e773 cleanup fixes 2020-10-08 23:41:50 -04:00
Micah
f617331c33 update to solarsystem for description on scene graph node. added earth observing trails for planets 2020-10-08 23:39:30 -04:00
Micah
0ccf4dfd1f update for gui meta panel 2020-10-04 16:26:52 -04:00
Gene Payne
5d5bfd340b Added configuration file bypass launcher key option 2020-10-02 15:49:27 -06:00
Gene Payne
ea26c18d9d Added feature to make 'standard' profiles read-only 2020-09-27 12:09:25 -06:00
Micah
2e61a0ba72 start of asset meta update 2020-09-25 17:14:41 -04:00
Alexander Bock
fbd903b4ff Move profiles to their own folder 2020-06-22 09:33:00 +02:00
Alexander Bock
d92982a097 Add suggested profiles to the openspace.cfg ifle 2020-06-20 23:17:18 +02:00
Alexander Bock
1e9df1cb4b Merge branch 'master' into feature/profiles
# Conflicts:
#	include/openspace/scene/assetloader.h
#	src/scene/assetloader.cpp
2020-06-14 17:54:25 +02:00
Micah Acinapura
b43c234541 mars2020 landed 2020-06-12 21:08:20 -04:00
Alexander Bock
433d96bbb4 SGCT compile fix
First pass for pull request
2020-06-11 00:24:58 +02:00
Micah
f82a0d14ad aded time range to voyager rotations; disabled spice exceptions by default; updated space module to read spiceexpection value; 2020-06-05 16:42:31 -04:00
GPayne
050029f16b Switched back to default scene in preparation for merge with master 2020-03-24 14:21:15 -06:00