Commit Graph

11189 Commits

Author SHA1 Message Date
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
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
Alexander Bock
cd7788ff1d Fix error with eclipse shadow cone flipping 2023-08-17 15:46:49 +02:00
Alexander Bock
bd153b3f4f Use correct error type in geojsoncomponent; Check for (0,0,0) camera vectors in navigator; Fix issue with non-ASCII characters when making identifiers 2023-08-17 02:00:18 +02:00
Gene Payne
f692b8a7a4 Merge pull request #2817 from OpenSpace/issue/2475
Issue/2475 : Tooltip descriptions in launcher for window configs
2023-08-15 13:25:02 -06:00
Gene Payne
6011af6030 Merge pull request #2844 from OpenSpace/issue/2623
Add search text box and filtering capability to Launcher profile assets editor
2023-08-15 12:57:07 -06:00
Malin E
d88cc9d9d5 Make sure that the volume textures never gets smaller than 1x1, fixes #2852 2023-08-15 11:16:34 +02:00
GPayne
16591fab56 Added another visual test for JWST 2023-08-14 15:53:45 -06:00
Alexander Bock
56abd768c9 Update Voyager kernels to reach year 2100 (closes #2790) 2023-08-14 16:08:45 +02:00
Alexander Bock
153e71853e Fix up the missing SkyBrowser functions for naming scheme 2023-08-14 15:05:39 +02:00
Alexander Bock
1b0b7e73f7 Fix faulty deinitialization in scene graph nodes that would cause nodes to be ignored (closes #2851). Add warning message if nodes are not deinitialized at the end of the program 2023-08-14 14:42:23 +02:00
Joakim Kilby
f179f20c96 Remove tile-padding to reduce stair-stepping issues (#2842)
* account for availability of next level in desired level

solves #2834

* remove tile-padding option & functionality

* remove (no longer needed) recursive read function

since we no longer padd tiles we cannot sample outside of a read region
anymore.

* change default tilesize for heightlayers to avoid discontinuities

* make frustum culling control a debug property

* Small style guide fix

* clarify if-statement with comment

* add variable for default height-tile resolution, update comment

---------

Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
2023-08-14 13:38:20 +02:00
Gene Payne
cbe215fc5b Code review changes 2023-08-11 16:16:19 -06:00