Commit Graph

11172 Commits

Author SHA1 Message Date
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
Alexander Bock
e7cad060c2 Adapt to coding style 2023-08-11 20:58:41 +02:00
Ylva Selling
e241cd77c1 Merge pull request #2847 from OpenSpace/issue/2823
Add JUICE mission file
2023-08-11 10:54:11 -04:00
Ylva Selling
68c587fec8 Update data/assets/scene/solarsystem/missions/juice/mission.asset
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-08-11 10:54:01 -04:00
Ylva Selling
03d79a7b96 Update data/assets/scene/solarsystem/missions/juice/mission.asset
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-08-11 10:53:55 -04:00
Ylva Selling
873cc862c6 Update data/assets/scene/solarsystem/missions/juice/mission.asset
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-08-11 10:53:42 -04:00
Ylva Selling
c1aefb33d0 Update data/assets/scene/solarsystem/missions/juice/mission.asset
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-08-11 10:53:37 -04:00
Emma Broman
4ebdd58c97 Improve rendering of debug spheres (#2849)
Render in sticker, remove triangle mesh to make it easier to see if one sphere is inside the other, and add a description of which sphere is which
2023-08-11 09:45:50 +02:00
Alexander Bock
cb68ab87d9 Remove unused extra name for the amount of points in the eclipse cone and shadow cylinder 2023-08-11 09:42:24 +02:00
Alexander Bock
0ae73acc55 Add new Lua functions to get a list of all scene graph nodes, scene graph nodes by renderable type (closes #2558), and all screenspace renderables 2023-08-11 09:28:14 +02:00
Alexander Bock
ee82691beb Transmit the GlobeName through the TileProviderByLevel; Don't explicitly specifiy data and index filenames and not use the same name twice 2023-08-11 06:57:43 +02:00
Alexander Bock
8cd6338a56 Perform an update after creating a ScreenSpaceRenderable, causing images to be loaded immediately and provide error messages to the user (closes #2848) 2023-08-11 05:15:03 +02:00
GPayne
4433abdf79 Switched to Qt RegularExpression for asset search 2023-08-10 05:59:20 -06:00
Ylva Selling
ff421bc19a Add JUICE mission file 2023-08-09 14:47:08 -04:00
Malin E
72b186b805 Fix issue with hide all constellation lines action 2023-08-09 16:25:36 +02:00
Malin E
54ad5bfdd5 Add pivot property for Models to move model origin 2023-08-09 16:04:20 +02:00
Emma Broman
7411302334 Fix fatal error when starting profile with navigation state camera setting
And provide more information in the fatal error message... (emerged from commit 30b80843c3)
2023-08-08 13:41:20 +02:00
Gene Payne
9cfda4db2f Fixed the name in the meta section of each config 2023-08-07 12:50:06 -06:00