Commit Graph

71 Commits

Author SHA1 Message Date
Alexander Bock
ca916877b2 Adapt the visibility settings for all properties 2023-04-15 09:33:31 +02:00
Emma Broman
4de3713107 Add a central function to create an identifier from string, and also expose it through Lua 2023-04-03 11:40:19 +02:00
Emma Broman
7e94c4c284 Remove unintentional default value for skybrowser/exoplanet module enabled property (closes #2464) 2023-02-01 18:53:06 +01:00
Alexander Bock
a2a1554c9a Small cleanup of property documentation 2023-01-09 00:11:58 +01:00
Alexander Bock
4f4764209f Happy new year 2023-01-02 11:19:33 +01: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
Emma Broman
92eefa8189 Add enabled property to Exoplanets and Skybrowser module (#1945)
* Add enabled property to exoplanets and sky browser module

* Create assets for default settings and restructure assets into a components folder

* Update exoplanets data

* Set sky browser enabled to true per default and include hover circle asset

* Add name and description of hover circle, and used synced version of ring image
2022-04-25 15:10:08 +02:00
Alexander Bock
c206da4a98 Coding style adaptations 2022-04-10 23:25:37 +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
30212b6768 Adapt to new auto coding style 2022-02-10 15:20:21 +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
55ee3d2785 Remove the user data from the Lua function definition 2021-11-04 16:27:54 +01:00
Alexander Bock
db472030de GCC warnings (#1725) 2021-08-21 11:42:44 +02:00
Emma Broman
77bdfaefd6 Move camera path code into core and refactor navigation code a bit 2021-06-23 09:12:36 +02:00
Alexander Bock
92432caed2 Adapt to changes in Ghoul that made absPath return a std::filesystem::path instead of a std::string 2021-05-17 00:23:15 +02:00
Emma Broman
20519d007b Remove hardcoded path to B-V colormap (#1531)
Also prevent future problems in reading the file (e.g. if number of lines of comments would change)
2021-03-15 13:22:41 +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
29e77534c7 Make use of new verifiers (Color and File) (#1510)
* Use codegen for renderable discs

* Utilize color and file verifier

* Add missing property assignment in exoplanets module
2021-03-02 08:11:49 +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
f98730ef25 Add missing documentation 2021-01-11 11:04:26 +01:00
Alexander Bock
7004c02b86 Happy new year 2021-01-02 15:26:51 +01:00
Alexander Bock
60e3ed2170 General pass for coding style 2020-11-28 22:31:06 +01:00
Emma Broman
f136dc6a6d Update documentation string 2020-10-13 14:14:25 +02:00
Micah
21774b937b sending exoplanet names for gui panel 2020-10-13 05:24:26 -04:00
Emma Broman
e1b02b3c5a Add option to add several exoplanet systems at once 2020-10-12 20:31:49 +02:00
Emma Broman
9616782ab7 Remove the old data preparation task 2020-10-09 15:52:41 +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
754128a9e7 Some final cleanup 2020-09-28 11:37:28 +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
d0806e0136 Cleanup 2020-09-18 09:33:04 +02:00
Emma Broman
5671ea1463 Update copyright end year (woops) 2020-09-17 16:36:02 +02:00
Emma Broman
0d1e464a64 Documentation cleanup and capitalize first letter in "Disc" in renderable 2020-09-16 15:16:15 +02:00
Emma Broman
08e5c42d24 Remove discovery methods code 2020-08-28 08:29:18 +02:00
Emma Broman
9e5251630a Clean up code and get it to run (using correct data files) 2020-08-27 16:30:03 +02:00
Emma Broman
9fac7fbd83 Untabify and start cleanup 2020-08-25 16:19:43 +02:00
KarRei
10ddabdc40 OsEng -> global 2018-11-19 21:04:25 +01:00
KarRei
2454043f1c Transit graph 2018-11-02 17:31:53 +01:00
KarRei
79b6f479b3 WIP: transit method graph 2018-06-27 19:47:36 -04:00
KarRei
0a480428b5 Correct north vector, now earths north vector projected onto skyplane. 2018-06-23 13:14:17 -04:00
KarRei
cd35309d11 Added reference objects. 2018-06-21 16:30:26 -04:00
KarRei
fa79cac63e Discovery method viz updates on a bit of everything 2018-06-20 17:22:46 -04:00
KarRei
7940fbc86e Hides all planets but one for the doppler method visualisation. 2018-06-13 15:53:22 -04:00
KarRei
33f8d30bde Start of discovery method visualization components 2018-06-04 13:18:45 -04:00
KarRei
3defbe6f7f Added module property class that will toggle the discovery method modes 2018-05-30 14:34:46 -04:00
KarRei
e0f4afa9f6 Separate file for lua functions 2018-05-30 10:57:16 -04:00
KarRei
13bbcfa12a Limiting the value of the eccentricity to be between 0 and 1 2018-05-28 12:14:39 -04:00
KarRei
30e21ae7fd Star glare smaller 2018-05-24 19:07:16 -04:00