Commit Graph

3742 Commits

Author SHA1 Message Date
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
Emma Broman
d31b20decf Adapt disc shader to handle asymmetric uncertainty intervals 2020-10-16 17:06:13 +02:00
Emma Broman
2699eb1d71 Avoid problems with apostrophes in star names 2020-10-16 13:29:39 +02:00
Emma Broman
f4628cd296 Don't list systems where there is not enough data 2020-10-16 09:34:55 +02:00
Emma Broman
98ef020c4a Clean up some headers 2020-10-16 08:53:12 +02:00
Emma Broman
11425dfdb7 Replace unused system rotation computation with the one that is actually used 2020-10-16 08:53:12 +02:00
Emma Broman
6b25489819 Compute valid angles for KeplerTranslation 2020-10-16 08:53:12 +02:00
Emma Broman
bef3e0d661 Test every planet for insufficient data, not just the first one 2020-10-16 08:53:12 +02:00
Jonathas Costa
522072c57f Removed unused ignore. 2020-10-15 16:53:45 -04:00
Jonathas Costa
cde1fa8b5d Temporally fixed attribute location error for NightLayers layer. 2020-10-15 16:50:27 -04:00