Commit Graph

4786 Commits

Author SHA1 Message Date
Ylva Selling
aed059a147 Fix precision issue that led to nan values. This fixes #1934 2022-03-23 16:19:10 -04:00
Ylva Selling
5b4c3da91e Make the smallest fov possible a lot smaller 2022-03-23 14:06:40 -04:00
Ylva Selling
f34884e86b Make apperance of target match the dimensions of the sky browser. Fixes issue #1926 2022-03-23 13:27:01 -04:00
Ylva Selling
ba0ce07181 Create setting to render the interactive sky browser only on master. This could be useful in a dome setting 2022-03-23 09:21:56 -04:00
Ylva Selling
c3c453b45c Fix search of pairs to include scene graph node identifier as well 2022-03-23 09:21:18 -04:00
Ylva Selling
5bbf7d3d33 Fixes after merging in new cef version and master 2022-03-22 16:01:34 -04:00
Ylva Selling
83ad7db147 Merge branch 'feature/cef-update' into thesis/2021/skybrowser 2022-03-21 16:19:42 -04:00
Micah
440dfa32c7 fixing ref ptf for cef 2022-03-21 16:14:49 -04:00
Micah
bf559c5605 update cef and a few calls for it 2022-03-21 13:08:26 -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
Alexander Bock
86dcff62c4 Provide error message when loading a speckfile that does not contain only numbers (closes #1903) 2022-03-18 15:50:01 +01:00
Alexander Bock
1833894264 Only print the error for missing shadow caster once (closes #1594) 2022-03-18 14:24:36 +01:00
Ylva Selling
ea77f74731 Make it possible to add n number of additional rendered copies of the sky browser, that can be placed with RAE coordinates 2022-03-17 11:53:12 -04:00
Ylva Selling
220c1090d2 Make copies of screenspacebrowser look at camera 2022-03-17 10:54:45 -04:00
Ylva Selling
128d21b759 Transform the hovercircle to a renderable so it works in a dome environment 2022-03-17 10:36:04 -04:00
Ylva Selling
b405756ce9 Add missing files for target renderable 2022-03-17 09:43:24 -04:00
Ylva Selling
9c3b61aaf9 Ensure that the TargetBrowserPair can be found regardless if the identifier of the renderable or the node is passed to the api. This fixes a bug with the "openspace.skybrowser.adjustCamera" function 2022-03-16 16:28:44 -04:00
Ylva Selling
7d3a88f007 Make it possible to add two copies of the sky browser, which will make it possible to display many copies in a dome environment and have an interactive copy on the master node 2022-03-16 16:22:56 -04:00
Ylva Selling
99bfd1cf57 Implement fine tuning of target in world space coordinates 2022-03-16 12:06:15 -04:00
Ylva Selling
bf5069fbf6 Change screenspaceskybrowser to renderableskybrowser 2022-03-16 11:20:37 -04:00
Ylva Selling
6f4b91696c Change image directory name to lower case 2022-03-07 15:34:43 -05:00
Ylva Selling
f7be9c05e0 Add property to module for controlling the rotation speed of the camera 2022-03-07 15:11:03 -05:00
Ylva Selling
ae86396317 Make crosshair appear at all times with a fixed size 2022-03-04 17:37:11 -05:00
Ylva Selling
119016ee54 Change default position of the target to upper right part of the screen 2022-03-04 17:24:07 -05:00
Ylva Selling
d7fa2a31a8 Make conversion use the combinedViewMatrix to use the SGCT view matrix, that hopefully will make the target work in the dome 2022-03-04 12:30:58 -05:00
Ylva Selling
ec201d954a Pull request code style fixes 2022-03-04 12:30:12 -05: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
Ylva Selling
bd43816060 Pull request fix requested changes 2022-03-03 12:10:41 -05:00
sylvass
b2ce062ce9 Merge remote-tracking branch 'origin/master' into thesis/2021/skybrowser
# Conflicts:
#	data/assets/util/webgui.asset
2022-03-02 16:41:11 -05:00
sylvass
21e572149e Fix comments from pull request 2022-03-02 16:39:44 -05:00
sylvass
02c9ef4a7a Add missing files 2022-02-28 17:19:41 -05: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
sylvass
380e317f34 More cleanup before pull request 2022-02-22 16:25:46 -05:00
sylvass
d96ea9189d Reset files that shouldn't be changed for pull request 2022-02-22 16:20:40 -05:00
sylvass
46dc827180 Merge resolve from updating submodules 2022-02-22 15:36:05 -05:00
sylvass
bcf463ad66 Merge remote-tracking branch 'origin/master' into thesis/2021/skybrowser
# Conflicts:
#	data/assets/util/asset_helper.asset
#	data/assets/util/webgui.asset
2022-02-22 10:25:46 -05:00
sylvass
ee26ab4e08 Remove comments with other urls for the sky browser 2022-02-22 09:51:53 -05:00
sylvass
ea174f544e Remove unneccessary time variables 2022-02-22 09:51:06 -05:00
sylvass
4af95311b9 Add linewidth property to sky target 2022-02-22 09:50:55 -05:00
sylvass
96149a7978 Tidy up shader code 2022-02-22 09:50:26 -05: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
sylvass
8b71bbd0da Remove renderable sky browser (3D browser and related functionality) 2022-02-18 12:21:12 -05:00
sylvass
863b555747 Ensure all nodes in a cluset get the same border color for the browsers 2022-02-18 11:28:09 -05: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
sylvass
5a07842b9e Add lua function to translate screen space renderable. Add documentation for the lua functions. 2022-02-17 08:55:03 -05:00
Alexander Bock
e8072495ec Feature/warnings (#1885)
Remove many warnings from MSVC, Clang, and GCC
2022-02-16 18:33:12 +01:00