Commit Graph

11200 Commits

Author SHA1 Message Date
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
Malin E
4447de87f5 Issue/2768 (#2872)
* Rename remote scripting property to reflect better what it does

* Change the remote scripting name in all modules

* Update all scripts and action calls to use the new property for sync

* Simplify code that decides whether to send actions to nodes and peers

* Move Lua console hint text to be right top aligned

* Update Lua script topic

* Added new JSON key whether or not the script should be synced to other
  nodes and peers

* Per default all scripts sync to everyone
  In the next full release, we should have two separate keys that
  decides whether to sync and send to nodes and peers separately

* Add some comments that explain why there is no sync for some scripts

* Make sync argument in trigger action function BooleanType
2023-09-07 13:21:29 +02:00
Alexander Bock
b49a8704dc Add new asset showing a text marker for the moon (closes #2831) 2023-09-06 08:55:02 +02:00
Ylva Selling
c3ae39da62 Change name of line fade in RenderableTrail from Fade to LineFade (#2857)
* Change name of line fade in RenderableTrail from Fade to LineFade

* Adress review comments

---------

Co-authored-by: Emma Broman <emma.broman@liu.se>
2023-09-01 14:10:10 +02:00
Alexander Bock
455ee9335a Add a proper blackout to the ScreenSpaceRenderables and a property and codegen option to toggle that behavior (#2868) 2023-08-31 18:19:37 +02:00
Gene Payne
559dd63bb4 Resolve window config GUI edit meta problem (issue#2860)
Fixes problem with window config meta format caused by typo in main sgct json schema
2023-08-30 20:34:59 -06:00
GPayne
0bf22efe72 Reference latest commit in sgct submodule master 2023-08-30 20:30:20 -06:00
Emma Broman
f591938f01 Add options to disable roll and zoom in OrbitalNavigator (#2866) 2023-08-29 09:12:02 +02:00
Gene Payne
bd35397e9e Bump sgct submodule rev to get meta fix in base sgct schema 2023-08-25 16:49:20 -06:00
Gene Payne
31a47d2a06 Added reference to meta in base sgct schema 2023-08-25 16:46:55 -06:00
Emma Broman
2d9932e323 Add tag to another pluto moon
File was apparently not saved or included in the last commit..
2023-08-23 08:47:59 +02:00
Emma Broman
baf0974c56 Increase default value for linear rotation speed (closes #2584) 2023-08-22 18:07:32 +02:00
Emma Broman
caa9492c42 Update GUI hash 2023-08-22 16:58:39 +02:00
Emma Broman
08d5662c17 Update faulty tags for Charon and update some other pluto moon tags for consistency 2023-08-22 15:43:26 +02:00
Emma Broman
3efd5407cb Fix crash when flying to NS with nonexisting anchor, and actually print error from path creation 2023-08-22 15:22:39 +02:00
Alexander Bock
d13dd78838 Nuking the cache folder when an inconsistent state in the cache is detected, rather than crashing (closes #2850) 2023-08-21 13:36:37 +02:00
Alexander Bock
c18ab49965 Sort additional scripts by row-order, not selection-order (closes #2862) 2023-08-21 13:26:26 +02:00
Emma Broman
31b04c1412 Update GUI hash 2023-08-18 16:40:59 +02:00
Emma Broman
4d5ce33903 Add UI descriptions and asset metas to a bunch of assets (#2845)
* Add asset meta and GUI description to AltAz grid and move to Night sky in menu

To avoid confusion with other grids, that have a global position rather than a local one

* Add asset metas and GUI descriptions to Night Sky assets

* Add metas and update name of some example assets

* Night sky asset meta

* Add descriptions and asset metas to scale objects

---------

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2023-08-18 16:33:59 +02:00
Emma Broman
1f32394fb2 Issue/2225 - Add exoplanets from a CSV file (#2846)
* Make reading exoplanet data from CSV during runtime work

* Add function descriptions

* Clarify an info message

* Initialize all data parameters with NaN, to prevent unpredictable values when a parameter is not included in the dataset

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

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-08-18 16:32:56 +02:00
Alexander Bock
4ae61a848e Using linear texture filtering on AMD until the crash can be fixed (addresses #2843) 2023-08-18 15:32:19 +02:00