Commit Graph

128 Commits

Author SHA1 Message Date
Emma Broman e525c55ecf Update data files and generate habitable zone texture on demand 2020-12-14 18:46:28 +01:00
Emma Broman 9898714478 Update boundary cases for habitable zone 2020-12-14 10:53:46 +01:00
Emma Broman 92085847f2 Try to make RenderableOrbitDisc more intuitive
* The size now matches the semi-major axis
* Avoid re-setting size value in constructor
* Avoid inconsistent units for offsets and size (previously AU and meter)
2020-12-14 10:53:46 +01:00
Emma Broman 05651d1aa3 Add habitable zone representation for exoplanet systems 2020-12-14 10:53:46 +01:00
Emma Broman 51869784fd Add some additional data about the star 2020-12-14 10:53:46 +01:00
Emma Broman 37761dde2a Avoid potential problems with non initialized nan values 2020-12-11 11:29:48 +01:00
Emma Broman 63160768d5 Exoplanets cleanup (#1428)
* Remove name conversion to match speck file
 * Instead update the speck file so that the names are consistent between files
 * Tiny cleanup
 * Enable visualization of systems with a subset of planets missing data
 * Prevent overriding star information with non valid data
2020-12-08 20:55:10 +01:00
Alexander Bock 86bb19d81c Feature/warnings (#1425)
* Remove MSVC, GCC, Clang compiler warnings
* Remove cppcheck warnings
2020-12-07 23:43:05 +01:00
Alexander Bock 60e3ed2170 General pass for coding style 2020-11-28 22:31:06 +01:00
Emma Broman f7cd107744 Add 'no-data' representation of exoplanet host star 2020-11-20 19:41:39 +01:00
Emma Broman 929f5e65c6 Avoid errors caused by dots in exoplanet identifiers 2020-11-18 09:33:23 +01:00
Alexander Bock efffc25ce0 Feature/globals handling (#1352)
* Cleaner handling of global state
* Prevent Lua memory corruption (closes #982)
* Initialize glfw first thing to prevent weird joystick loading bug during startup
2020-10-21 22:30:05 +02:00
Emma Broman 6b563e0dbc Add forgotten return statement 2020-10-21 14:00:42 +02:00
Emma Broman d31b20decf Adapt disc shader to handle asymmetric uncertainty intervals 2020-10-16 17:06:13 +02:00
Emma Broman 2699eb1d71 Avoid problems with apostrophes in star names 2020-10-16 13:29:39 +02:00
Emma Broman f4628cd296 Don't list systems where there is not enough data 2020-10-16 09:34:55 +02:00
Emma Broman 98ef020c4a Clean up some headers 2020-10-16 08:53:12 +02:00
Emma Broman 11425dfdb7 Replace unused system rotation computation with the one that is actually used 2020-10-16 08:53:12 +02:00
Emma Broman 6b25489819 Compute valid angles for KeplerTranslation 2020-10-16 08:53:12 +02:00
Emma Broman bef3e0d661 Test every planet for insufficient data, not just the first one 2020-10-16 08:53:12 +02:00
Emma Broman f136dc6a6d Update documentation string 2020-10-13 14:14:25 +02:00
Emma Broman 6907678f32 Slight cleanup of reading exoplanet system names 2020-10-13 14:03:53 +02:00
Micah 21774b937b sending exoplanet names for gui panel 2020-10-13 05:24:26 -04:00
Emma Broman 6a97c3862a Avoid errors for exoplanet host stars without color data 2020-10-12 20:48:14 +02:00
Emma Broman e1b02b3c5a Add option to add several exoplanet systems at once 2020-10-12 20:31:49 +02:00
Emma Broman 7e34e1b1d8 Resolve merge conflict 2020-10-12 09:30:51 +02:00
Emma Broman bf49ad76f2 Cleanup 2020-10-12 09:15:07 +02:00
Alexander Bock e33498f8a6 Linux fixes clang (#1313)
* Changes to work on Linux.
* Bring back AA Trail Lines on Linux.
* Included new branch with correction in cfitsio library linking.
* Updated SGCT
* Changes to compile in Clang on Linux.

Authored-by: Jonathas <jon.costa@gmail.com>
Authored-by: Tom Schober <tom@tomschober.com>
2020-10-09 18:43:10 +02:00
Emma Broman 9616782ab7 Remove the old data preparation task 2020-10-09 15:52:41 +02:00
Emma Broman e11a8f80a4 Merge branch 'master' into issue/1303 2020-10-09 15:41:47 +02:00
Emma Broman 4d6fb59ea5 Add helper function to convert from ICRS to galactic coords
Also includes creating a util file for coordinate conversions
2020-10-09 12:48:16 +02:00
Emma Broman 04ea70365a Compute star position from data if not found in speck file 2020-10-09 12:48:16 +02:00
Emma Broman 518bcdeeba Add fix for std::from_chars not working on Linux 2020-10-09 12:48:16 +02:00
Emma Broman 250dbcc3f1 Add task for reading the new exoplanet data in csv format
Also cleanup old exoplanet code a bit based on that new data
2020-10-09 12:47:02 +02:00
Emma Broman 3cc2d2aedf Fix for compile errors in Linux in exoplanets module 2020-10-07 17:12:06 +02:00
Emma Broman 3310d954b3 Fix typo 2020-09-28 16:14:55 +02:00
Emma Broman 754128a9e7 Some final cleanup 2020-09-28 11:37:28 +02:00
Emma Broman c32de00bd8 Remvoe trailing whitespaces 2020-09-23 08:41:33 +02:00
Emma Broman 78996bb9d9 Cleanup and avoid using variable that might not have been defined 2020-09-22 11:13:26 +02:00
Emma Broman 5d9f6ec5a0 Increase trail resolution for highly eccentric orbits 2020-09-22 10:53:05 +02:00
Emma Broman e74433b3f0 Add function to print a list of available exoplanet systems to the log 2020-09-22 08:21:57 +02:00
Emma Broman 7bd0e0bc00 Tiny refactor 2020-09-21 14:46:42 +02:00
Emma Broman 1a5c0d3672 More cleanup
string_view and avoid warnings from implicit conversions
2020-09-18 14:34:06 +02:00
Emma Broman 938fc49f82 Fix spelling mistake 2020-09-18 11:14:07 +02:00
Emma Broman 32c2e59330 Change uppercase struct variables to camelcase 2020-09-18 11:10:15 +02:00
Emma Broman fe4bb00108 Even more cleanup 2020-09-18 10:23:47 +02:00
Emma Broman 614c523c69 Cleanup data reading in csvtobintask 2020-09-18 10:11:32 +02:00
Emma Broman d0806e0136 Cleanup 2020-09-18 09:33:04 +02:00
Emma Broman f2b4909a32 Some cleanup of helper functions 2020-09-18 08:50:06 +02:00
Emma Broman 5671ea1463 Update copyright end year (woops) 2020-09-17 16:36:02 +02:00