Commit Graph

3751 Commits

Author SHA1 Message Date
Alexander Bock
0bc3bb4065 Simplification of RenderableAtmosphere
- Removing duplicate member variables and indirection
 - Asset: Replacing AtmosphereRadius with AtmosphereHeight
 - Asset: Rename GroundRadianceEmittion to GroundRadianceEmission
 - Add Documentation checking to Dictionary value retrieval
 - Remove unused Image group
2021-01-03 18:06:36 +01:00
Alexander Bock
198160000d Simplify the dictionary value extraction in the RenderableAtmosphere 2021-01-03 11:57:00 +01:00
Alexander Bock
29a76c7d33 Coding style pass on shader code 2021-01-02 21:11:13 +01:00
Alexander Bock
7004c02b86 Happy new year 2021-01-02 15:26:51 +01:00
Alexander Bock
067c0f4b27 Introduction of new Dictionary class (#1446)
* Adapting to introduction of new Dictionary class in Ghoul
 * Mainly replacing usage of float instead of doubles as expected
 * Adjust to the lack of the hasKeyAndValue function
2021-01-02 15:07:11 +01:00
Alexander Bock
7bf7a25401 Updated submodules (#1444)
* Update submodules
 - Ghoul
   - assimp (5.0.0 -> 5.0.1)
   - catch2 (2.11.1 -> 2.13.3)
   - fmt (7.0.3 -> 7.1.3)
   - freetype2 (2.10.1 -> 2.10.4)
   - glbinding (3.1 -> 3.2)
   - glm (0.9.9.5 -> 0.9.9.8)
   - websocketpp (0.7.x -> 0.8.2)
 - SGCT
   - fmt (7.0.3 -> 7.1.3)
   - freetype (2.9.1 -> 2.10.4)
   - GLM (0.9.9.6 -> 0.9.9.8)
* Update to new include external definition
* Remove warning about no eof newline
2020-12-29 13:44:57 +01:00
Alexander Bock
ad8af3ffeb Feature/CMake (#1443)
General CMake cleanup/overhaul
* Enable precompiled headers for all projects
* Move specifications itto separate CMakeLists files
  * Add openspace-core as a subdirectory
  * Move handle_modules functionality into modules/CMakeLists.txt
  * Move handleapplications logic into apps/CMakeLists.txt
* Introduce openspace-module-collection interface library to simplify inclusion of modules in applications
* Turn module initialization into a two-step process to adapt to the new minimal dependency scenario
* Compile time speedup
  * Remove circular dependencies between modules and core preventing multithreaded compilation on MSVC
  * Build Spice multithreaded and as static library
  * Remove dependency from core to module-webbrowser
  * Remove unused dependency from kameleon
  * Remove additional unnecessary dependencies
  * Cleanup volume/kameleon/kameleonvolume modules
  * Fix visibility issues. Restrict include paths
  * Compile kameleon in parallel
* Other cleanup
  * Only copy CEF files from one target (hard-coded to OpenSpace right now)
  * Remove unused instrumentation code
  * Remove the ability to render AABB for globes as it caused a circular dependency between GlobeBrowsing and Debugging
  * Removing compiler and cppcheck warnings
  * Turn almost all includes into non-system includes
  * Don't warn on deprecrated copy
* Updated submodules
2020-12-28 18:26:57 +01:00
Emma Broman
37761dde2a Avoid potential problems with non initialized nan values 2020-12-11 11:29:48 +01:00
Jonathas Costa
c13b211add Fixed issue 1432: globebrowsing and shadow mapping. (#1433) 2020-12-09 18:36:23 +01:00
Alexander Bock
eb69d2219a Restructure DashboardItems
- Add a new class DashboardTextItem that is a DashboardItem that can render text with font
2020-12-09 00:44:25 +01:00
Alexander Bock
8d3bf03db0 Some work on DashboardItems
- Add new DashboardItemText that displays a static text on screen (closes #1423)
 - Add the ability to change the format string to the DashboardItemDate, DashboardItemDistance, and DashboardItemSimulationIncrement
2020-12-08 23:44:24 +01:00
Emma Broman
63160768d5 Exoplanets cleanup (#1428)
* Remove name conversion to match speck file
 * Instead update the speck file so that the names are consistent between files
 * Tiny cleanup
 * Enable visualization of systems with a subset of planets missing data
 * Prevent overriding star information with non valid data
2020-12-08 20:55:10 +01:00
Alexander Bock
184d940944 A bit more code cleanup 2020-12-08 16:37:25 +01:00
Micah Acinapura
3db2bf47ea Update for Jupiter moon shadows (#1426) 2020-12-08 16:29:49 +01:00
Jonathas Costa
3045bfc78b Issue/1342 (#1354)
* Fixing size flickering when moving towards the screen border.
* First pass at adjusting DU scale/max size values

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2020-12-08 11:15:17 +01:00
Alexander Bock
d95c6c4a47 Removing Clang on MacOS warnings. No longer create external control that doesn't work anymore 2020-12-08 00:24:24 +01:00
Alexander Bock
86bb19d81c Feature/warnings (#1425)
* Remove MSVC, GCC, Clang compiler warnings
* Remove cppcheck warnings
2020-12-07 23:43:05 +01:00
Alexander Bock
51470c0a0d Issue/1355 (#1424)
* Move glfw init after macOS window is ready
* MacOS fixes for BigSur
* Compile fixs
* Rename hirise.asset since linux filenames are case-sensitive
* Modified globals DataStorage method to make Linux and Mac happy
* Switched to unsecure http URLs for satellites due to httprequest problem
* Keep the QApplication around on Mac because of some reason otherwise the keyboard handler crashes
* Add comment explaining the madness
* Apply same techniques to the globalscallback file

Co-authored-by: Micah Acinapura <micahnyc@gmail.com>
Co-authored-by: Gene Payne <payne.gene@gmail.com>
2020-12-07 23:41:20 +01:00
Jonathas Costa
3d1bd9122e Added checking to avoiding compile the globebrowsing shaders with accurate normals support when no height information is available. (#1422) 2020-12-05 23:23:25 +01:00
Alexander Bock
f4831b0c03 Feature/jenkins (#1419)
* Add ability to toggle operating system builds on Jenkins via environment variables
* Update ghoul repository
* Update SGCT repository
* Reduce chattiness of the Jenkins log file
* Build native and ninja builds in parallel
* Disable ninja build on Windows as it fails with the OpenSpace Helper
2020-12-02 21:11:46 +01:00
Alexander Bock
60e3ed2170 General pass for coding style 2020-11-28 22:31:06 +01:00
Alexander Bock
ab78132607 Disable culling for renderableplanetsclose (closes #1411) 2020-11-28 19:01:38 +01:00
Emma Broman
f7cd107744 Add 'no-data' representation of exoplanet host star 2020-11-20 19:41:39 +01:00
Alexander Bock
88cab58f09 Add the ability to toggle planets in the customization/globebrowsing.asset (closes #1392)
Improve the handling of reading info files that have error messages
2020-11-18 21:43:14 +01:00
Emma Broman
929f5e65c6 Avoid errors caused by dots in exoplanet identifiers 2020-11-18 09:33:23 +01:00
Alexander Bock
3f365d1b1c Add Oumuamua and Borisov to the asteroids profile
Add a check to the ssdb parser that checks for empty strings
2020-11-16 15:09:21 +01:00
Alexander Bock
997c65f729 Update kameleon repository 2020-11-12 23:02:18 +01:00
Jonathas Costa
8ad757263f Added initial position (far away) in the g-Buffer position. (#1360)
* Added initial position (far away) in the g-Buffer position.
* Fixed bug with Sun's star and atmosphere.
2020-11-12 22:10:01 +01:00
Malin E
af5ea6ad3a Merge pull request #1368 from OpenSpace/issue/1185
Issue/1185
2020-11-05 09:49:30 +01:00
Malin Ejdbo
33191aafcb More cleanup 2020-11-04 14:18:21 +01:00
Mikael Pettersson
9fa01165de Added Lowlevel mouse filtering in touch module (#1365)
- This disables windows "injected" mouse events, which stem from touch
- Only attaches if we are not debugging, as this is a global listener
  and would stall the OS if we put a breakpoint with touch module
- note that this means that debugging behaviour is different with touch enabled
2020-11-04 13:28:50 +01:00
Jonathas Costa
3fbefa5324 Feature/orion changes (#1359)
* Changed RenderableModel to allow user-control depth and blending.
* Updated RenderableModel to correctly handle the Orion Nebula model.
Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
2020-11-04 13:11:25 +01:00
Jonathas Costa
db4f16f75f Issue/1223 (#1358) 2020-11-04 12:59:42 +01:00
Malin Ejdbo
b5df4fcb37 General cleanup 2020-11-04 08:35:02 +01:00
Malin Ejdbo
fd16d67405 Merge branch 'master' into issue/1185
* Update to master
2020-10-28 16:23:40 +01:00
Micah Acinapura
d7f799da63 Load psf texture on init so its readey for rendertime (#1356) 2020-10-28 14:24:37 +01:00
Alexander Bock
efffc25ce0 Feature/globals handling (#1352)
* Cleaner handling of global state
* Prevent Lua memory corruption (closes #982)
* Initialize glfw first thing to prevent weird joystick loading bug during startup
2020-10-21 22:30:05 +02:00
Emma Broman
6b563e0dbc Add forgotten return statement 2020-10-21 14:00:42 +02:00
Alexander Bock
1eea6eedeb Prevent crash when setting a PSF texture for Stars that didn't exist (closes #1222) 2020-10-20 23:46:42 +02:00
Alexander Bock
03a29eaf2d Update cfitsio to remove the creation of an empty unistd.h file 2020-10-20 23:06:21 +02:00
Alexander Bock
9d3e181d38 Fix issue that makes swiftshader folder to appear over and over again 2020-10-20 22:54:05 +02:00
Alexander Bock
87f10ea12d Merge pull request #1349 from OpenSpace/issue/1337
Fix for crash if screenspace image load fails
2020-10-19 17:52:36 +02:00
Alexander Bock
811a84df0f Fix issue where Wormhole server's script messages could not be decoded
Fix issue where dashboard item for parallel peer would not report line number correctly
Closes #1011
2020-10-19 17:48:16 +02:00
GPayne
37ac1466b4 Fix for crash if screenspace image load fails 2020-10-18 14:13:27 -06:00
Alexander Bock
940723342d Add the ability to filter the colormap linearly in the RenderableBillboardCloud
Add a butting to the RenderableBillboardsCloud to set the color table range to the min/max value of the dataset
2020-10-18 19:00:26 +02:00
Alexander Bock
0779c54a07 Provide correct error message if the ProfileName is empty
Don't include Voyager and Pioneer in the base asset as it takes too long to load
Ensure that the webgui asset can load without the dashboard
Fix scripting issue in Rosetta scene with trails
Fix issue with Dashboards that would actually render one line too far down causing trouble with multiline text
Set the render option for renderablebillboards to view direction by default as the normal mode has some issues (see #1342)
Set more sensible maximum value for RenderablePlanesCloud
Correctly show the number of significant digits in the altitude
Replace setPropertyValue with setPropertyValueSingle when clicking on the friction "buttons" on screen
Add a new script function hasProperty to check whether a property exits
2020-10-17 20:10:15 +02:00
Alexander Bock
0838973b5a Merge pull request #1339 from OpenSpace/issue/1323
Issue/1323
2020-10-17 16:59:37 +02:00
Alexander Bock
03051fdaa8 Merge pull request #1338 from OpenSpace/feature/exoplanets-improvements
Exoplanets - fixes to avoid errors when adding/removing systems
2020-10-17 16:50:39 +02:00
Alexander Bock
b246984d2d Merge pull request #1332 from OpenSpace/feature/billboard-color-range-property
Adding color range as runtime property for billboards
2020-10-17 16:48:44 +02:00
Jonathas Costa
c7f239d3dc Fixed issue 1323. 2020-10-16 16:56:51 -04:00