Commit Graph

100 Commits

Author SHA1 Message Date
Emma Broman
57dc7dd6b8 Add some missing includes 2022-09-16 08:18:54 +02:00
Alexander Bock
163ac4dcef Cleanup of mostly asset files
- Fixes for all files
 - constexpr cleanup
 - Cosmetic changes
 - Remove punctuation from the end of messages
2022-07-28 17:21:59 +02:00
Alexander Bock
9cc4c595a8 Code Cleanup (#2191)
* constexpr const -> constexpr
* const char* -> std::string_view
2022-07-25 15:57:45 +02:00
Alexander Bock
3844df20c9 Feature/codegen lua (#1906)
Adapting Lua functions to new codegen functionality
Improve the documentation itself
Add some styling to generated documentation
Have parameter names for Lua-defined Lua function documentation

Co-authored-by: Emma Broman <emma.broman@liu.se>
2022-03-21 09:05:37 +01:00
Alexander Bock
94d9a5a643 Check if the exoplanets data path is configured before trying to access it (closes #1861) 2022-01-31 14:28:45 +01:00
Alexander Bock
d7d279ea16 Happy new year 2022-01-01 12:32:55 +01:00
Alexander Bock
4a860fb01d Some code facelifting 2021-10-14 10:31:46 +02:00
Alexander Bock
af617d1d10 Feature/lua function cleanup (#1719)
General cleanup of Lua functions and handling of variable extract from a Lua state
2021-08-19 16:02:14 +02:00
Alexander Bock
87da9a27ab Feature/path normalization (#1674)
* Path normalization (making sure there are fewer cases of '"..."'
* Using more std::filesystem::path instead of std::string
* Update Ghoul
2021-07-01 23:46:22 +02:00
Emma Broman
1695937749 Feature/numeric slider updates (#1609)
* Remove Logarithmic ViewOption and instead always use exponent of NumericalProperty + set exponent of some renderables' properties

* Add MinMaxRange ViewOption for Vec2 properties

* Add MinMaxRange viewoption to some existing vec2 properties and combine some other related properties to be able to utilize it. For example Min and Max label sizes, fade in/out distances, inner and outer radius. OBS! Includes renaming several properties (**breaking change**)

* Refactor and document labels code. OBS! Includes renaming several properties (**breaking change**)

* Add comments for some assets that have labels that are not working correctly


Renderables with rename properties: RenderableLabels , GlobeLabelsComponent, RenderableBillboardsCloud, RenderableDUMeshes, RenderableRadialGrid )
2021-05-28 17:00:55 +02:00
Alexander Bock
ccdc5a5dc3 Feature/filesystem cleanup (#1587)
* Adapting to the changes in Ghoul
* First step of moving filesystem functions to std
* Remove persistence flag from cachemanager
2021-05-16 20:26:49 +02:00
Alexander Bock
e88650f22c Tiny coding style fixups 2021-03-27 23:49:02 +01:00
Emma Broman
97144df4da Add a colored glare to exoplanet stars (#1511)
* Add possibility to multiply color to an image plane

* Add a colored glare to exoplanet stars (issue #1305)
2021-03-02 09:30:03 +01:00
Emma Broman
b381bd83d3 Add module property for exoplanet habitable zone opacity 2021-02-22 09:38:59 +01:00
Emma Broman
e21edaa13e Expose exoplanet creation settings to user as module properties (#1499)
* Expose exoplanet creation settings to user as module properties

* Set default textures from asset to avoid explicit paths to sync folder
2021-02-12 14:32:37 +01:00
Emma Broman
f2eb81a450 Merge branch 'master' into issue/1438 2021-02-01 13:16:18 +01:00
Emma Broman
ef091a1044 Adress review comments 2021-02-01 11:01:14 +01:00
Emma Broman
54c5b052a5 Update disc and habitable zone textures 2021-01-29 13:14:40 +01:00
Emma Broman
dc067e0d5f Add 1 AU size comparison ring for exoplanet systems (closes #1413) 2021-01-28 11:31:26 +01:00
Emma Broman
3fcc02d0b5 Update habitable zone textures 2021-01-26 15:09:24 +01:00
Emma Broman
fd835688b5 Add a habitable zone renderable 2021-01-26 15:09:15 +01:00
Emma Broman
4834851320 Merge branch 'master' into issue/1395 and resolve conflict 2021-01-07 11:01:20 +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
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
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
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
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
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