Commit Graph

6087 Commits

Author SHA1 Message Date
Emma Broman
53a9a8bf71 Break out repeated update code into camera state base class
And rename update function from states to velocities
2025-12-19 12:52:10 +01:00
Emma Broman
32583084b3 Move idle behavior logic to a separate class
We might want to move it out of the orbital navigator in the future, and it's quite ocmplex so it's nice to have it in its own separate file.
2025-12-18 11:25:28 +01:00
Emma Broman
87488edca2 Move joystick input states to interactionhandler 2025-12-17 15:56:37 +01:00
Emma Broman
a214641f26 Move websocket input state to inputhandler + do some cleanup 2025-12-17 13:41:09 +01:00
Emma Broman
3a5c56de81 Move interactionMonitor into InteractionHandler 2025-12-17 13:12:51 +01:00
Emma Broman
9e62607636 Move interaction/input related code form navigation handler to a global interaction handler 2025-12-17 11:59:11 +01:00
Emma Broman
90a48934f3 Move files related to orbital navigation to one place (navigation/orbitalnavigator/) 2025-12-17 11:08:04 +01:00
Emma Broman
14f3742696 Star by simplifying nav handler a bit by replacing helper functions with direct calls 2025-12-16 14:48:32 +01:00
Alexander Bock
c02e59b9f8 Fixing more includes and forward declarations (#3876) 2025-12-16 13:40:19 +01:00
Andreas Engberg
1e697caba8 Feature/globebrowsing (#3849)
* add globebrowsing panel to WebGui
2025-12-16 11:09:12 +01:00
Alexander Bock
a269205f5d Pass for coding style 2025-12-08 23:36:19 +01:00
Alexander Bock
6b20d114c8 Global pass over optimizing includes (#3862) 2025-12-08 20:13:31 +01:00
hn-88
e81129c42e CMake 4 fixes for the MacOS build
CMake 4.x requires consistency - once you use plain signature, all calls must be plain, or once you use keywords, all must use keywords. (#3858)
2025-12-04 11:28:30 +01:00
Emma Broman
7e712aca38 Add angular fisheye texture mapping for spheres (#3837)
* Add equirectangular to fisheye coordinate mapping for spheres

* Code cleanup and some image examples

* Add documentation and video sphere example

* Fix renderable video sphere not updating on changed sphere settings

* Increase example video sphere resolution and clarify orientation setting

* Apply suggestions from code review

Co-authored-by: Malin E <malin.ejdbo@gmail.com>

* Address more code review comments

* Update docs to match recent changes in #3835

* Apply suggestions from code review

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Andreas Engberg <48772850+engbergandreas@users.noreply.github.com>

* Move texture mapping to fragment shader

Fixes issues at edges due to interpolation of texture coordinates

---------

Co-authored-by: Malin E <malin.ejdbo@gmail.com>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Andreas Engberg <48772850+engbergandreas@users.noreply.github.com>
2025-12-04 10:37:41 +01:00
Andreas Engberg
dfbc1f5090 Issue/591 add assets file browsing (#3798)
* create download event topic wip

* Make topic connection thread safe & rate limit downloadeventtopic data to reduce traffic


* add LDEBUG and LERROR on donwload start/finish/failed

* Add new AssetLoadingEvent
event 
* fix pr comments
2025-12-01 11:14:41 +01:00
Emma Broman
4267c181c5 Video examples cleanup and documentation (#3835)
* Add correctly formatted examples for video player classes

* Add documentation for video player classes

* Remove old (and replaced) video examples

* Update video playback description based on code review and UI update

* Remove possibly confusing mention of servers in example assets

* Oops, missed one

* Remove another mention of the video player, as the UI will change
2025-12-01 11:07:07 +01:00
Alexander Bock
ca29378d54 Update assets to adapt to the bugfix in the RenderableSphericalGrid 2025-11-20 16:56:54 +01:00
Alexander Bock
28367dcfbe Correctly calculate the max chunk level when no overview is available (#3771) 2025-11-17 14:48:25 +01:00
Emma Broman
f7cb1b4edb Use bounding sphere instead of interaction for debug axes default size
Interaction sphere is often zero by default => the axes will not be visible. The bounding sphere better matches the visible size of the object
2025-10-27 16:16:28 +01:00
Mathis Brossier
8d382d5a85 Make TUIO port configurable (#3813) 2025-10-27 14:20:29 +01:00
Adam Rohdin
57f2705157 feature/multithreaded-asteroids (#3799)
- Added multithreading and a better system for updating which segments to render for each orbit
- Less work is being done while time is paused
- Added multithreading for loading of data
- Added support for "Camera View Direction" in addition to existing "Camera Position Normal"
2025-10-14 16:46:52 +02:00
Alexander Bock
25f021f009 Change more prefix to postfix operators 2025-10-04 10:13:25 +02:00
Alexander Bock
68bbfd0b4c Restore previously square segments in the RenderableSphericalGrids 2025-10-03 16:49:15 +02:00
Alexander Bock
97e81208cb Fix overdraw issue that caused flickering in RenderableSphericalGrid
Also add more visual tests for the class
2025-09-30 21:17:18 +02:00
Alexander Bock
6a0bc55462 Correctly calculate the period from mean motion for minor planet center orbits (closes #3804) 2025-09-26 22:05:44 +02:00
Alexander Bock
32cff07bf8 New ScreenSpaceText objects (#3794)
* First version of new screenspacetext and screenspacetextdate
* Code restructuring and adding new types
 - ScreenSpaceFramebuffer -> ScreenSpaceRenderableFramebuffer
 - ScreenSpaceText -> ScreenSpaceRenderableText
 - Add new user-facing ScreenSpaceText
 - Add examples
* Add documentation for new ScreenSpace objects
* Add visual tests to new screenspace objects
* Address PR comments
2025-09-26 15:35:05 +02:00
benpm
ccadf2a53b fixes #3711 2025-09-25 15:18:43 -06:00
Alexander Bock
ab790ff6f8 Remove offset for max chunk level, fixing disappearing height tiles on Earth (#3791) 2025-09-25 13:13:12 +02:00
Alexander Bock
630823e6be Remove unused default variables in the DashboardTextItem 2025-09-11 23:22:12 +02:00
Alexander Bock
4fe270d055 Force OpenSpace_Helper to the dedicated graphics card. Fixes a crash on laptops 2025-09-09 19:51:08 +02:00
benpm
47fe9d4d7d fix error on disable "perform shading" property on saturn 2025-09-09 01:44:23 -06:00
Benjamin Mastripolito
fb3b2c074b Merge pull request #3784 from OpenSpace/issue/3776-ring-shadows-fisheye
Fixed incorrect rendering of planet-onto-ring shadows in fisheye projection mode
2025-09-08 11:52:26 -06:00
benpm
e182513447 removing unused shader uniforms and shadow matrix calculations 2025-09-08 11:51:02 -06:00
Arohdin
9494f2d1a1 RenderableOrbitalKepler trail fix 2025-09-08 14:51:41 +02:00
Alexander Bock
ff72e47f7b Move to use postfix increment only 2025-09-07 16:56:59 +02:00
Alexander Bock
8f12fa045f Remove explicit GL reporting from RenderableGaiaStars 2025-09-07 15:17:36 +02:00
Alexander Bock
685af84339 Adjust properties to new capitalization rules 2025-09-07 15:13:45 +02:00
Alexander Bock
ca8508087f Correctly download ARM-version of CEF when on a Windows ARM architecture 2025-08-31 16:26:20 +02:00
Anders Lundkvist
527ef205c9 Fix todays sun fieldline color inconsistency during time changes (#3786)
* Fix fieldline color inconsistency during time changes
2025-08-28 09:53:18 -04:00
Alexander Bock
eaa9e6fb39 Fix some coding style questions 2025-08-27 13:19:59 +02:00
benpm
792d65c941 shadow of globe onto rings now uses simple ray/ellipsoid intersection
fixes #3776
2025-08-25 12:23:25 -06:00
benpm
7604b3dae9 fixes #3779 by properly disabling ring shadows when rings are disabled 2025-08-19 13:24:53 -06:00
Alexander Bock
f341310419 Fix issue with the TileProviderByLevel example when no name is specified 2025-08-15 17:50:47 +02:00
Adam Rohdin
559190d7d7 Some rework for renderableTrailTrajectory (#3742)
Removed feature sweepChunk.
The feature was implemented for version 0.19.0 as an iterative way to calculate renderableTrailTrajectory.
However, due to the function not being active by default, and due multithreading being on the horizon for SPICE2, this code is now removed.

- Removed SweepChunk feature
- Added toggle for Accurate Trail Points (in asset: AccurateTrail)
- Changed min number of accurate points from 0 to 2
- Removed max vertices ceiling
- Fixed issue where number of vertices were not calculated properly
- Fixed point size rendering issue for RenderableTrail
- Changed start/end time for voyager 1 & 2
- Updated description for SampleInterval and TimeStampSubsampleFactor to be more clear
- Moved full sweep pass from update function to new updateBuffer function
- Fixed trail rendering issue when time is exact same as start time of a trail
2025-08-15 09:59:08 +02:00
benpm
204a929fe7 Set ignore uniform location warning for global and local renderers in RenderableGlobe
Fixes #3770
2025-08-13 15:12:50 -06:00
Alexander Bock
19e9e2c1fb Adapt to new compile option style and fix warnings (#3773) 2025-08-12 14:19:45 +02:00
Alexander Bock
389842f76c Adjust coding style 2025-08-05 20:43:44 +02:00
hn-88
9965143f0a Adding arm64 architecture support for NodeJS (#3765) 2025-08-05 17:15:16 +02:00
Alexander Bock
2892b60d62 More user-friendly name for the default properties in a GeoJSON 2025-08-05 14:36:29 +02:00
benpm
a0c1fd7c7c fixed local renderer broken due to missing uniform (oops) 2025-07-29 15:02:16 -06:00