Commit Graph

200 Commits

Author SHA1 Message Date
sylvass 1fe86fe843 Cleanup, make hover circle add itself via lua function to the module. Make functions consistent how they interact with WWT 2021-12-01 13:48:12 -05:00
sylvass 16f608fd5c Cleanup 2021-12-01 11:12:32 -05:00
sylvass 921f4ff31d Bugfix after merge with master 2021-11-30 12:34:33 -05:00
sylvass 68c0635a9a Restructure browser and target to not have pointers to each other 2021-11-23 15:49:20 -05:00
sylvass 27d68556ec Update the structure of the renderable sky browser to inherit fronm renderable plane and wwtcommuicator 2021-11-23 09:48:07 -05:00
sylvass d5cdf4b3f8 Finish change of structure of screenspaceskybrowser 2021-11-17 11:15:21 -05:00
sylvass b9aaab22a5 Cleanup 2021-11-15 15:34:35 -05:00
sylvass 4b81c76afe Make enum better for transparency choices 2021-11-15 15:34:10 -05:00
sylvass 21cdc9d5cb Clean up 2021-11-15 15:30:58 -05:00
sylvass 513cee8705 Clean up header files - remove unneccessary and sort 2021-11-11 11:03:11 -05:00
sylvass 7bcdd7db21 Give utility functions better names 2021-11-10 10:31:28 -05:00
sylvass 206fc43f74 Rename boolean functions and variables to adhere to code style 2021-11-10 09:33:30 -05:00
sylvass 89e483c748 Simplify fading functions 2021-11-05 12:03:38 -04:00
sylvass 1e4f4dc19a Make max width 90 columns 2021-11-05 11:15:47 -04:00
sylvass 2b1de9eebb Use Pair class to communicate with the target and browser 2021-11-05 10:07:30 -04:00
sylvass b64fc94599 Add class Pair for skybrowser + skytarget pair 2021-11-03 10:37:40 -04:00
sylvass d5422f429d Restructure and clean up 2021-11-03 10:37:20 -04:00
sylvass c895f24989 Cleanup 2021-10-25 09:38:09 -04:00
Ylva Selling 8b3c792f14 Remove unnecessary texture 2021-09-06 17:27:51 +02:00
Ylva Selling c63ee2d417 Master thesis work done 2021-09-01 13:57:19 +02:00
Ylva Selling 01c393ab8b Fix so backend can handle layer ordering 2021-06-09 10:58:42 +02:00
Ylva Selling 86fbde2af8 Bugfix and better destruction of WWTDataHandler in module 2021-06-09 09:28:34 +02:00
Ylva Selling d3736aeb82 Change to use server instead of localhost for browsers, and fix some bugs 2021-06-08 19:20:42 +02:00
Ylva Selling 2df2e45f85 Change name of function to move 3D browser to a better suited name for lua function 2021-06-03 11:27:45 +02:00
Ylva Selling e3c0e286fe Add functionality to center target on screen, when it has been lost locked somewhere for example 2021-06-03 10:03:27 +02:00
Ylva Selling 0221ca1c20 Set browser to selected upon startup 2021-06-03 09:22:31 +02:00
Ylva Selling 111c719ed7 Cleanup: Rename function to better name and remove duplicates of code 2021-06-02 15:47:07 +02:00
Ylva Selling 8e8ac4e90e Initialize browsers with lua api and load image collections upon startup. Add 3D browser functionality 2021-06-02 15:35:07 +02:00
Ylva Selling 6cf7dd8d45 Load, connect and set up connection to WWT app properly with the help of OpenSpace Lua api 2021-05-26 16:23:49 +02:00
Ylva Selling bf283dce0b Store selected images in C++ backend and send to GUI. Add lua function to remove selected images from browser 2021-05-24 12:23:46 +02:00
Ylva Selling ee33d1df24 Add lua functions for communication with GUI: add and remove target browser pairs and 3D browsers, change opacity of layer, use ID:s for the browser 2021-05-21 10:00:04 +02:00
Ylva Selling 1380c7a2c4 Fade in and out browser and target when going outside of the solar system 2021-05-20 08:58:37 +02:00
Ylva Selling 19d24e90d7 Add functionality for 3D browser: wwt messages and function to create an instance in lua api 2021-05-19 12:01:20 +02:00
Ylva Selling d2871392d7 Add functionality to render a browser in renderable sky browser and add it in module 2021-05-18 11:20:07 +02:00
Ylva Selling b95fa7a701 Load images from url automatically if the folder WWTimagedata doesn't exist in module 2021-05-12 15:10:43 +02:00
Ylva Selling d8d8cbf2fd Add new API functions and load images in a cleaner way from module instead of lua 2021-05-12 12:14:18 +02:00
Ylva Selling 3ef357f56e Get the vector of browsers by reference instead of as a pointer 2021-05-10 09:20:11 +02:00
Ylva Selling a456b68b20 Make it more efficient to get the vector of browsers 2021-05-07 14:37:52 +02:00
Ylva Selling 317a62cb90 Add comment to explain why data handler is created dynamically 2021-05-07 14:02:11 +02:00
Ylva Selling c882cdd3a3 Add selection functionality to send index from and to GUI and move capping of scroll too browser 2021-05-07 11:50:13 +02:00
Ylva Selling ed027c9224 Add camera animation rotation to look at coordinate 2021-05-07 10:08:06 +02:00
Ylva Selling 16e83fdcdd Bugfix of crashing when scrolling too fast - add cap of update of scroll callback 2021-05-06 15:29:06 +02:00
Ylva Selling 6a2a6b5481 Add animation to target and FOV when an image is clicked 2021-05-06 10:00:41 +02:00
Ylva Selling 124fbef26f Add locking functionality to target 2021-05-04 10:50:30 +02:00
Ylva Selling 2eecb08bcf Add random colored borders to browsers and targets that are sufficiently bright, and add function to pass them to GUI 2021-05-04 09:14:35 +02:00
Ylva Selling dcbd74ab7a Fix offset bug by changing how the target direction is calculated. Move calculations to utility file 2021-04-30 09:24:34 +02:00
Ylva Selling b7c4d94df0 Use doubles for coordinates and some bugfixes 2021-04-26 14:26:39 +02:00
Ylva Selling e05a980254 Add a circle which shows where on the sky an image points at 2021-04-21 13:41:41 +02:00
Ylva Selling 05a8580edc Add functionality to send credits and target data to GUI 2021-04-19 14:30:49 +02:00
Ylva Selling 5653823522 Make it possible to send coordinates to GUI as well as code clean up and conversion of RA from hours to degrees upon data loading 2021-04-14 13:20:58 +02:00