Commit Graph

5555 Commits

Author SHA1 Message Date
Malin E
ff805d334f Fix issue with atmosphere rendering on top of spheres 2023-05-26 16:34:38 +02:00
Malin E
6f8245d9cb Fix issue with atmosphere rendered on top of video plane
* Issue still persists with video sphere and regular sphere
2023-05-26 11:23:09 +02:00
Alexander Bock
842f991f8b Remove the explicit check for No Data Available tiles as the new ESRI server won't return those anymore (closes #2593) 2023-05-26 00:00:38 +02:00
Alexander Bock
fd5d453913 Add the option to not wait for tile loading for cases when the WMS server is misbehaving 2023-05-25 23:17:29 +02:00
Malin E
6054a817d8 Move model loading code to initialiseGL, fixes #1838 2023-05-24 16:40:17 +02:00
Emma Broman
c949a9892c Issue/2227 - Option to just specify a scene graph node in profile editor camera dialog (#2699)
* Add profile edit to start camera at a given scene graph node

* Restructure some navigation code to allow computing camera pose from node

* Delay computation of camera pose for node spec as well... And give NodeInfo a more extensive name (The objects may move during the frame, making the computed pose invalid)

* Update to make scene graph node first option in editor

* Add some description to each tab in the camera dialog

* Add operator== for CameraGoToNode struct to make the unit tests compile

* Add version handling for new profile version

* Add option to specify an optional height

* Update current version constant, for old test cases to go through successfully

* Add some test files

Note that apparently, the profile loading does not check the values of the individual fields, just existence, and type. So added two test cases that are not currently checked.

---------

Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
2023-05-24 11:22:41 +02:00
Malin E
4d9d4717d3 Set clear color for transparent models, fixes #2683 2023-05-23 11:25:48 +02:00
Malin E
9081a4db66 Make the numeric value of the model scale a property in the gui 2023-05-22 17:46:31 +02:00
Emma Broman
12d37d92a6 Fix faulty type for RenderableModel ModelTransform property input
from asset dictionary
2023-05-22 17:07:28 +02:00
Malin E
0490e94350 Fix modelshader example in Debug mode 2023-05-22 11:37:28 +02:00
Alexander Bock
94f9e1b051 Do not crash when trying to access a module folder that does not exist (closes #2703). Remove the ability to specify external modules 2023-05-17 22:32:13 +02:00
Joakim Kilby
ca4b6d2ce2 Fix viewport & window issues (#2630)
* Add support for multiple windows & viewports
With correct rendering of both Scene and Overlays/GUI.
GUI is restricted to either the first window or any other windows tagged
with "GUI", overlays are drawn on all windows/viewports.

Closes #2542 and #1645
2023-05-17 22:02:47 +02:00
Alexander Bock
5abbe9dcd9 Add the ability to fade the atmosphere (closes #2700) 2023-05-17 11:00:39 +02:00
Alexander Bock
d0d82b79fa Fix crash when building Speck cache (closes #2689) 2023-05-16 22:52:54 +02:00
Alexander Bock
4edb796147 Also set the socket type for the server connection correctly; Fix the broken spacetime component again 2023-05-16 15:34:32 +02:00
Alexander Bock
bde840ad03 Remove a bunch of compiler warnings
* Remove compile warnings
* Coding style fix
2023-05-16 11:59:28 +02:00
Joakim Kilby
f8d7d5386a terminate ZoneScoped calls (required after Tracy update) 2023-05-16 11:07:01 +02:00
Alexander Bock
8b5b9432b6 Add new property to IndexSequenceTileProvider that shows the number of available images (closes #2688) 2023-05-15 22:16:15 +02:00
Ylva Selling
b529a5c67e Merge branch 'master' of https://github.com/OpenSpace/OpenSpace 2023-05-12 11:08:39 -04:00
Micah Acinapura
4731e8e0a8 MacOS build fixes (#2622)
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Joakim Kilby <jockekilby@gmail.com>
2023-05-12 09:35:59 +02:00
Ylva Selling
c1e9993c27 Add option to have actions in a milestone in mission UI 2023-05-11 14:58:54 -04:00
Joakim Kilby
2268802978 remove flickering during tileindex loading
by restoring framebuffer, shader & viewport state/bindings after
rendering text.
2023-05-11 12:36:46 +02:00
Alexander Bock
9447a351b4 Increase the TilePixelSize for heightmaps loaded from info files 2023-05-10 23:13:27 +02:00
Alexander Bock
a5b8368b50 Fix bugs in videoplayer (#2678)
Remove from syncable list after destruction; only use one fbo; remove code no longer used

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2023-05-09 20:04:15 +02:00
Ylva Selling
487a0a8733 Add missing property dimensions to screenspace browser 2023-05-08 14:10:02 -04:00
Ylva Selling
142aba3684 Merge branch 'master' of https://github.com/OpenSpace/OpenSpace 2023-04-27 11:30:38 -04:00
Ylva Selling
b5d6ddc25a Only show properties that are valid for real time playback when real time playback is selected 2023-04-27 11:30:34 -04:00
Ylva Selling
d827d0a3c2 Add property for toggling looping of video 2023-04-27 11:29:49 -04:00
Alexander Bock
6dfd0cd3a8 Remove warnings on MSVC 2023-04-26 23:51:16 +02:00
Ylva Selling
2b3333c9ac Merge branch 'feature/documentation-cleanup' 2023-04-26 17:37:50 -04:00
Ylva Selling
d6ddd86a35 Rewrite asset json function to nlohmann::json 2023-04-26 17:30:51 -04:00
Ylva Selling
9a1e6b8002 Remove old json functions 2023-04-26 16:58:55 -04:00
Micah Acinapura
5ea6f1d21c handled underscore and period special in c++ for cef bug; also remove… (#2643)
* handled underscore and period special in c++ for cef bug; also removed F5 special code and changed to keybinding; closes #853; closes #896

* removed extra line

* fix formatting from review
2023-04-26 08:22:48 -04:00
Emma Broman
1762bec1c2 Make the Enabled properties advanced, show in GUI, and change name
Update GUI hash to show enabled property
2023-04-25 11:29:41 +02:00
Alexander Bock
d0d65e4234 Update CMake folders 2023-04-23 12:33:11 +02:00
Emma Broman
d58a52df2c Fix broken ImGui time picker unit dropdown (closes #2639) 2023-04-21 09:26:29 +02:00
Micah Acinapura
5a9bb529f3 Feature/night sky items (#2613)
* added night sky items and camera event
---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-04-16 17:29:48 -04:00
Alexander Bock
8a62752434 Jenkins fix for LibMPV on Ubuntu (#2621)
* Correctly add non-Windows dependencies
* Make libraries depend on the correct OpenSpace module
* Add missing destructor
2023-04-16 23:15:57 +02:00
Micah Acinapura
9be88fdea8 added more scale objects and helper file (#2605)
* added more scale objects and helper file

* Update file identifiers

* reworked scale models with node support script

* using url sync for models that need to be updated

---------

Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
2023-04-15 17:26:38 -04:00
Alexander Bock
db002d4cf7 Fix CMake issues when disabling unit tests, Add new CMake flag OPENSPACE_ENABLE_ALL_MODULES to change default behavior of module inclusion 2023-04-15 22:39:35 +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
Alexander Bock
8c7beea8a4 Reprivatize the registerUpdateRenderBinFromOpacity function 2023-04-15 10:20:39 +02:00
Alexander Bock
ca916877b2 Adapt the visibility settings for all properties 2023-04-15 09:33:31 +02:00
Ylva Selling
668cba8788 Merge pull request #2604 from OpenSpace/feature/documentation-overhaul
Feature/documentation overhaul
2023-04-14 18:42:44 -04:00
Ylva Selling
7fef92802d Merge pull request #2608 from OpenSpace/feature/video-module
Video module
2023-04-14 18:28:35 -04:00
Ylva Selling
9e20326c25 Fix bugs that appeared when addressing comments in PR 2023-04-14 17:53:30 -04:00
Ylva Selling
89b0fadf16 Add some example assets and fix issue in videoplayer.cpp 2023-04-14 16:47:27 -04:00
Ylva Selling
5789d86dab Address comments on PR 2023-04-14 16:29:42 -04:00
Ylva Selling
b4ad158ee5 Merge pull request #2603 from OpenSpace/feature/missions
Feature/missions
2023-04-14 15:19:37 -04:00