Commit Graph

3511 Commits

Author SHA1 Message Date
Alexander Bock
6249fa6d89 Collection of a number of changes (#2286)
* Cleanup Property code
* Remove NOLINT statements
* Return Property class types as string_view
* Remove getStringValue function
* Simplify string value retrieval
* Ensure that image paths in the ImageSequenceTileProvider are sorted (closes #2205)
* Some cleanup of OpenSpaceEngine
* Cleanup documentation
* Some more cleanup of engine classes
* Some more cleanup
* Update SGCT repository
* Use new Jenkins node identifiers as the old method broke with update
2022-10-30 12:54:14 +01:00
Alexander Bock
e928d5cdb8 Merge branch 'master' of https://github.com/OpenSpace/OpenSpace 2022-10-23 02:13:07 +02:00
Emma Broman
009da9426e Add a function to target previous interesting anchor
Not only next
2022-10-20 13:13:40 +02:00
Malin E
6ea11273a5 Merge pull request #2262 from OpenSpace/issue/2137
Issue/2137
2022-10-17 09:09:27 +02:00
Alexander Bock
aeb366ae61 Add new dashboard item to show elapsed times (closes #2234). Cleanup handling of TimeConversion and add unit testing 2022-10-15 00:08:22 +02:00
Alexander Bock
524b78f5d2 Add the ability to disablee keybindings (closes #2238) 2022-10-14 11:24:44 +02:00
Emma Broman
06a22c2592 Fix problem with camera path not finishing properly on skipToEnd 2022-10-07 09:17:58 +02:00
Emma Broman
bcdeeef351 Remove an extra line 2022-10-06 22:28:08 +02:00
Emma Broman
8192292229 Move findNodeNearTarget function from path to pathnavigator
To reduce conflicts between wisdome installation branch and master
2022-10-06 22:25:27 +02:00
Emma Broman
5a970ee6e0 Add a function to skip immediately to the end of a playing camera path 2022-10-06 22:13:06 +02:00
GPayne
0ba064e141 Fix to account for possible empty string in session recording script 2022-09-11 21:42:46 -06:00
GPayne
acf45e858b Fixed file path bug with converting session recording version 2022-09-11 19:42:56 -06:00
Malin E
0055d331f2 Merge branch 'master' into feature/grids-update 2022-09-07 16:22:39 +02:00
Malin E
0a2f39dbf0 Make the argument in asset.localResource optional
* If nothing is provided, then the path to the current directory that the
  asset is located in is returned
2022-09-07 11:27:17 +02:00
Malin E
4b88c5d308 Merge branch 'master' into feature/grids-update 2022-08-29 13:22:57 +02:00
Alexander Bock
3cf80e0fdc Linux compile fix 2022-08-29 08:09:33 +02:00
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
Malin E
767f6aa547 Use highlight feature on large grids 2022-08-26 13:46:33 +02:00
Emma Broman
01eabd1b02 Consistent allocation of callback vectors 2022-08-26 09:13:02 +02:00
Emma Broman
c7bf728be8 Fix interpolation parameter being out of range (closes #2211) 2022-08-25 08:44:31 +02:00
Alexander Bock
979a5e3378 SkyBrowser Hash Handling (#2201)
* Add the loading of a hash for wwt image files and automatically force a redownload of the files if the hash has changed
* Move the wwtdataimages location into the sync folder
* Some general code cleanup
2022-08-22 15:16:07 +02:00
Alexander Bock
9ea284f6c6 Compile fix for MSVC 17.3 2022-08-22 14:17:04 +02:00
Malin E
a4b145b2fa Only loop over the joystick axis that have been bound 2022-08-19 09:16:21 +02:00
Ylva Selling
cfb4504f61 Clarify info for the the Dim In Atmosphere property 2022-08-08 16:22:28 -04:00
Emma Broman
0cc5704b6a Add isGuiWindow check for mouse and keyboard callbacks
Fix interaction problems when hovering/clicking with the mouse in a non-GUI window, when having a setup with more than one window (e.g. the single_gui.json setup)

Previously, clicking with the mouse in the rendering window without the GUI also triggered mouse clicks in all the other windows, including the GUI windows. This was disturbing for interaction in the single_gui setup

Now, the GUI modules check to see if the clicked window is actually an interaction window
2022-08-05 11:41:10 +02:00
Alexander Bock
811c4a3138 Add the ability to pass a boolean value into the require function that gets passed into the loaded asset as a enabled property (#2187)
* Add the ability to pass a boolean value into the require function that gets passed into the loaded asset as a `enabled` property
2022-08-02 13:12:07 +02:00
Alexander Bock
7bc9e99b87 Feature/satellites (#2185)
* Remove planet geometry and simplespheregeometry
* Only use a single TLE loading implementation
* Add caching to the satellite loader;  Add Lua function to load kepler file
* Fix RenderablePlanetProjection specification
* Add OMM loading funtion;  Remove mean motion from Kepler parameters
* Replace TLETranslation class with GPTranslation and support OMM files
* Support loading SMDB files in kepler functions
* Merge RenderableSatellites and RenderableSmallBody with RenderableOrbitalKepler
* Update submodules
* Adapt existing satellites to new OMM file type
* Remove TLE helper
* Remove SSSB shared file and adapt sssb assets
2022-08-02 13:11:50 +02:00
Alexander Bock
41a4171aeb Expose the SGCT statistics information through a property in the RenderEngine (closes #2195) 2022-08-01 15:27:05 +02:00
Alexander Bock
a4e3af700c Add option to break on floating point exceptions 2022-08-01 14:29:45 +02:00
Alexander Bock
faddac78bd Don't force camera location on removing anchor node (closes #2196) 2022-08-01 14:29:35 +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
2f58e8ec8e Remove some more warnings 2022-07-22 14:27:45 +02:00
Ylva Selling
42accde162 Merge remote-tracking branch 'origin/master' into feature/atmosphere-stars-rendering 2022-07-21 12:04:22 -04:00
Ylva Selling
84d5414d97 Fix comments on PR 2022-07-21 12:03:47 -04:00
Ylva Selling
b6d6633e95 Add fading functionality to renderables and set the fading to true for the stars and the milky way sphere 2022-07-20 15:15:02 -04:00
Alexander Bock
1a052f3c8c Update to C++20 2022-07-19 15:42:31 +02:00
Alexander Bock
44a9f6421f Update submodules, Suppress CMake warnings, Removal of extra image libraries 2022-07-19 11:51:59 +02:00
Alexander Bock
9f53433073 Request the current version later in the initialization after the operating system has been detected (#2186) 2022-07-19 10:35:27 +02:00
Alexander Bock
173b22c7d2 Remove compiler warnings 2022-07-19 10:20:11 +02:00
Alexander Bock
521868866c Convert hasProperty and getProperty Lua functions to luawrap 2022-07-17 15:41:47 +02:00
Alexander Bock
10ec6d3013 Revert pragma warnings 2022-07-11 14:26:13 +02:00
Alexander Bock
0b62d5cc4b Disable unknown pragma warnings and adapt to it 2022-07-05 14:27:40 +02:00
Emma Broman
db36b2dec5 Fix navigation state not loading correctly from profile (closes #2143)
Note that the anchor should be used as a reference frame per default. Also, it should always be used, if possible. We have quite some problems when using other reference frames

PR: #2175
2022-07-04 15:02:06 +02:00
Ylva Selling
6a3cdb172f Merge remote-tracking branch 'origin/master' into feature/properties-visibility 2022-06-29 08:52:22 -04:00
sylvass
76e3ae0669 Merge pull request #2158 from OpenSpace/feature/gamma-correction
Add gamma correction property to Screen Space Renderables
2022-06-29 04:31:54 -04:00
Alexander Bock
14306e59de Add Lua function that returns information about the current OpenSpace version (closes #2136) 2022-06-29 10:24:53 +02:00
Ylva Selling
bcb5c7bd28 Merge branch 'master' into feature/gamma-correction 2022-06-29 04:21:46 -04:00
Ylva Selling
f80cc0cd53 Make the gamma correction property have the right information for codegen 2022-06-29 04:11:05 -04:00