Commit Graph

155 Commits

Author SHA1 Message Date
Ylva Selling
6605bfcd07 Create property in sky browser module for hiding the targets and browsers when minimizing gui 2022-04-27 16:44:14 -04:00
Emma Broman
b7256a2c27 Fix typo 2022-04-27 19:35:58 +02:00
Emma Broman
d8313eebe0 Add property to hide SkyBrowser title and hide per default 2022-04-27 19:19:46 +02:00
Emma Broman
de68e406b0 Send topic on presync instead of from itmemanager (closes #2037) 2022-04-27 18:20:51 +02:00
Emma Broman
1116e092b6 Mini refactor 2022-04-27 16:03:31 +02:00
Ylva Selling
939dfae319 Add lua function to dispatch point spacecraft event 2022-04-26 18:39:31 -04:00
Ylva Selling
24b6383afb Create lua function to show or hide all targets and browsers 2022-04-26 17:37:05 -04:00
Emma Broman
51f9199abd Refactor fading and use fade property instead of opacity 2022-04-26 17:24:15 +02:00
Emma Broman
f02ac1cbd0 Merge branch 'master' into feature/skybrowser 2022-04-26 12:17:22 +02:00
Emma Broman
17fd637926 Show and hide hover circle using fade property
And hide it when exiting the solar system

Refactor hover circle implementation a bit
2022-04-26 10:56:47 +02:00
Emma Broman
dca8e1e914 Refactor info message 2022-04-26 09:07:54 +02:00
Emma Broman
92eefa8189 Add enabled property to Exoplanets and Skybrowser module (#1945)
* Add enabled property to exoplanets and sky browser module

* Create assets for default settings and restructure assets into a components folder

* Update exoplanets data

* Set sky browser enabled to true per default and include hover circle asset

* Add name and description of hover circle, and used synced version of ring image
2022-04-25 15:10:08 +02:00
Ylva Selling
2829d726de Add functionality to check if the image collection has been loaded and pass that information to the GUI 2022-04-18 15:35:56 -04: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
Ylva Selling
9e86447b85 Remove mouse interaction for skybrowser and make default position of the skybrowser to be outside of the normal field of view 2022-04-08 11:43:32 -04:00
Ylva Selling
1f8b31bab3 Update so that WWT is loaded in the gui 2022-04-07 16:28:17 -04:00
Ylva Selling
1eb4fc5879 Change lua function to be set with "setPropertyValueSingle" instead 2022-04-04 10:16:51 -04:00
Ylva Selling
f14e482ff1 Create lua function to move render copies 2022-04-01 17:06:51 -04:00
Ylva Selling
233d000aea Make all animations depend on system time instead of fps. This will make the animations robust with low fps. Add easing functions. 2022-03-31 15:58:38 -04:00
Ylva Selling
680cdc4b8f Move the hover circle with lua script instead of C++ code to make it work in a dome environment 2022-03-23 18:46:19 -04:00
Ylva Selling
33ddd94426 Fix issues with fading by using the system time instead of fps 2022-03-23 18:45:57 -04:00
Ylva Selling
c3c453b45c Fix search of pairs to include scene graph node identifier as well 2022-03-23 09:21:18 -04:00
Ylva Selling
5bbf7d3d33 Fixes after merging in new cef version and master 2022-03-22 16:01:34 -04:00
Ylva Selling
ea77f74731 Make it possible to add n number of additional rendered copies of the sky browser, that can be placed with RAE coordinates 2022-03-17 11:53:12 -04:00
Ylva Selling
128d21b759 Transform the hovercircle to a renderable so it works in a dome environment 2022-03-17 10:36:04 -04:00
Ylva Selling
9c3b61aaf9 Ensure that the TargetBrowserPair can be found regardless if the identifier of the renderable or the node is passed to the api. This fixes a bug with the "openspace.skybrowser.adjustCamera" function 2022-03-16 16:28:44 -04:00
Ylva Selling
99bfd1cf57 Implement fine tuning of target in world space coordinates 2022-03-16 12:06:15 -04:00
Ylva Selling
bf5069fbf6 Change screenspaceskybrowser to renderableskybrowser 2022-03-16 11:20:37 -04:00
Ylva Selling
f7be9c05e0 Add property to module for controlling the rotation speed of the camera 2022-03-07 15:11:03 -05:00
Ylva Selling
ec201d954a Pull request code style fixes 2022-03-04 12:30:12 -05:00
sylvass
21e572149e Fix comments from pull request 2022-03-02 16:39:44 -05:00
sylvass
8b71bbd0da Remove renderable sky browser (3D browser and related functionality) 2022-02-18 12:21:12 -05:00
sylvass
863b555747 Ensure all nodes in a cluset get the same border color for the browsers 2022-02-18 11:28:09 -05:00
sylvass
5a07842b9e Add lua function to translate screen space renderable. Add documentation for the lua functions. 2022-02-17 08:55:03 -05:00
sylvass
ffee7e6f5c Don't highlight browser when using rae coords since dragging is not working in that mode currently 2022-02-10 07:22:59 -05:00
sylvass
a88246c56b Rename "Pair" to "TargetBrowserPair" 2022-02-10 07:11:39 -05:00
sylvass
51496956fc Pass data regarding if sky browser and target are facing camera and using radius azimuth elevation to gui 2022-02-07 09:46:00 -05:00
sylvass
5128056272 Make hover circle work again and remove unneccessary conversion function 2022-01-26 05:41:46 -05:00
sylvass
779a56662e Create set vertical fov function in pair 2022-01-26 03:37:52 -05:00
sylvass
a07b4a5afe Ensure all nodes in a cluster establish contact with their own instance of the wwt application (needs an updated website version - this update will not work with the current website version on the server) 2021-12-28 08:09:31 -05:00
sylvass
f269090937 Change update structure from onChange functions to Pair so that Pair handles all communication between the target and browser 2021-12-17 14:21:30 -05:00
ENG-VIDAVIZ-0\ylvas
2ee0ae0387 Cleanup, set constants as static const expr 2021-12-17 11:11:23 -05:00
ENG-VIDAVIZ-0\ylvas
e923f9c805 Remove pair from module when one of them are deleted 2021-12-16 11:43:02 -05:00
ENG-VIDAVIZ-0\ylvas
e839ee05b7 Make target work with RAE coordinates so it can be used in a dome setup 2021-12-16 10:32:06 -05:00
ENG-VIDAVIZ-0\ylvas
733dc09a30 Move lua scripting to create target browser pair to lua functions 2021-12-15 11:21:38 -05:00
sylvass
e95287399c Remove mouse drag resizing functionality 2021-12-14 11:31:33 -05:00
sylvass
fa5812c83a Add properties for disabling mouse interaction and automatic camera rotation for dome purposes 2021-12-08 11:03:29 -05:00
sylvass
294ed90d39 Make camera stop rotating upon mouse interaction 2021-12-06 14:46:28 -05:00
sylvass
14c6760859 Cleanup of mouse interaction 2021-12-03 17:32:41 -05:00