Commit Graph

3986 Commits

Author SHA1 Message Date
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
Ylva Selling
d1abf4d860 Merge branch 'master' into thesis/2021/skybrowser 2021-04-30 10:17:13 +02:00
Ylva Selling
94101b783c Update submodules from master to solve merge conflict issues 2021-04-30 10:17:07 +02:00
Ylva Selling
72d931e68d Remove duplicate of translate function 2021-04-30 09:34:48 +02:00
Ylva Selling
dc0dcd2eb7 Add utility files 2021-04-30 09:26:33 +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
Emma Broman
7b966b9378 Give globes an interaction sphere 2021-04-29 15:23:34 +02:00
Alexander Bock
261f3d9fe8 Add Titan atmosphere, increase scale height for Venus (closes #922) 2021-04-29 14:14:52 +02:00
Emma Broman
33a9dd2f09 Avoid problems with comment ending in backslash 2021-04-27 11:19:18 +02:00
Emma Broman
8a30dc570e Add Logarithmic sliders and Color picker (#1564)
* Pass ViewOptions meta data to WebUi

* Add Color ViewOption

* Add Logarithmic ViewOption

* Update gui hash to get slider and color picker UI features
2021-04-27 09:24:36 +02:00
Alexander Bock
676e83fe4e Make the iswa module compile again 2021-04-26 14:29:06 +02:00
Ylva Selling
b7c4d94df0 Use doubles for coordinates and some bugfixes 2021-04-26 14:26:39 +02:00
Alexander Bock
2aa540a112 Feature/interactionsphere (#1561)
* Add ability to render the bounding sphere as a debug option
* Separate boundingsphere and interactionspheres
* Correctly compute BoundingSpheres for more renderables (RenderablePlanesCloud, RenderableOrbitalKepler)
2021-04-26 13:13:36 +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
Emma Broman
385a2a2be1 Avoid mistaking a nil/null value for an empty object or array in setpropertytopic 2021-04-21 11:24:09 +02:00
Malin Ejdbo
2b74a04415 Adjust model bounding sphere 2021-04-21 11:04:42 +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
Malin Ejdbo
16bd1d3265 Merge branch 'master' into feature/model-animation
* Resolve conflicts

* Master has error with changing focus
2021-04-21 10:23:10 +02:00
Alexander Bock
01d7a57eef Add GlobeTranslation Documentation to exported documentations (closes #1566) 2021-04-21 09:34:20 +02:00
Emma Broman
91387d8401 ListProperties and SelectionProperty (#1558)
* Reimplement stringlistproperty with a listproperty parent class

* Add string list property tests and structure test files

* Reimplement SelectionProperty and add tests

* Some TemplateProperty documentation updates

* Read full constellation name and not just first word for ConstallationSelection

* Remove support for setting property value from string (unused)

* Add IntListProperty, DoubleListProperty

* Bug fix: SetProperty topic now support empty json objects

* Imgui renderings for list properties and pass SelectionProperty  info to WebGui
2021-04-19 16:10:36 +02:00
Ylva Selling
05a8580edc Add functionality to send credits and target data to GUI 2021-04-19 14:30:49 +02:00
Alexander Bock
b00fcb78df Enable setting of opacity for RenderableGlobe (closes #1449) 2021-04-16 17:31:55 +02:00
Emma Broman
fdee3d4faf Prevent setting zero line width from UI 2021-04-16 16:14:02 +02:00
Malin Ejdbo
a541721d33 Address PR comments and tweak animation mode Once 2021-04-16 15:51:31 +02:00
Alexander Bock
e75fe42943 Enable support for single double radius in SizeReferenceTileProvider (closes #1562) 2021-04-16 12:49:44 +02:00
Ylva Selling
a9b73fa352 Remove unneccessary while loop 2021-04-15 16:22:32 +02:00
Alexander Bock
d32a09ba80 Feature/strict lua (#1556)
Make all LuaState strict to check whether uninitialized variables are used
Adapt the existing assets to work with the strict state
2021-04-15 13:01:00 +02:00
Malin Ejdbo
4a97a21297 Address PR comments 2021-04-14 17:12:46 +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
Ylva Selling
f6e4c33db3 Set the FOV with respect to the image's zoom level 2021-04-13 15:54:38 +02:00
Ylva Selling
7e81a05bf0 Make target move to look at image coordinate when clicked in GUI 2021-04-13 15:42:51 +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
Ylva Selling
03cb84c0e2 Add amount of data to Image and make image sending process more efficient 2021-04-09 15:03:18 +02:00
Emma Broman
923ad3f8ce Fix misspelled 'codegen' 2021-04-09 13:58:43 +02:00
Ylva Selling
4e358fe122 Restructure code for parsing xml to make it more readable 2021-04-08 11:18:23 +02:00
Ylva Selling
a84e8ee48b Bugfix for parsing the xml. Now all images (only with non-empty urls though) are loaded. 2021-04-08 09:58:47 +02:00
Ylva Selling
67a39652d5 Make it possible to select images in GUI and thereby loading them into WWT, and bugfix for parsing xml 2021-04-08 09:35:46 +02:00
Malin Ejdbo
3ec01fa25e Address PR comments 2021-04-07 17:25:58 +02:00
Ylva Selling
3f68ea9b4d Send over image name and url to GUI api 2021-04-07 16:15:19 +02:00
Ylva Selling
794902d5cb Merge branch 'thesis/2021/skybrowser' of https://github.com/OpenSpace/OpenSpace into thesis/2021/skybrowser 2021-04-06 15:11:25 +02:00
Ylva Selling
b8d1c33eed Add Lua function to send the image thumbnail url:s to the api 2021-04-06 15:11:14 +02:00
Ester Lindgren
d74de3273b Merge with master 2021-04-06 09:01:48 +02:00
Ester Lindgren
ba0685227f Merge branch 'master' into thesis/2021/skybrowser 2021-04-06 08:52:11 +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