Commit Graph

3824 Commits

Author SHA1 Message Date
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
157ffff25b Update imgui external 2021-03-01 13:24:28 +01:00
GPayne
35b96967af Switched kameleon module ref to commit with linux build fixes 2021-02-26 16:07:14 -07:00
Emma Broman
a901594907 Generate docs for RenderablePlaneImages 2021-02-25 13:47:49 +01:00
Emma Broman
b07320d1da Add missing documentation for NonUniformStaticScale 2021-02-23 10:12:26 +01:00
Jonathas Costa
dd40cf8198 Merge branch 'master' into issue/1099 2021-02-22 11:51:30 -05:00
Emma Broman
b381bd83d3 Add module property for exoplanet habitable zone opacity 2021-02-22 09:38:59 +01:00
Alexander Bock
8ae817f233 Fix coding style issues 2021-02-19 13:48:23 +01:00
Jonathas Costa
ea42de503a Removed test color left by mistake. 2021-02-18 17:37:50 -05:00
Alexander Bock
cb5929972a Don't call RenderableOrbitalKeplers's initializeGL only once 2021-02-18 22:42:17 +01:00
Jonathas Costa
10634a5a0e Merge branch 'master' into issue/1099 2021-02-18 11:53:57 -05:00
Jonathas Costa
c21752f93b Fixed the forward/backward scattering effects. 2021-02-17 21:31:42 -05:00
Jonathas Costa
dfd60dfeec Changed to full texture control as Carter wanted. 2021-02-17 20:53:51 -05:00
Jonathas Costa
0307d94983 Added old rendering method for rings texture as an option. 2021-02-17 16:02:14 -05:00
Gene Payne
f4e7d01aa7 Fixes for Issue #1409 (#1501)
* Fixed renderablesmallbody selective rendering props to accept asset file settings

* Set to only show selective rendering log info msg if render size is 1

* Mirrored selective rendering behavior from smallbody to satellites

* Added property coupling of values to satellite/asteroid render settings for size, start index, upperlimit

* Fix for selective rendering with synced render settings

* Removed redundant property definitions for codegen compliance

* Improvements to documentation and handling values spec'd in asset file

* Fix for satellites: selective rendering settings specified from assets
2021-02-17 12:41:05 -07:00
Alexander Bock
6837bad5b0 Tiny cleanups 2021-02-17 16:18:08 +01:00
Alexander Bock
dfa223abef Make use of std::filesystem::path and cleanup specification error messages 2021-02-13 12:00:26 +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
Alexander Bock
afd484044d Better support for colors in dictionaries (closes #1489)
- Add a new Color3Verifier and Color4Verifier that checks components to be in [0,1]
 - Update codegen to add a new attribute [[codegen::color()]] to mark a vec3/vec4 to be a color value
 - Update RenderableTrail to use the new verion
2021-02-12 12:59:00 +01:00
Alexander Bock
88122d1dbb Adapt to new Ghoul; fix previously undetected errors in uniform setting 2021-02-11 14:44:13 +01:00
Emma Broman
9eb9095c12 Tiny cleanup 2021-02-10 10:54:33 +01:00
Emma Broman
39d5be5b17 Small habitable zone updates
* Show optimistic boundaries per default
* Shorten down interval UI name to make tooltip visible
* Increase interval for Kopparapu's formula
2021-02-09 15:10:59 +01:00
Emma Broman
f9e712a8e7 Supress a warning in exoplanets task 2021-02-09 13:56:42 +01:00
Alexander Bock
6d821d4f91 Feature/codegen (#1480)
* Add the ability to automatically generate code to extract values out of a Dictionary (see https://github.com/openspace/codegen for more information on how to use this)
* Applied this technique to a large number of cases in the codebase
* Don't add _codegen files to the repository

Co-authored-by: Emma Broman <emma.broman@liu.se>
2021-02-09 09:12:43 +01:00
Emma Broman
51b12d3158 On second thought, use the default formatting since its precision is sufficient 2021-02-08 12:40:20 +01:00
Emma Broman
26e42981f1 Always keep double precision when sending number in Lua script over websocket (closes #1467) 2021-02-08 11:03:57 +01:00
Emma Broman
91612f4bfd Merge pull request #1468 from OpenSpace/issue/1438
Add habitable zone for our Sun and some useful generic classes
2021-02-03 08:39:12 +01:00
Emma Broman
f2eb81a450 Merge branch 'master' into issue/1438 2021-02-01 13:16:18 +01:00
Alexander Bock
c323a05021 Fix a crash when reloading a browser instance twice in quick succession 2021-02-01 13:09:17 +01:00
Emma Broman
85d63967c2 Show habitable zone teff interval in UI 2021-02-01 11:01:46 +01:00
Emma Broman
ef091a1044 Adress review comments 2021-02-01 11:01:14 +01:00
Alexander Bock
29fe22b912 Fix small spelling error in variable definition 2021-02-01 00:04:28 +01:00
Alexander Bock
5ef4bc610e Fix issue with the item velocity not showing up correctly and with varying lengths 2021-01-31 23:59:21 +01:00
Gene Payne
06787e4f77 Globebrowsing Fade-In/Out Fix and Assets Updates (Issue #1209) (#1476)
* Fixed fade out algorithm to use correct distance from globe center

* Updated planet labels in asset files to match fixed fade-out algorithm

* Changed variable name and removed mistakenly-added file
2021-01-29 10:17:13 -07: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
19e5960020 Small grid renderable updates/fixes (#1473)
* Make sure we have examples for all grid types

* Fix problems with blending when rendering transparent grids

* Rename 'GridColor' to 'Color' for better consistenty among renderables

* Fix issue with resizing box grid

* Avoid problems with line width on Mac
2021-01-28 09:22:50 +01:00
Alexander Bock
f6132b04c9 Update CEF download to new Spotify link 2021-01-27 14:06:40 +01:00
Jonathas Costa
b64b756717 Changed how color filter acts. 2021-01-26 16:35:59 -05:00
Emma Broman
f7e1d48d83 Solve interpolation issue at egde of texture (closes issue #1430) 2021-01-26 15:09:24 +01:00
Emma Broman
3fcc02d0b5 Update habitable zone textures 2021-01-26 15:09:24 +01:00
Emma Broman
e90b52af93 Add wrapping mode to texture component 2021-01-26 15:09:24 +01:00
Emma Broman
d693dd0bbe Add rendering of optimistic vs conservative HZ boundaries 2021-01-26 15:09:23 +01:00
Emma Broman
10d615cdc8 Update disc rendering to not conflict with atmosphere 2021-01-26 15:09:23 +01:00
Emma Broman
968d0eea64 Move habitable zone renderable to space module 2021-01-26 15:09:23 +01:00
Emma Broman
6380e5b307 Change plane size to radius rather than diameter 2021-01-26 15:09:22 +01:00
Emma Broman
fd835688b5 Add a habitable zone renderable 2021-01-26 15:09:15 +01:00
Emma Broman
37aa7c6ab4 Tiny cleanup 2021-01-26 15:08:38 +01:00
Emma Broman
72ebeb7f6f Add generic texture component for renderables 2021-01-26 15:08:37 +01:00
Emma Broman
c075dbcdeb Add simple plane geometry class 2021-01-26 15:08:37 +01:00