Commit Graph

3934 Commits

Author SHA1 Message Date
OLSSON
da45e4effa clean up 2021-02-21 17:21:18 -05:00
elon
055a9b4fa3 fixup 2021-02-19 11:48:32 -05:00
elon
8ea0f245d3 submodule update 2021-02-11 12:38:07 -05:00
elon
92529fa6d4 merging master, conflicts 2021-02-10 11:33:01 -05:00
Emma Broman
9eb9095c12 Tiny cleanup 2021-02-10 10:54:33 +01:00
elon
0c005c05d1 an ok working state 2021-02-09 09:24:02 -05: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
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
Emma Broman
76d599d284 Add a basic disc renderable 2021-01-26 15:08:37 +01:00
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
Malin Ejdbo
647ae18bef Fix reading of horizons files
* Take back initial "empty" loop to ignore header information
2021-01-14 14:48:30 +01:00
Alexander Bock
595d23ec75 Fix issue where the CEF libraries would not be copied to the bin folder 2021-01-12 11:26:00 +01:00
Gene Payne
cdbc1c2695 Fixes for getting all unit tests passing on linux (#1454) 2021-01-12 10:29:43 +01:00
Jonathas Costa
65803e134d Issue/1447 (#1451)
* Fixed missing calls to OpenGL cache system.
2021-01-12 10:28:49 +01:00
Jonathas Costa
50bae273fb Fixed Deep Sky Objects basic unit and increased maximum scale range. (#1452)
* Fixed Deep Sky Objects basic unit and increased maximum scale range.
2021-01-12 10:28:11 +01:00
Emma Broman
f98730ef25 Add missing documentation 2021-01-11 11:04:26 +01:00
Emma Broman
cc825143a3 Bring back fading of sphere with only fade out threshold specified
Without this, the milkyway sphere does not fade out at all
2021-01-11 10:41:13 +01:00
Emma Broman
4834851320 Merge branch 'master' into issue/1395 and resolve conflict 2021-01-07 11:01:20 +01:00
Alexander Bock
2a69758eef Apply simplification of shadow sources and casters to RenderableGlobe 2021-01-03 22:10:42 +01:00
Alexander Bock
44f2a500c5 Simplify specification of shadow casters and light sources in atmosphere 2021-01-03 18:27:49 +01:00
Alexander Bock
0bc3bb4065 Simplification of RenderableAtmosphere
- Removing duplicate member variables and indirection
 - Asset: Replacing AtmosphereRadius with AtmosphereHeight
 - Asset: Rename GroundRadianceEmittion to GroundRadianceEmission
 - Add Documentation checking to Dictionary value retrieval
 - Remove unused Image group
2021-01-03 18:06:36 +01:00
Alexander Bock
198160000d Simplify the dictionary value extraction in the RenderableAtmosphere 2021-01-03 11:57:00 +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