Commit Graph

4079 Commits

Author SHA1 Message Date
Andreas Engberg 717de1bbdc Add: move, update, and remove keyframes by id 2025-10-21 15:15:11 +02:00
Andreas Engberg 73967df969 add unique id to keyframes 2025-10-21 13:36:20 +02:00
Alexander Bock 612d5f738e Fix crash when deinitializing ScreenSpaceRenderableRenderable 2025-10-06 09:53:34 +02:00
Alexander Bock 25f021f009 Change more prefix to postfix operators 2025-10-04 10:13:25 +02:00
Alexander Bock 32cff07bf8 New ScreenSpaceText objects (#3794)
* First version of new screenspacetext and screenspacetextdate
* Code restructuring and adding new types
 - ScreenSpaceFramebuffer -> ScreenSpaceRenderableFramebuffer
 - ScreenSpaceText -> ScreenSpaceRenderableText
 - Add new user-facing ScreenSpaceText
 - Add examples
* Add documentation for new ScreenSpace objects
* Add visual tests to new screenspace objects
* Address PR comments
2025-09-26 15:35:05 +02:00
Alexander Bock 412414be6f Add additional parameter to teh downloadFile function to skip if the file already exists 2025-09-16 10:20:31 +02:00
Andreas Engberg 5d473cc449 Issue/1188 improve console (#3772)
* Refactor keyboard handling, fix ctrl + left / right arrow key not being consumed correctly

* Adds ctrl + backspace and ctrl + delete shortcuts to delete whole words

* Add tab completion for paths and nester openspace lua functions

* Render command overflow as rows instead of horizontal scrolling
2025-09-15 09:50:11 +02:00
Alexander Bock 630823e6be Remove unused default variables in the DashboardTextItem 2025-09-11 23:22:12 +02:00
Alexander Bock 1ff0fee1e8 Add support for specifying the format string for the openspace.time.SPICE() function 2025-09-11 21:15:40 +02:00
Alexander Bock 81a3ba090e Various coding style 2025-09-07 16:57:05 +02:00
Alexander Bock ff72e47f7b Move to use postfix increment only 2025-09-07 16:56:59 +02:00
Alexander Bock 0e72a2cb0d Add rendering for mouse interaction (#3781) 2025-09-07 15:36:46 +02:00
Alexander Bock 685af84339 Adjust properties to new capitalization rules 2025-09-07 15:13:45 +02:00
Alexander Bock eed88eed35 If a model transform diagonal is 0, set the 0 diagonal values to a small value (closes #3177) 2025-08-16 12:11:19 +02:00
Alexander Bock f6099b14a0 Fix issue with infinite look in the LuaConsole if the window is minimized while the console is open 2025-08-13 18:17:49 +02:00
Alexander Bock 19e9e2c1fb Adapt to new compile option style and fix warnings (#3773) 2025-08-12 14:19:45 +02:00
Alexander Bock 389842f76c Adjust coding style 2025-08-05 20:43:44 +02:00
Alexander Bock 208b853840 Improve documentation of navigation functions (closes #3001) and no longer internally represent truck and rolls as two-dimensional ( 2025-08-05 15:15:14 +02:00
Alexander Bock 6aec8e9338 Remove explicit name for versions 2025-07-25 09:19:52 +02:00
Emma Broman 91a4c2460f Fix absPath call with empty path for labels component (closes #3751) 2025-07-24 09:50:18 +02:00
Alexander Bock ebc6fbef11 Support relative paths in GeoJSON SpriteTexture (#3761) 2025-07-23 15:18:32 +02:00
Andreas Engberg 4dffe7c7b2 Add camera view direction to camera topic (#3741)
* Add camera view direction to camera topic
* Add subsolar coordinates to topic

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2025-07-16 13:21:12 +02:00
Alexander Bock da6e2d4d5a Add a Test Wizard, start recreating new tests, add new functions to create new Lua function returning Profile information (#3734)
* Add new Lua functions to request profile names.   Next version of the wizard
* Replacecurrently existing tests
2025-07-11 17:01:03 +02:00
Andreas Engberg 2b14162cdd Adds property confirmation modal hint to properties (#3730)
---------

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2025-07-08 16:24:58 +02:00
Alexander Bock b706a0b095 Fix issue where a property interpolation would not cause the postscript to be called 2025-07-04 17:52:30 +02:00
Alexander Bock 6e18684297 Give the console first go at keyboard input (closes #3649) 2025-07-03 11:14:14 +02:00
Emma Broman b51a3322e2 Fix toggleFade for multiple property owners, and add openspace.propertyOwner API function (#3721)
* Add a function for getting all propertyowners matching a certain regex
* Fix broken toggleFade - now works with multiple nodes
* Utilize updated toggle fade function in existing toggle actions
* Make `openspace.propertyOwner` work when only tag is included
* And make toggleFade work in a situation where tag matches both a screenspace renderable and scene graph node
* Remove mistakenly added scene graph node (it is really a screenspace renderable)
* Cleanup property check code to reuse check in both property and propertyowner function
2025-06-18 18:32:17 +02:00
Alexander Bock 21cfc7eb6b Fix the loading of binary session recording files recorded with version 0.15 2025-06-16 19:42:12 +02:00
Alexander Bock e3fe192bb2 Correct the documentation for the startPlayback Lua function to take a full path instead 2025-06-16 15:51:31 +02:00
Alexander Bock 93c0f75ef2 Remove Clang warnings 2025-06-14 15:42:38 +02:00
Alexander Bock 5655088a25 Use correct sync directory in Dynamic Downloader 2025-06-14 13:47:35 +02:00
ElonOlsson 87c1372744 Todays Sun, PR for branch: feature/WSA (#3652)
The merge commit
---------

Co-authored-by: shyamthyagarajan <shyammuralithyagarajan@gmail.com>
Co-authored-by: Lundkvist <alundkvi@ndc.nasa.gov>
Co-authored-by: lundkvistarn <lundkvistarn@live.se>
Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
Co-authored-by: Emma Broman <emma.broman@liu.se>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2025-06-12 09:57:26 -04:00
Alexander Bock eb8f621390 Add new Lua function to save base64-encoded files to disk 2025-06-11 15:39:27 +02:00
Alexander Bock 94edfdb471 Correctly update whether OpenSpace has started before 2025-06-11 10:02:26 +02:00
Alexander Bock e308383e7c Add profile information to the version checkin 2025-06-10 13:38:16 +02:00
Emma Broman 68ab41a241 Fix broken Apollo profile and transform initialization in general (#3704)
* Fix faulty log category and minor inconsistencies in GlobeTranslation and GlobeRotation

* Small refactor

* Remove unused return value from initialize function

* Fill attached node in globetranslation initialize and initialize all timeline

Should make the timeline translation work with globetranslations in other cases that the renderabletrails

* Do the same type of change for rotation and scale

* Update initialize function singatures

* Initialize and update translation in trail before use

* Screenspace renderable renderable - move initialize call to initialize

* Refactor trail position calls to make it clearer what is being done

* Call timeframe initialize functions in transform classes

* Do not call update in trail position after all - it borks up the performance

* GlobeTransform: Only fill attached node in init and onchange, and allow nodes without renderable

* Correctly initialize the multi-transform types

* Apply suggestions from code review

* Apply suggestions from code review

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

* Address code review comment

* Update comments in renderabletrail

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2025-06-10 12:05:30 +02:00
Alexander Bock d5c586f46f Prevent division by 0 error in ScreenSpaceSkybrowser (closes #3696) 2025-06-09 11:22:33 +02:00
Alexander Bock fbd4128b34 Pass through the coding styles 2025-06-05 10:59:58 +02:00
Alexander Bock ae8e95e038 Print info message when hiding the UI that shows how to get it back
- Print the information message informing about the keybdining if it exists
  - Add new function `keyBindingsForAction` that returns the list of keys that are bound to a specific action
  - Change the parameter to the `keyBindings` function to be optional, causing it to return all actions bound to keys
2025-06-02 12:05:37 +02:00
Alexander Bock 32a99ea62a Replace “ and ” with " to make copy-pasting from the documentation page possible. Replace \ with / to make copy-pasting paths less painful (#3683) 2025-05-26 11:04:34 +02:00
Emma Broman f0c3df7309 Fix broken selection properties (closes #3676)
And small options key cleanup
2025-05-23 09:22:06 +02:00
Alexander Bock 1d80019e53 Allow nil as a value for the setPropertyValue functions 2025-05-23 08:34:47 +02:00
Emma Broman 26ebee9b7a Add missing identifier in property json info
The JSON included the full URI, but not the identifier
2025-05-22 09:57:18 +02:00
Emma Broman 05f064aa2b Fix so property visibility change is respected also for currently hidden properties
We only subscribe to changes for visible properties, so here we need to notify the property owner about the change
2025-05-21 10:27:47 +02:00
Alexander Bock 212385a59a Don't refer to the ESC key in the shutdown message (closes #3666) 2025-05-21 09:39:53 +02:00
Alexander Bock eaff4fdb4c Remove remnant of the deprecation functions 2025-05-21 09:10:50 +02:00
Alexander Bock 237798d9a3 Add ability to specify log level verbosity for file downloads. Make notification file download not log anything as there already will be a warning message 2025-05-20 16:16:14 +02:00
Alexander Bock b39a5f3d7b Remove deprecated Lua functions (#3664) 2025-05-19 17:59:58 +02:00
Alexander Bock 8495acd171 Remove unused boolean return value for ScreenSpaceRenderable initialize and deinitialize functions 2025-05-16 23:57:40 +02:00
Alexander Bock 8630240260 Cleaning up the code for the setProperty value functions, add better documentation, and add the ability to combine tags (#3638) 2025-05-15 22:02:52 +02:00