Commit Graph

4549 Commits

Author SHA1 Message Date
Alexander Bock
1833894264 Only print the error for missing shadow caster once (closes #1594) 2022-03-18 14:24:36 +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
Emma Broman
2919ad77ed Typo fix 2022-02-28 15:31:47 +01:00
Alexander Bock
37f2e017ec Remove Fallback layers (closes #1819) 2022-02-25 14:16:44 +01:00
Emma Broman
d0fcec569c Address stability problems for camera paths and make them more useful in general
* Change spline curve parameter interval from [0,1] to [0,nSegments], for slightly increased precision
* Use linear paths whenever precision isn't enough/paths are too long (and traverse linear paths differently, to make them less depending on the distance)
* Remove OrbitalNavigator.LinearFlight and instead add "Zoom to" helper functions (closes #1837 )
* Add check to prevent triggering awkward short paths, for example when flying to the current target or to the same geo position twice
* Refactor speed code and handle speed when path is shorter than start+closeup distance
* Add easing to speed dampening
* Add topic for engine mode (to be used for UI later)
* Cleaner log when creating paths (some previous info messages are now debug messages)

Related PR: OpenSpace/OpenSpace-WebGuiFrontend#70
2022-02-25 08:49:19 +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
78fd5b78da Wait for initialization when adding assets at runtime. Correctly destroy the RenderableGalaxy shader when deinitializing (closes #1601) 2022-02-22 23:24:37 +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
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
51937d9461 Merge branch 'master' of github.com:OpenSpace/OpenSpace 2022-02-10 16:00:40 +01:00
Alexander Bock
30212b6768 Adapt to new auto coding style 2022-02-10 15:20:21 +01:00
Emma Broman
72110be88c Fixes to remove some warnings 2022-02-10 14:28:15 +01:00
Emma Broman
893c523517 More cleanup of virtual property remnants 2022-02-10 14:28:15 +01:00
Emma Broman
f45b782234 Remove all remaining virtual property related code 2022-02-10 14:28:15 +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
Emma Broman
7714acf32b Add parent documentation for all dashboard text items
Also removed undefined function and do tiny refactor
2022-02-03 12:08:19 +01:00
Emma Broman
5760d9c937 Fix problem with undefined documentation name/id (closes #1875) 2022-02-03 12:06:29 +01:00
Alexander Bock
8b74493d96 Removing the asset_helper file (#1868)
- Remove the asset_helper file and call the onInitialize and onDeinitialize functions directly
 - Small compile fix on Windows
 - Removes the need for the registerIdentifierWithMeta function by automatically doing that for all asset.export statements
 - Allow the passing of either identifiers (as before) or entire tables to the removeSceneGraphNode, removeScreenSpaceRenderable, deleteLayer, removeAction, and export methods. In that case, the Identifier key from the table is extracted and used instead
2022-02-01 23:44:36 +01:00
Emma Broman
a7ff4f4640 Add missing includes and fix forgotten renamed enums for Apple 2022-02-01 11:33:52 +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
bbfaf93a41 Add documentation to the RenderableGalaxy (closes #1848) 2022-01-26 23:53:33 +01:00
Alexander Bock
162141f2db Correctly expose missing documentation from a bunch of classes (closes #1856) 2022-01-26 23:41:48 +01:00
Alexander Bock
2cf268abf0 Fix crash when unloading layers; Fix issue accidentally unloading an asset too early 2022-01-26 23:02:59 +01:00
Alexander Bock
8070c307ce Add more informative error when a layer fails specification; Add error message when trying to unzip a file that does not exist 2022-01-26 23:02:55 +01:00
Emma Broman
c2755b8633 Documentation updates (closes #1846)
* Add some missing renderables
* Tiny refactor of documentation identifiers and log category keys
2022-01-20 09:16:05 +01:00
Emma Broman
d01134cfcc Rename layer subowners so that all names start with a capital
For consistency. This has bothered me for quite a while

Don't think it should be a breaking change, as the keys in any potential assets are obtained from the codegen/documentation parameters
2022-01-18 14:48:53 +01:00
Alexander Bock
2ed8113047 Fixing the Folder based TemporalTileProvider 2022-01-17 11:27:30 +01:00
Alexander Bock
111397979b Merge pull request #1800 from OpenSpace/feature/tileproviders
Feature/tileproviders
2022-01-14 12:03:52 +01:00
Alexander Bock
ba16dfccad Add and apply an explicit mode parameter 2022-01-14 12:02:51 +01:00
Emma Broman
7c3d6b4c4d Change how moveLayer works slightly, so it is easier to use in a GUI implementation
* "newPosition" is now considered to be the item's new position (index) in the list
* also update the documentation a little
2022-01-12 09:39:12 +01:00
Alexander Bock
c78ff28109 Update submodules, fix formatting for units 2022-01-05 17:06:47 +01:00
Alexander Bock
cf664cd749 Hotfix to make the Sloan Digital Sky Survey work again 2022-01-02 15:02:37 +01:00
Alexander Bock
21df9066e1 Make use of the new map feature in codegen (#1801) 2022-01-02 13:36:41 +01:00
Alexander Bock
88dc5e90d1 Add documentation 2022-01-01 22:39:30 +01:00
Alexander Bock
9668745860 Cleanup 2022-01-01 22:25:56 +01:00
Alexander Bock
468eb887db Support interpolation in Folder mode 2022-01-01 22:11:12 +01:00
Alexander Bock
1a4e0d2c88 Some more cleanup 2022-01-01 20:59:01 +01:00
Alexander Bock
9c7d01dcfb More cleanup 2022-01-01 14:57:49 +01:00
Alexander Bock
d4bd58600d Some more cleanup 2022-01-01 13:22:54 +01:00
Alexander Bock
550faec8fb Fix example, don't store DefaultTileProvider as unique_ptrs 2022-01-01 13:07:15 +01:00
Alexander Bock
2d341a875d Happy local new year 2022-01-01 12:35:36 +01:00
Alexander Bock
cdac4942b6 Merge branch 'master' into feature/tileproviders
# Conflicts:
#	ext/ghoul
#	modules/globebrowsing/src/tileprovider.cpp
#	modules/globebrowsing/src/tileprovider.h
2022-01-01 12:34:42 +01:00
Alexander Bock
d7d279ea16 Happy new year 2022-01-01 12:32:55 +01:00
Alexander Bock
e2ea30ac1c First version of providing a folder-based temporal tileprovider 2021-12-31 20:12:25 +01:00
Alexander Bock
7e62f7af1d Turn the color map into a 1D texture 2021-12-31 18:02:53 +01:00
Alexander Bock
e97ce70107 Bring the example back to life 2021-12-31 16:04:23 +01:00
Alexander Bock
90dbb6a01f Rename Generative to Prototyped; Remove restriction on date format 2021-12-31 15:01:38 +01:00
Alexander Bock
d81644ecc5 Move temporal information from the XML file format into the asset file 2021-12-31 12:23:28 +01:00