Commit Graph

3559 Commits

Author SHA1 Message Date
Alexander Bock 04df80a4a2 Add the ability to list, enable, and disable events based on a numerical identifier (closes #1992) 2022-04-12 22:52:24 +02:00
Alexander Bock 02b6334399 Update the RenderBin when changing the Fade value (closes #1993) 2022-04-12 21:40:32 +02:00
Emma Broman ef3eb88e8f Fix broken documentation (closes #2014)
Error came from changing from const char arrays to string_view
2022-04-12 14:19:40 +02:00
Alexander Bock d360f2ae59 Address Visual Studio analyzer warnings 2022-04-12 00:58:11 +02:00
Emma Broman f1667a7f43 Fix problem with camera path taking long to finish, when arrived
Lower threshold for when a camera path rotation is considered to be finished
2022-04-11 19:11:44 +02:00
Alexander Bock 99d2bddf7c Address coding style and remove compiler warnings in many places 2022-04-11 18:31:45 +02:00
Alexander Bock c206da4a98 Coding style adaptations 2022-04-10 23:25:37 +02:00
Gene Payne e515fac191 Merge pull request #1974 from OpenSpace/issue/1905
Fix for ASCII recording to correctly handle multi-line keybinding script
2022-04-08 12:32:32 -06:00
GPayne a7411def21 Code review fix for session recording #1905 2022-04-08 12:32:02 -06:00
sylvass 15def75dc3 Merge pull request #1894 from OpenSpace/thesis/2021/skybrowser
Thesis/2021/skybrowser
2022-04-08 12:12:01 -04:00
Ylva Selling c9bbb4a533 Merge remote-tracking branch 'origin/master' into thesis/2021/skybrowser
# Conflicts:
#	include/openspace/rendering/screenspacerenderable.h
#	src/rendering/screenspacerenderable.cpp
2022-04-08 11:46:09 -04:00
Malin E 5121495702 Merge branch 'master' into feature/jwst-update 2022-04-08 17:24:16 +02:00
Alexander Bock 5fc5ce318a Set default values for starting time and start camera (closes #1981) 2022-04-08 16:05:56 +02:00
Alexander Bock e51e887f1f Remove unused parameter when accessing all loaded assets through Lua 2022-04-08 13:38:29 +02:00
Alexander Bock ae91e9409b Add support for Windows 11 detection 2022-04-08 13:33:35 +02:00
Alexander Bock 6eba57730f Dynamic DPI scaling (#1980)
* DPI scaling
 1. Add the ability to query the operating system's DPI scaling values
 2. Expose those values through a new Lua function
 3. Add an asset that sets the CEF gui and the Dashboard font sizes and placements based on the DPI scaling
 4. Add that new asset into the base_blank asset
* Add message when including the dpiscaling
2022-04-08 13:28:18 +02:00
Alexander Bock 1cd84a64f7 Feature/wormhole (#1985)
* Backwards incompatible change to the astrocasting protocol
* Send password in the clear [never thought i write something like this]
* Update to new Protocol version,  remove built-in ParallelServer
* Remove Wormhole server in favor of Typescript version
2022-04-08 13:16:22 +02:00
Alexander Bock c018796256 Catch exception thrown when trying to add an asset that does not exist (closes #1984) 2022-04-08 11:31:02 +02:00
Malin E 62f4d39b9c First version of the Point JWST event 2022-04-07 16:47:24 +02:00
Emma Broman d0d918cdae Camera path updates (issue #1919 and #1947) (#1966)
* Use linear camera path when within target bounding sphere

And do a workaround for speed computation when bounding spheres are large
Closes #1910 (by at least making it so that the camera moves in an observable speed)

* Make linear paths rotate based on time rather than distance (closes #1947)
2022-04-06 17:34:36 +02:00
Alexander Bock 21babb88c0 Remove unused Rotation constructor 2022-04-06 01:12:50 +02:00
Alexander Bock 02adcf570e Add a hidden "Fade" property that modifies the effective opacity to enable other functionality (closes #1970) 2022-04-05 23:53:33 +02:00
Alexander Bock 73292ee54c Rename 'slave' to 'client' in the remaining code 2022-04-05 23:10:49 +02:00
Ylva Selling f6763eeeeb Merge branch 'master' into thesis/2021/skybrowser
# Conflicts:
#	modules/webbrowser/CMakeLists.txt
2022-04-04 16:14:50 -04:00
GPayne 9d62b32831 Fix for ASCII recording to correctly handle multi-line keybinding script 2022-04-03 19:17:08 -06:00
Alexander Bock 7b462422fe Make the UTC function return the date in actual UTC format and add SPICE as a way to get the old format (closes #1776) 2022-03-30 10:58:53 +02:00
Alexander Bock acfb5d76ef Fix error introduced in the Lua function codegen update that accidentally changed some function names 2022-03-29 17:31:48 +02:00
Micah Acinapura 7c7a6e5cff sort file lists before showing user. closes #1559 (#1943) 2022-03-24 10:24:12 -04:00
Emma Broman a81960e511 Add info messages when creating paths to different "invisble" nodes 2022-03-22 11:17:44 +01:00
Emma Broman 2f29fcd9e2 Fix wrong order of path type enum, and make it enum class 2022-03-22 11:15:20 +01:00
Ylva Selling 83ad7db147 Merge branch 'feature/cef-update' into thesis/2021/skybrowser 2022-03-21 16:19:42 -04:00
Alexander Bock 3844df20c9 Feature/codegen lua (#1906)
Adapting Lua functions to new codegen functionality
Improve the documentation itself
Add some styling to generated documentation
Have parameter names for Lua-defined Lua function documentation

Co-authored-by: Emma Broman <emma.broman@liu.se>
2022-03-21 09:05:37 +01:00
Alexander Bock 86dcff62c4 Provide error message when loading a speckfile that does not contain only numbers (closes #1903) 2022-03-18 15:50:01 +01:00
ElonOlsson f29dee2fe3 added user agent: OpenSpace, to http-request 2022-03-18 10:35:08 -04:00
Alexander Bock 2d7e8f9967 Pass information about the operating system to the version reporter script (#1865) 2022-03-18 15:19:02 +01:00
Ylva Selling 7d3a88f007 Make it possible to add two copies of the sky browser, which will make it possible to display many copies in a dome environment and have an interactive copy on the master node 2022-03-16 16:22:56 -04:00
Emma Broman 4e45f6634d Add helper function and timer to trigger idle behavior (#1898)
* Format property infos in orbital navigator more consistently

* Add helper function to trigger an idle behavior (issue #1833)

* Add timer to start idle behavior when camera is idle (issue #1730)
2022-03-15 10:06:24 +01:00
Emma Broman 235e37d2e6 Add min/max values for ScreenSpacerenderable background color property 2022-03-04 11:09:44 +01:00
Ylva Selling bd43816060 Pull request fix requested changes 2022-03-03 12:10:41 -05:00
sylvass b2ce062ce9 Merge remote-tracking branch 'origin/master' into thesis/2021/skybrowser
# Conflicts:
#	data/assets/util/webgui.asset
2022-03-02 16:41:11 -05:00
Emma Broman a0433c0419 Use largest of boudning and interaction sphere for creating camera path (closes #1897) 2022-03-02 10:52:03 +01:00
Emma Broman e127dec602 Fix openspace.debugging.renderCameraPath leading to crash
Keep the path around after it's finished, so that we can render/analyze it. It will be cleared once the next path is generated anyways.
2022-03-02 09:28:20 +01:00
Emma Broman dfc2402638 Shorten info message (pause during camera path) 2022-03-01 13:11:35 +01:00
Emma Broman aeeeea7793 Reorder default path type property, so the most useful ones comes first
OBS! Breaking change for the installations that uses paths, as the option property uses the indices in the list to set the value
2022-02-27 20:52:38 +01:00
Emma Broman 6e751585b0 Add a property to change the default arrival distance for camera paths 2022-02-27 20:51:26 +01:00
Emma Broman d0fcec569c Address stability problems for camera paths and make them more useful in general
* Change spline curve parameter interval from [0,1] to [0,nSegments], for slightly increased precision
* Use linear paths whenever precision isn't enough/paths are too long (and traverse linear paths differently, to make them less depending on the distance)
* Remove OrbitalNavigator.LinearFlight and instead add "Zoom to" helper functions (closes #1837 )
* Add check to prevent triggering awkward short paths, for example when flying to the current target or to the same geo position twice
* Refactor speed code and handle speed when path is shorter than start+closeup distance
* Add easing to speed dampening
* Add topic for engine mode (to be used for UI later)
* Cleaner log when creating paths (some previous info messages are now debug messages)

Related PR: OpenSpace/OpenSpace-WebGuiFrontend#70
2022-02-25 08:49:19 +01:00
Alexander Bock 78fd5b78da Wait for initialization when adding assets at runtime. Correctly destroy the RenderableGalaxy shader when deinitializing (closes #1601) 2022-02-22 23:24:37 +01:00
sylvass bcf463ad66 Merge remote-tracking branch 'origin/master' into thesis/2021/skybrowser
# Conflicts:
#	data/assets/util/asset_helper.asset
#	data/assets/util/webgui.asset
2022-02-22 10:25:46 -05:00
Alexander Bock ae40493627 Add function allowing insight into currently loaded assets. Don't print info message when loading asset that was already loaded 2022-02-21 21:19:13 +01:00
Alexander Bock abaaf437b6 Don't try to initialize an asset if the initialization has failed (closes #1830) 2022-02-20 19:30:23 +01:00