Commit Graph

34 Commits

Author SHA1 Message Date
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
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
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
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
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
cbe038e7d4 Fix bug with field of view by changing all FOVs to VFOV instead of HFOV 2021-04-21 10:59:41 +02:00
Ylva Selling
fadf20435d Move conversion function to target and add some utility functions to target and browser 2021-04-09 15:04:19 +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
d72080b2f6 Merge branch 'thesis/2021/skybrowser' of https://github.com/OpenSpace/OpenSpace into thesis/2021/skybrowser 2021-03-29 08:27:53 +02:00
Ylva Selling
bb5042cd50 Create functions to display WWT images 2021-03-29 08:27:40 +02:00
Ester Lindgren
7ec1da10f1 Merge resolve 2021-03-23 17:07:00 +01:00
Ester Lindgren
18e5916a04 Set the crosshair of target to have fixed linewidth 2021-03-23 16:46:52 +01: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
6ff0e6475a Ensure target and browser always are visible together by using the enabled flag 2021-03-23 09:51:15 +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
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
3573859ffe Add resizing functionality to all corners and side of browser 2021-03-18 16:13:46 +01:00
Ylva Selling
c05f8a4e87 Add working resize and dragging functionality 2021-03-18 09:33:34 +01:00
Ylva Selling
ebcbce56f5 Add functionality to drag target 2021-03-11 14:00:27 +01:00
Ylva Selling
c32c1fff6a Add functionality to drag skybrowser 2021-03-11 09:23:10 +01:00
Ylva Selling
1bde0560c7 Merge resolve 2021-03-08 16:07:18 +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