Commit Graph

5827 Commits

Author SHA1 Message Date
lundkvistarn ecc7665c7f temporary changed dashboarditemtext for displaying KP value 2024-09-11 16:59:19 -04:00
lundkvistarn b81d39966b removed hardcoded FOV 2024-09-11 11:43:25 -04:00
lundkvistarn f0766d7930 added distance threshold as property in RenderableSwitch 2024-09-11 10:21:22 -04:00
lundkvistarn 97cac1bc9c added scale by distance to renderable plane 2024-09-10 16:55:01 -04:00
lundkvistarn 68816f7d13 changed rotation distance in profile 2024-09-06 16:10:17 -04:00
lundkvistarn 780588cf6d big code cleanup and new oval with layers 2024-09-03 16:24:07 -04:00
lundkvistarn 0729306680 fixed another comment typo 2024-07-10 16:06:56 -04:00
lundkvistarn 61d5059b8a fixed small comment typo 2024-07-10 16:05:09 -04:00
lundkvistarn d9d4d19404 added timeframe to Geojson components 2024-07-10 16:02:44 -04:00
lundkvistarn 01d03a4204 Merge branch 'master' into feature/aurorasaurus 2024-07-10 10:06:39 -04:00
Andreas Engberg e7b6cbb4d6 Generate raw volume & metadata from csv file - task (#3344)
Adds a task to generate a raw volume (used in e.g., RenderableTimeVaryingVolume) from a CSV file.
2024-07-09 09:58:39 +02:00
lundkvistarn 8b5443326b made switch renderable more dynamic and added may assets 2024-07-08 14:38:22 -04:00
Malin E 0e26789561 Fix url sync (#3345)
* Make URL sync more thread-safe with working mutex

* Address PR comments

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-07-08 14:45:53 +02:00
Alexander Bock 0707829c7b Reducing compiler warnings (#3341) 2024-06-28 14:16:06 +02:00
Alexander Bock 55e196e351 Correctly consume char-based keyboard callbacks in the CEF module (closes #3290) 2024-06-24 14:06:57 -04:00
Alexander Bock 24e83d154e Make the 'Layer's specification in RenderableGlobe optional. Clean RenderableGlobe assets 2024-06-22 13:41:27 +02:00
Alexander Bock f04c088a4b Add the ability to specify dashboarditems for ScreenSpaceDashboard at construction time. Improve error messages and export DashboardItem documentation 2024-06-22 13:05:33 +02:00
Alexander Bock 02cc28f192 Generate the framebuffer for screenspace rendering without mipmapping as it handles transparency poorly 2024-06-22 09:13:13 +02:00
Alexander Bock 15c697218c Prevent crash when starting without any enabled audio devices (closes #3329) 2024-06-21 10:44:41 +02:00
Alexander Bock 27a2d56221 Mutex-protect the sync file generation to prevent a multi-threaded SPICE access crash on startup 2024-06-20 11:45:22 +02:00
Emma Broman 6cb4a7efef Fix issue with texture not updating on property change for RenderablePointCloud
Fix issue with texture not being rendered when the texture file path is set during runtime
2024-06-18 13:47:35 +02:00
Alexander Bock 01fa2898db FixedRotation rerequests a missing attached node or target node every frame to prevent incorrect initialization order 2024-06-15 18:07:39 +02:00
Alexander Bock 43645ce7a4 Fix existing assets; Make the goToGeo function without altitude in the profile work 2024-06-14 23:55:55 +02:00
Ylva Selling 059ab70218 Add events for adding and removing actions and publishing events when an action is added (#3325)
* Remove unused shortcut manager
* Add events for adding and removing actions
* Publish event when an action is added
* Add get_action event to shortcut topic which sends requested action to the topic
* Add better comments to events
* Publish event action removed when removing an action
* Rename actions to shortcuts in the json object
* Remove subscriptions and rename action to shortcut
2024-06-14 20:48:13 +02:00
Emma Broman b8c2701931 Fix forgotten renamed variables 2024-06-13 11:18:52 +02:00
Emma Broman d67fa4bc8d Clean up globebrowsing script function documentation and adapt to new format (#3307)
* Clean up globebrowsing script function documentation and adapt to new format
2024-06-13 10:50:54 +02:00
Emma Broman 62b2a8c8c1 Fix renderable sphere example and add one for using local image (#3306)
* Fix renderable sphere example and add one for using local image
2024-06-13 10:43:54 +02:00
Alexander Bock 7e62f9f4b0 Add the ability to specify the BlendMode from .info files (closes #3311) 2024-06-12 20:40:34 +02:00
Arohdin c8606c6095 Fix jittering issues for point rendered satellites 2024-06-12 17:19:12 +02:00
Alexander Bock 866aad2187 Global pass over the coding style 2024-06-12 14:51:25 +02:00
Alexander Bock f82dc0371b Add example to TimelineRotation. Also fix bug where a non-interpolating timelinerotation would disappear before the first keyframe (#3310)
* Add example to TimelineRotation. Also fix bug where a non-interpolating timelinerotation would disappear before the first keyframe

---------

Co-authored-by: Emma Broman <emma.broman@liu.se>
2024-06-11 22:16:16 +02:00
Alexander Bock 6a1a22b485 Improve documentation and add examples for the StaticRotation (#3309)
* Improve documentation and add examples for the StaticRotation

---------

Co-authored-by: Emma Broman <emma.broman@liu.se>
2024-06-11 22:06:33 +02:00
ElonOlsson cf5d00346b Fix bug with flux nodes being all purple. Fixes #3247 2024-06-11 15:35:53 -04:00
Adam Rohdin 945a9a5ca8 Optimization of point and trail rendering (#3287)
Better performance for `RenderableOrbitalKepler` when running `Trails`, `Points` or `Points+Trails`.
Trails optimized by culling non-visible line strips.
Points optimized by changing a lot of calculations from double to float.
2024-06-04 18:37:04 +02:00
Ylva Selling 1cae99ebfc Issue/2000 automatically update gui (#3289)
* Make it possible to query a propertyowner by uri with the getpropertytopic

* Remove automatic reloading of ui from drag and drop script

* Add function for uri for propertyowners

* Add uri to the to_json for the propertyowner

* Add comment for the propertyOwner function and update the comment for the property function to clearer distinguish between uris and identifiers

* Go back to the old events but with uris instead as their member

* Apply feedback from PR

* Address PR comments

---------

Co-authored-by: Ylva Selling <ylva.selling@liu.se>
2024-06-04 18:32:41 +02:00
Alexander Bock 51359f93ba Fix erroneous change in the layer_support 2024-06-04 16:52:10 +02:00
Alexander Bock 32867630cc Add an explicit layer order to globebrowsing layers rather than relying on insertion order (#3281)
* Add z-index feature for layers
* Give all default layers a z-index
* The given z-index makes the layers have the same order as in 0.19.0
* Giving z-indices to all non-overlay layers
* Remove the z-index adjustment for manual layers
* Added zIndex parsing for .info files (#3298)
* No need to explicitly check the zIndex against an empty string.  Make similar check for identifier work correctly

---------

Co-authored-by: Malin E <malin.ejdbo@gmail.com>
Co-authored-by: Micah Acinapura <micahnyc@gmail.com>
2024-06-04 16:29:33 +02:00
Alexander Bock 6edea5cae7 Apply the hue, value, saturation, and gamma values from the renderengine to screenspace renderables. Change the screenspace's own gamma value into an offset (#3293)
* Apply the hue, value, saturation, and gamma values from the renderengine to screenspace renderables.  Change the screenspace's own gamma value into an offset

* Make it clearer that the gamma correction is now an offset
2024-06-04 16:28:52 +02:00
Emma Broman 09a40f62dc Rename goToGeo -> jumpToGeo (#3296)
* Remove unused bool argument in globebrowsing functions
* Refactor some globe browsing functions
* Start updating goToGeo function to fade instead of just jump
* Add choice for whtehr to use default or arrival height when flying to a geo2
* Update / add docs for fly-to and go-to functions
* Rename function and add deprecated version of `goToGeo`
2024-06-04 16:18:03 +02:00
Alexander Bock b1eb9e3731 Force recompilation of the RenderableGlobe shader when moving layers (closes #3295) 2024-06-03 14:16:13 +02:00
Alexander Bock 62a01ea317 Add example and fixes for the LuaTranslation (#3284) 2024-06-03 09:57:26 +02:00
Alexander Bock 2ab09b50e5 Add example for the LuaRotation class and fix it at the same time (#3285)
* Add example for LuaRotation class and make it work again
2024-06-03 09:57:15 +02:00
Alexander Bock aa0255bccb Add example for the LuaScale class and fix it at the same time (#3271)
* Change the LuaScale to request a single table as a return value to be consistent with the other Lua transformation types
2024-05-31 22:26:24 +02:00
lundkvistarn 1c69fa4592 added min max value check for fieldlinessequence 2024-05-31 11:19:55 -04:00
Alexander Bock ff9b72c580 Prevent crash when accessing a layer name after it has been deleted (closes #3283) 2024-05-27 14:00:31 +02:00
Alexander Bock be6c3f801e Rename Glare->Core and Halo->Glare in RenderableStars 2024-05-24 18:41:04 +02:00
lundkvistarn 26f8e81e22 added temp change to autoscale for aurora images 2024-05-23 14:46:39 -04:00
Ylva Selling 79f5192a2c Fix issue of sorting by placing arguments in array (#3238)
Co-authored-by: Ylva Selling <ylva.selling@liu.se>
2024-05-21 11:23:26 +02:00
Ylva Selling 098bae18b2 Create a tiny app for writing the documentation jsons (#3239)
* Add simple app for writing the documentation (only asset components and lua scripting)

* Update apps/DocsWriter/CMakeLists.txt

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

* Update apps/DocsWriter/main.cpp

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

* Update apps/DocsWriter/main.cpp

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

* Update apps/DocsWriter/main.cpp

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

* Update apps/DocsWriter/CMakeLists.txt

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

* Update apps/DocsWriter/main.cpp

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

* Update apps/DocsWriter/main.cpp

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

* Update apps/DocsWriter/main.cpp

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

---------

Co-authored-by: Ylva Selling <ylva.selling@liu.se>
Co-authored-by: Emma Broman <emma.broman@liu.se>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-05-21 11:22:14 +02:00
Alexander Bock c0cdce8784 Create correct layer type (closes #3267) 2024-05-20 23:19:11 +02:00