Commit Graph

64 Commits

Author SHA1 Message Date
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
Ester Lindgren
8ffee81e64 Merge resolve 2021-04-06 08:48:37 +02:00
Ester Lindgren
c234b69436 Add function to drag and change view within browser 2021-04-06 08:44:42 +02:00
Ylva Selling
f99f3e88a9 Move the WWT data handling to class WWTDataHandler and add pointer in module 2021-03-31 17:03:30 +02:00
Ylva Selling
b95d6e5b94 Change rapidxmlparser to tinyxml2 and add more extensive xml parsing and image loading 2021-03-31 16:41:38 +02:00
Ylva Selling
ec138b6897 Add function to save URL to file, parse to XML tree and insert into vector as images 2021-03-30 08:28:32 +02:00
Ylva Selling
bb5042cd50 Create functions to display WWT images 2021-03-29 08:27:40 +02:00
Ylva Selling
74609230b6 Make browser and target highlight when the mouse is hovering on them 2021-03-23 15:01:40 +01:00
Ylva Selling
fbc05244e1 Make it possible to add many browsers and targets by moving functionality to ScreenSpaceRenderable 2021-03-23 09:44:14 +01:00
Ylva Selling
ac275140c5 Load browser and target as assets 2021-03-22 13:54:01 +01:00
Ylva Selling
51f40172f7 Move browser specific functionality to screenspacebrowser 2021-03-22 09:57:49 +01:00
Ylva Selling
39b1887e14 Merge resolve 2021-03-19 15:14:12 +01:00
Ester Lindgren
b17bb82359 Change target to crosshair in relation to field of view 2021-03-19 14:43:55 +01:00
Ylva Selling
ac105178c8 Add scale function to screenspacetarget 2021-03-19 14:42:11 +01:00
Ylva Selling
d2d6899e7a Add draft for creating the browser and target from GUI. Still problem with finding browser after creation 2021-03-19 13:52:21 +01:00
Ester Lindgren
543e3641ab Set target dimensions from browser dimensions 2021-03-19 09:57:14 +01:00
Ylva Selling
ac4fc926a2 Add function to create browser 2021-03-19 09:37:19 +01:00
Ylva Selling
3573859ffe Add resizing functionality to all corners and side of browser 2021-03-18 16:13:46 +01:00
Ylva Selling
707027664f Merge resolve 2021-03-18 09:35:00 +01:00
Ylva Selling
c05f8a4e87 Add working resize and dragging functionality 2021-03-18 09:33:34 +01:00
Ester Lindgren
d43be4a624 Merge resolve 2021-03-12 15:21:56 +01:00
Ester Lindgren
9580c617ef Add target square with shader 2021-03-12 14:49:53 +01:00
Ylva Selling
ca93e2990e Change to logarithmic scrolling 2021-03-11 17:21:18 +01:00
Ylva Selling
a5371776d9 Change view direction to what the target points at 2021-03-11 17:11:00 +01:00
Ylva Selling
3bc5d00aaa Add functionality to drag target when dragging on zoom window 2021-03-11 16:20:03 +01:00
Ylva Selling
c9fc1765ad Change drag function of target and browser to callback function 2021-03-11 16:12:23 +01:00
Ylva Selling
ebcbce56f5 Add functionality to drag target 2021-03-11 14:00:27 +01:00
Ylva Selling
c16ee0698f Implement simple version of scroll 2021-03-11 11:44:13 +01:00
Ester Lindgren
fc3fa859af Merge resolve 2021-03-11 10:10:26 +01:00
Ester Lindgren
8a0e9e6ed0 Add ScreenSpaceSkyTarget class to handle target 2021-03-11 10:04:53 +01:00
Ylva Selling
c32c1fff6a Add functionality to drag skybrowser 2021-03-11 09:23:10 +01:00
Ylva Selling
0be1f8d48d Add check for joining thread so it is joinable 2021-03-08 16:29:33 +01:00
Ylva Selling
1bde0560c7 Merge resolve 2021-03-08 16:07:18 +01:00
Ylva Selling
8ac85466e7 Make thread be joined, not detached, and run depending on a flag 2021-03-08 15:53:45 +01:00
Ester Lindgren
02c64802cf Merge Resolve 2021-03-08 13:53:58 +01:00
Ester Lindgren
c11b66173e Create subclass of ScreenSpaceBrowser in SkyBrowserModule and change name of module Skybrowser to SkyBrowser 2021-03-08 13:47:50 +01:00
Ylva Selling
a77fbcfcfe Merge resolve 2021-03-08 08:49:39 +01:00