Commit Graph

8073 Commits

Author SHA1 Message Date
Ylva Selling
d85159d243 Make OpenSpace use the GUI without using the developers GUI 2021-06-09 16:36:49 +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
6d0efc99df Disable hover circle outside of solar system 2021-06-03 10:46:55 +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
8a49240930 Merge branch 'thesis/2021/skybrowser' of https://github.com/OpenSpace/OpenSpace into thesis/2021/skybrowser 2021-06-02 15:36:13 +02:00
Ylva Selling
d840d342d3 Set better name to browser and target in GUI 2021-06-02 15:35:30 +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
Ester Lindgren
3411662b74 Change target when zooming to be crosshair and border with crosshair 2021-05-27 17:32:19 +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
eeb1ac5737 Make hover circle more general by loading it in relation to asset folder 2021-05-24 14:15:09 +02:00
Ylva Selling
b2d5eb4e55 Make asset general by setting texture path relative to base 2021-05-24 12:24:16 +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
Ester Lindgren
3c2bbd134f Send ID of targets to GUI 2021-05-21 11:31:24 +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
37c7737c55 Fix bug of stretched texture of the renderable sky browser 2021-05-20 11:41:25 +02:00
Ylva Selling
27ac366782 Send if camera is within solar system to gui and clean up lua functions 2021-05-20 11:25:13 +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
28db33f199 Fix bug with calculating image size: use radians instead of degrees 2021-05-19 14:34:32 +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
984012ac34 Remove special characters and white spaces when matchin WWT image names with speck images 2021-05-12 16:34:33 +02:00
Ylva Selling
546362c930 Add radius, azimuth, elevation to assets but set it to use cartesian positions as default 2021-05-12 16:04:36 +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
810319ace7 Add functions for new calls in the WWT API 2021-05-11 14:54:39 +02:00
Ylva Selling
f1750642cb Calculate roll of camera compared to J2000 north pole and send to WWT 2021-05-11 14:09:43 +02:00
Ylva Selling
fe06e487da Separate conversion functions to a spherical and cartesian and att constant for north pole in J2000 2021-05-11 14:09:11 +02:00
Ylva Selling
49c0314907 Add class renderable sky browser 2021-05-11 08:44:02 +02:00
Ylva Selling
9f13bf69cc Add functionality to load speck files and add the matching names as 3D positions 2021-05-10 14:12:13 +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
4126be2604 Sort the images on image name 2021-05-10 09:19:00 +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
03dbbd1352 Lower the cap on zooming so it looks better 2021-05-07 14:37:15 +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
e73656b1d9 Rotate camera if selected image is outside of screen 2021-05-07 10:52:45 +02:00
Ylva Selling
ed027c9224 Add camera animation rotation to look at coordinate 2021-05-07 10:08:06 +02:00
Ylva Selling
a58d29b0ce Make coordinate conversion functions more modular 2021-05-07 09:54:05 +02:00
Ylva Selling
2472d07c1c Send cartesian equatorial J2000 coords to GUI for better calculation of distance sort 2021-05-06 15:30:01 +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
9514fda861 Send window FOV and direction to GUI 2021-05-06 13:50:54 +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
70642b0a55 Fine tune the zooming function 2021-04-30 15:06:44 +02:00