Commit Graph

11220 Commits

Author SHA1 Message Date
Andreas Engberg f3c4fc54db Update UrlSynchronization to limit amount of downloads (#2586) (#2933)
Limits the number of URL synchronization downloads by time stamping files for X seconds fixes (#2586). 
Also, show the amount of downloaded data as soon as the download is started fix (#2460)

* Adds time validity to UrlSynchronized files (#2586)

Updated affected asset files. Satellite asset files lasts for 24h by default now. Other assets are updated to work as before. Obs timestamp is computed using UTC time.

* Code cleanup

* Update httpsynchronization.cpp

* Applied suggestions from code review

* Update multi-line comment to `//`

* Remove accidental commas in .asset files

Co-authored-by: Emma Broman <emma.broman@liu.se>

* Fixed PR comments + bug in .asset file

* Refactor code

* Reports downloaded data as early as possible, fixes (#2460)

* More files

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Emma Broman <emma.broman@liu.se>
2023-11-14 17:08:38 +01:00
Andreas Engberg 9343c6315d Adds warning and error messages on loading screen (#2941)
Fixes task 1 of (#494)

* Removed loading screen progress bar

It was removed because it does not show an accurate estimation of load times and is rarely used (off by default)

* Add status info to the loading screen on warnings and errors 

Add: Warning logs and above to loading screen, fixes task 1 of (#494)
Removed code duplication in openspanceengine.cpp
Fixed some bugs where completed assets would not disappear from the screen

* Update the design & address PR comments

* Address PR comments & add bool to show/hide log msg

* Delete test_configuration.cpp

* Update Ghoul submodule

* Renders number of warnings and errors to screen

* Update renderengine.cpp

* Adapt new function to the coding style

---------

Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
2023-11-14 15:40:30 +01:00
Emma Broman c54e72136d Update GUI hash again (closes #2908) 2023-11-13 16:08:17 +01:00
Emma Broman 72bb6d3cc4 Update GUI hash
- Rewrite final classes to functional https://github.com/OpenSpace/OpenSpace-WebGuiFrontend/commit/8c0740c66e41742d7b7636b98e7591d9b7ab32a1
- Fix some things that broke wiht that rewrite
- Update dependencies
- Fix for issue #2893
2023-11-13 15:32:11 +01:00
Alexander Bock 098cced1e7 Undo accidental removal of UI code 2023-11-13 10:17:22 +01:00
Alexander Bock b62e604b2e Adds a persistent file used to store user settings (#2931)
* Enable the loading of settings
* Add a user interface for changing the settings in the launcher


Co-authored-by: Emma Broman <emma.broman@liu.se>
2023-11-13 08:52:51 +01:00
Emma Broman 709cb24bbb Simplify Apollo LEM Model Rotation - Allows using IdleBehavior to orbit around up (#2916)
* Simplify Apollo LEM Model Rotation and allow using IdleBehavior to orbit around up-vector

* Add rotation values from Carter
2023-11-09 11:18:45 +01:00
Alexander Bock 49106c336e Update Tracy submodules 2023-11-08 10:26:34 +01:00
Alexander Bock f2524c27c4 Fix Tracy 2023-11-08 07:40:14 +01:00
Alexander Bock eeb536c9e1 Add the ability to set individual commandline options at the expense of a generic Lua script
Note breaking change: Previously `--config` specified one or more Lua scripts that were executed to update the configuration state, now the `--config` sets the path to the window configuration instead
2023-11-07 16:19:59 +01:00
Andreas Engberg 01acbc0e48 Merge branch 'master' of https://github.com/OpenSpace/OpenSpace 2023-11-07 09:19:57 +01:00
Andreas Engberg d38f2583ca Fixed: Stopping all http downloads if user exits program 2023-11-07 09:19:22 +01:00
Alexander Bock d0efe88aa2 Fix capitalization of lagrange points GuiPath (closes #2934) 2023-11-06 16:25:41 +01:00
Andreas Engberg e5672e2652 Update HttpSynchronization to keep track of files downloaded (#2587) (#2930)
* Update HttpSynchronization to keep track of files downloaded (#2587)

Reads ossync file on synchronization and download files that are missing

* Apply suggestions from code review

Co-authored-by: Alexander Bock <alexander.bock@liu.se>

* Apply suggestions from code review

* Fixed merge conflict errors

* Fixed asset being rejected on successful sync

* Add enum for download fail/success, sleep between download retries.

Removed comments and todos

* Fixed PR comments

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-11-06 11:06:35 +01:00
Alexander Bock 870850db07 Enable warnings for missing case labels and subsequent cleanup. Updated ghoul, sgct, and codegen repository for same 2023-11-05 22:16:06 +01:00
Joakim Kilby 549f360be6 update ghoul submodule to include hasValue optional support (#2929) 2023-10-30 08:38:32 +01:00
Alexander Bock ad99d01046 Add first version of mailmap script 2023-10-30 14:35:28 +11:00
Alexander Bock 6ef7fba5c3 Clarify Code of Conduct 2023-10-30 13:44:13 +11:00
Alexander Bock 63c339af58 Update bug_report.md 2023-10-19 12:07:24 +02:00
Alexander Bock af24a98940 Ask for version in bug report template 2023-10-19 12:06:52 +02:00
Alexander Bock b43a13d39e Merge asset.localResource and asset.syncedResource (#2906) 2023-10-19 11:59:25 +02:00
Alexander Bock 06a7c692c5 Add special handling for a number of properties in the DashboardItemPropertyValue (closes #2899) 2023-10-19 11:21:28 +02:00
Alexander Bock 1dbe58a8ac Add a new property to control whether the blackout factor should apply to the master (closes #2923) 2023-10-18 22:29:51 +02:00
Alexander Bock 15f175ce3d Update SGCT submodule 2023-10-16 20:06:08 +02:00
Alexander Bock 685b185b5e Fix property spelling 2023-10-16 13:29:07 +02:00
Micah Acinapura abee11f973 changed shader variables from const for mac compilation (#2915) 2023-10-09 19:38:49 -04:00
Micah Acinapura c56ca4d71c Update default_layers for Europa
Made the local layer for Europa default as the new york is broken and the Sweden is misaligned.
2023-10-06 13:54:40 -04:00
Alexander Bock 4cc8e394fb Add sponsor logos 2023-10-06 14:51:57 +02:00
Alexander Bock 49b3cb9eb1 Fix naming of umbral and penumbral shadows 2023-10-06 14:12:18 +02:00
Gene Payne 4ef2bd0519 Non-Windows compiler fix for empty initializer list (PR#2898 from issue/2897) 2023-09-29 13:56:00 -06:00
Alexander Bock 46ed8382e8 Add the ability to specify a custom shader for the RenderableGalaxy class 2023-09-28 09:40:51 +02:00
Alexander Bock 38308a4cde Store the mrf cache in a mrf_cache subfolder inside the OPENSPACE_GLOBEBROWSING instead if it is provided 2023-09-27 23:48:37 +02:00
Alexander Bock 357f58ccfe Use OPENSPACE_GLOBEBROWSING instead of OPENSPACE_MRFCACHE 2023-09-25 16:54:10 +02:00
Gene Payne c6ffddd253 Non-Windows compiler fix for empty initializer list 2023-09-22 11:35:10 -06:00
Alexander Bock 30003ae20f Add new environment variable flag to control the MRF cache location 2023-09-21 20:51:33 +02:00
Malin E ce789fcd22 Feature/matrix maintenance (#2875)
* Split RenderableSphere class into a local and an online sphere

* Make the video sphere derive from the regular sphere

* Make RenderableTimeVaryingSphere derive from RenderableSphere

* Some clean up

* Add general functions for renderable matrix calculations

* Make RenderableSphere and Plane use them

* Fix an issue with the RenderablePlane shader

* Make one function that returns all three types of render matrices

* Make more Renderables use the general matric calculation function

* Make more Renderable use the general matrix function

* Simplify alternative transforms for matrix calculations

* Small clean-up

* Update RenderableModel (again) to use new transform functions

* Make calc all matrix function to return tuple

* Update some more places
2023-09-21 14:22:36 +02:00
Garrett Summerfield 36ee6840b5 Bump CCfits to 2.6 (fixes #2891)
Updated CCfits submodule.
2023-09-21 13:01:43 +02:00
Alexander Bock 4aac713185 Make the eclipse profile start at 'yesterday' 2023-09-15 20:45:25 +02:00
Malin E 8c0c90dcf8 Update touchbar remote scripting, fixes #2884 2023-09-13 14:04:49 +02:00
Alexander Bock 7483b912e0 Update submodules to fix compilation error on newer Clang and GCC (#2890)
* Update submodules

* Update Ghoul
2023-09-13 09:51:30 +02:00
Alexander Bock a4af241cad Add assets for eclipse profile (#2878)
* Add assets for eclipse profile
* Include the eclipse shadow in the eclipse profile
* Fix issue with the eclipse extended in both directions.  Disable the Earth and Moon grids by default in the profile
2023-09-13 09:50:09 +02:00
Alexander Bock a2d8e40fb5 Create SECURITY.md 2023-09-13 09:44:46 +02:00
Alexander Bock 8c327576d5 Update editorconfig file 2023-09-12 13:18:25 +02:00
Alexander Bock a2004e7bad Fix issue with example video for the globe 2023-09-12 13:18:11 +02:00
Alexander Bock e763aeeba9 Global pass over all actions to make most of them not local 2023-09-11 20:09:37 +02:00
Emma Broman 80ecc7d7e4 Fix misspelled IsLocal in actions assets 2023-09-11 16:14:41 +02:00
Emma Broman 247f48058f Update GUI hash (to get double actions update for PR #2872) 2023-09-11 15:47:05 +02:00
Emma Broman d77836d910 Feature/arrow renderable (#2219)
* Create a RenderableNodeLine example asset

* First version of node direction hint renderable (arrow)

* Add possibility to set length as a multiplier of the bounding sphere

* Draw arrow cylinder using index array

* Update exponents and min max values for lengths

* Draw arrow head

* Only update arrow geometry when positions change

* Add some properties to control visuals of arrow

* Implement invert option

* Add normals and shading

* Set arrow head size by length percentage instead of angle

* Add bottom circle to cone

* Cleanup and update examples

* Remove non-existing property from example asset

* Fix vertices not updating if anchor node was changed

And some missing updates on property change

* Start cleaning up some shape rendering helper functions

* Cleanup code and move cylinder function to helper class

* Refactor cylinder creation code (fewer loops over same vector)

* Update transformations to correctly scale and place arrow

* Add the cone to make the arrowhead

* Update faulty triangle normals

* Add property visibilities

* Rename NodeDirectionHint to NodeArrow

* Apply suggestions from code review

Co-authored-by: Alexander Bock <alexander.bock@liu.se>


---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-09-11 11:04:46 +02:00
Emma Broman 7bfedbdf12 Feature - OrbitalNavigator Setting - Orbit Around Up (#2874)
* Hack to try to get desired behavior (for testing)

* Add properties to control axes of rotation and whether rotation aorund up should be enabled

* Generalze orbit function to just use an angle instead of speed and deltatime

* Move speed scale computation to a separate function

* Refactor horizontal translation code a bit

* Refactor speed computation for idel behavior

* Refactor/clean up orbit code

* Add property docs

* Add some safety checks

* Apply suggestions from code review

Co-authored-by: Alexander Bock <alexander.bock@liu.se>

* More updates based on code review

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-09-11 10:44:12 +02:00
Alexander Bock aad8beb60c Remove warnings 2023-09-07 19:00:26 +02:00