Commit Graph

849 Commits

Author SHA1 Message Date
Alexander Bock
664eb60f4f Increase the compile times by including more precompiled headers (#2217)
* Define WIN32_LEAN_AND_MEAN and VC_EXTRALEAN globally
* Use forked version of TUIO, some more work on precompiled headers
* Improvements for the Kameleon module
2022-08-26 16:32:21 +02:00
Alexander Bock
a4e3af700c Add option to break on floating point exceptions 2022-08-01 14:29:45 +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
c1252902c7 More Code Cleanup (#2192)
* Harmonizing ( and ) in function calls
* static const -> constexpr
* Fix compile issue
* Unify shader tab size
* Add _fs and _vs to shaders
* Harmonize spacing
2022-07-26 11:22:41 +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
1a052f3c8c Update to C++20 2022-07-19 15:42:31 +02:00
Malin E
c026a37b5f Merge pull request #2165 from OpenSpace/issue/1607
Add enable/disable property for TimelineRotation
2022-06-29 16:13:33 +02:00
Alexander Bock
94a20b8c35 Add the JUICE mission (#2155) 2022-06-29 15:43:41 +02:00
Ylva Selling
6a3cdb172f Merge remote-tracking branch 'origin/master' into feature/properties-visibility 2022-06-29 08:52:22 -04:00
Ylva Selling
bcb5c7bd28 Merge branch 'master' into feature/gamma-correction 2022-06-29 04:21:46 -04:00
Malin E
f1b1c7a173 Address PR comments 2022-06-28 16:03:16 +02:00
Malin E
d5b94ec935 Merge branch 'master' into issue/1607 2022-06-28 13:26:25 +02:00
Malin E
d130682d43 Add interpolation for TimelineRotation
* Same way as TimelineTranslaiton already have
2022-06-28 10:43:58 +02:00
Alexander Bock
9b1143f02f Ubuntu 22.04 and GCC11 fixes (#2163)
* Update CEF version
* Update Ghoul
* Update SGCT
* Update codegen
* Remove warnings happening on Ubuntu 22.04 with GCC 11
* AppleClang warning fixes
* Compile fix for Ubuntu and MacOS
* Add Qt 6.2.3 to the CMAKE_PREFIX_PATH
2022-06-28 00:46:01 +02:00
Ylva Selling
a78c4f7d28 Move the limit of gamma to not be zero from shader to lower property bound 2022-06-22 02:51:37 -04:00
Ylva Selling
d23969b8d3 Add gamma correction to screen space renderable (SSR) shader, property for SSR and default value gamma = 2.2 for sky browser display copies 2022-06-21 10:47:44 -04:00
Alexander Bock
d6dd157591 Adapt the ImGui GIBS panel to the new tileprovider format (closes #2108) 2022-06-18 19:05:53 +02:00
Ylva Selling
7e7f4740f2 Remove onChange functions that sets visibility depending on type 2022-05-23 14:21:51 -04:00
Emma Broman
aac510f860 Make it possible to individually set the base radius for RenderablePrism shape
The prism can now be a cone, a pyramid, or any other weird shape that you might want!
2022-05-20 17:24:24 +02:00
Emma Broman
679e2994f3 FixedRotation that depends on other nodes now updates correctly even if time is paused (#2069)
* Update fixed rotation every frame if it depends on another sgn (closes #1751)

This guards against any weird edge cases, where a node the rotation depends on is moved independently of simulation time

* Fix faulty indentation
2022-05-05 09:39:17 +02:00
Alexander Bock
bc2466f116 Don't convert the Period of the RenderableTrailOrbit to seconds when extracting the value from the asset file (closes #1860) 2022-05-04 20:15:27 -07:00
Alexander Bock
989f7143fa Prevent a crash when running in Debug mode, Make the RenderableFluxNodes check all files first before failing 2022-04-17 16:57:48 +02:00
Alexander Bock
5751fe26d3 Cleanup handling of warnings (#2030) 2022-04-16 20:57:29 +02:00
Alexander Bock
d360f2ae59 Address Visual Studio analyzer warnings 2022-04-12 00:58:11 +02:00
Alexander Bock
c206da4a98 Coding style adaptations 2022-04-10 23:25:37 +02:00
sylvass
15def75dc3 Merge pull request #1894 from OpenSpace/thesis/2021/skybrowser
Thesis/2021/skybrowser
2022-04-08 12:12:01 -04:00
Ylva Selling
c9bbb4a533 Merge remote-tracking branch 'origin/master' into thesis/2021/skybrowser
# Conflicts:
#	include/openspace/rendering/screenspacerenderable.h
#	src/rendering/screenspacerenderable.cpp
2022-04-08 11:46:09 -04:00
Malin E
45c776b7ba Address PR comments 2022-04-07 13:22:06 +02:00
Malin E
df46bcfcc1 Merge branch 'master' into feature/jwst-update 2022-04-06 13:37:17 +02:00
Alexander Bock
02adcf570e Add a hidden "Fade" property that modifies the effective opacity to enable other functionality (closes #1970) 2022-04-05 23:53:33 +02:00
Ylva Selling
f6763eeeeb Merge branch 'master' into thesis/2021/skybrowser
# Conflicts:
#	modules/webbrowser/CMakeLists.txt
2022-04-04 16:14:50 -04:00
Malin E
0bdf82f156 Merge branch 'master' into feature/jwst-update 2022-03-31 09:37:14 +02:00
Malin E
134a9056a9 Enable depth testing for renderable labels, fixes #1915 2022-03-29 15:46:36 +02:00
Emma Broman
f7d3d3bad1 Fix problems with precision of new bounding spheres
glm::length => squared computation => we need the double precision in the computation. Got bounding sphere values of "inf" for a few large renderables (the DU grids)...
2022-03-28 19:53:14 +02:00
Emma Broman
3c4f13c650 Add bounding spheres to a bunch of renderable types (#1957)
*  RenderabeDUMeshes (And reimplement reading of vertex info from speck, to make it easier to compute sphere. The plan is to phase out this renderable anyways)

* RenderablePoints

* Grids: RenderableGrid, RenderableBoxGrid, RenderableRadialGrid & RenderableSphericalGrid

* RenderableGalaxy
2022-03-28 16:10:56 +02:00
Ylva Selling
83ad7db147 Merge branch 'feature/cef-update' into thesis/2021/skybrowser 2022-03-21 16:19:42 -04: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
Ylva Selling
bf5069fbf6 Change screenspaceskybrowser to renderableskybrowser 2022-03-16 11:20:37 -04:00
Malin E
0b3f493ef2 Adjust launch time and timelapse 2022-03-16 13:31:08 +01:00
Malin E
df8c303594 Set interactionspheres of models to be 10% of boundingsphere 2022-03-08 13:50:52 +01:00
Malin E
49ed676144 Merge branch 'master' into feature/jwst-update 2022-03-07 15:16:25 +01:00
Alexander Bock
6a708b1f18 Implement new Spout input methods to Tileproviders and new Renderables (#1901)
* Implement new Spout input methods to Tileproviders and new Renderables

Co-authored-by: Marco Silva <marco@elumenati.com>
2022-03-03 23:47:09 +01:00
Alexander Bock
7cb38b6c9c Update codegen and make use of the new parenting method 2022-02-23 13:20:36 +01:00
Alexander Bock
a6f048e342 Add explicit checks whenever we are accessing another scene graph node (closes #1831) 2022-02-20 19:17:06 +01:00
Micah Acinapura
9e69300642 unified renderbin to renderable; adapted orbitalkepler to codegen; fi… (#1843)
* unified renderbin to renderable; adapted orbitalkepler to codegen; fixes 1842

* update for pr comments

* update for pr comments2
2022-02-17 10:58:32 -05:00
Malin E
e30e9ee4cc Add event to toggle JWST trail when approaching or going away 2022-02-17 09:30:15 +01:00
Alexander Bock
e8072495ec Feature/warnings (#1885)
Remove many warnings from MSVC, Clang, and GCC
2022-02-16 18:33:12 +01:00
Alexander Bock
40ed640bc8 Simplify the function signature of the FactoryManager function 2022-02-12 00:55:15 +01:00
Alexander Bock
30212b6768 Adapt to new auto coding style 2022-02-10 15:20:21 +01:00
Alexander Bock
0e49606706 Feature/Science on the Sphere (#1863)
Add all available Science-on-a-Sphere datasets from their public FTP as assets.  Many of the datasets include large files that are downloaded the first time the asset is loaded
2022-02-10 13:53:30 +01:00