Commit Graph

8047 Commits

Author SHA1 Message Date
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
Ylva Selling 7ea8ba0d3b Place browser in left bottom corner of screen on startup 2021-04-30 15:05:52 +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
Alexander Bock fb8e80ea80 Adjust tab width for asset and task files 2021-04-28 19:19:51 +02:00
Emma Broman 33a9dd2f09 Avoid problems with comment ending in backslash 2021-04-27 11:19:18 +02:00
Alexander Bock b016317fc2 Add a scriptlog dialog field to the additional scripts box 2021-04-27 09:58:25 +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
Micah 4353741c54 fix downloadFile function with waiting for complete 2021-04-26 10:07:31 -04: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
Malin Ejdbo 32b6a69900 Update ghoul yet again 2021-04-22 11:27:49 +02:00
GPayne fc33a99b23 Added all image-comparison test files 2021-04-21 15:19:16 -06:00
Malin Ejdbo 64bd51d073 Update Ghoul.. again 2021-04-21 18:36:20 +02:00
Emma Broman 9a51a76088 Update the gui hash
Add SelectionProperty and ListProperties UI and some bug fixes
2021-04-21 17:57:43 +02:00
Malin Ejdbo 667de99f9f Update Ghoul again 2021-04-21 14:30:38 +02:00
Malin Ejdbo 7223ea90bd Update Ghoul 2021-04-21 13:43:27 +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