Commit Graph

137 Commits

Author SHA1 Message Date
Emma Broman b2c5e334f8 Merge pull request #1436 from OpenSpace/issue/1395
Add habitable zone for exoplanet systems (#1436)

* add lumosity and temperature data for the stars
* add Lua function to generate a cached 1 pixel texture on demand
* minor updates to RenderableOrbitDisc to make it more intuitive. Size is now the semi-major axis.

closes #1395
2021-01-26 14:48:11 +01:00
Emma Broman f98730ef25 Add missing documentation 2021-01-11 11:04:26 +01:00
Emma Broman 4834851320 Merge branch 'master' into issue/1395 and resolve conflict 2021-01-07 11:01:20 +01:00
Alexander Bock 29a76c7d33 Coding style pass on shader code 2021-01-02 21:11:13 +01:00
Alexander Bock 7004c02b86 Happy new year 2021-01-02 15:26:51 +01:00
Alexander Bock 067c0f4b27 Introduction of new Dictionary class (#1446)
* Adapting to introduction of new Dictionary class in Ghoul
 * Mainly replacing usage of float instead of doubles as expected
 * Adjust to the lack of the hasKeyAndValue function
2021-01-02 15:07:11 +01:00
Alexander Bock ad8af3ffeb Feature/CMake (#1443)
General CMake cleanup/overhaul
* Enable precompiled headers for all projects
* Move specifications itto separate CMakeLists files
  * Add openspace-core as a subdirectory
  * Move handle_modules functionality into modules/CMakeLists.txt
  * Move handleapplications logic into apps/CMakeLists.txt
* Introduce openspace-module-collection interface library to simplify inclusion of modules in applications
* Turn module initialization into a two-step process to adapt to the new minimal dependency scenario
* Compile time speedup
  * Remove circular dependencies between modules and core preventing multithreaded compilation on MSVC
  * Build Spice multithreaded and as static library
  * Remove dependency from core to module-webbrowser
  * Remove unused dependency from kameleon
  * Remove additional unnecessary dependencies
  * Cleanup volume/kameleon/kameleonvolume modules
  * Fix visibility issues. Restrict include paths
  * Compile kameleon in parallel
* Other cleanup
  * Only copy CEF files from one target (hard-coded to OpenSpace right now)
  * Remove unused instrumentation code
  * Remove the ability to render AABB for globes as it caused a circular dependency between GlobeBrowsing and Debugging
  * Removing compiler and cppcheck warnings
  * Turn almost all includes into non-system includes
  * Don't warn on deprecrated copy
* Updated submodules
2020-12-28 18:26:57 +01:00
Emma Broman 4370b26a68 Address review comments 2020-12-18 13:55:41 +01:00
Emma Broman a79363fdd8 Add habitable zone description 2020-12-15 09:21:21 +01:00
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