Commit Graph

5913 Commits

Author SHA1 Message Date
Emma Broman
1092948518 Make useCaching for point cloud also affect color map
Makes it so that changes can be done to the color map file without having to delete the cache, and decreases confusion about that one file is cached when the other isn't
2024-05-02 11:08:59 +02:00
Emma Broman
378c3f3b19 Add missing base class documentation for constellations renderables 2024-05-02 10:55:20 +02:00
Anders Lundkvist
c09e6da405 Add example for RenderableSphereSpout (#3208)
* Example asset for RenderableSphereSpout

* fixed path to example texture

* removed unnecessary variables

* Update example and improve the documentation handling for the spout classes

* Apply new naming scheme

* added PR review changes

* changed to correct submodules

* submodules updated to correct version

* reverted wrong submodule updates

---------

Co-authored-by: Arohdin <adam.rohdin@liu.se>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-04-30 12:01:15 -04:00
Ylva Selling
7757ec7976 Merge pull request #3212 from OpenSpace/issue/2996
Issue/2996 - documentation engine rewrite
2024-04-30 16:11:13 +02:00
Alexander Bock
359cf9950e Add documentation and example for the TileProviderByIndex (#3220) 2024-04-30 08:20:40 +02:00
Alexander Bock
203cff04cc Make use of the new uniform cache method that uses the variable names as uniform names (#3217) 2024-04-30 08:12:33 +02:00
Malin E
7061675ab5 Add calculation of bounding sphere for model projection, closes #2319 2024-04-29 14:29:08 +02:00
Alexander Bock
5c4c5b1f10 Correctly advance dashboarditem pen position before rendering instead of afterwards (closes #3067) 2024-04-24 19:56:25 +02:00
Alexander Bock
0bc1af8951 Correctly make RenderableDebugPlane derive from RenderablePlane (closes #3175) 2024-04-24 15:11:36 +02:00
Alexander Bock
78b3b4fb2e Adding periods to the description texts 2024-04-23 22:33:17 +02:00
Alexander Bock
f23505db90 Add documentation and examples for NonUniformStaticScale. Remove the no-argument constructor and make the dictionary constructor explicit (#3182)
* Add documentation and examples for NonUniformStaticScale.  Remove the no-argument constructor and make the dictionary constructor explicit
2024-04-23 08:53:24 +02:00
Alexander Bock
c87a0901a2 Add example and documentation for the StaticScale. Extract the static scale as a double value instead of a float (#3181)
* Add example and documentation for the StaticScale.  Extract the static scale as a double value instead of a float
2024-04-23 08:49:52 +02:00
Alexander Bock
28845a5df6 Add examples and documentation for TimeDependentScale. Add more strict verifiers (#3180)
* Add examples and documentation for TimeDependentScale. Add more strict verifiers
* Update verifier to accept Spice-like YYYY MMM DD hh:mm::ss dates
2024-04-23 08:48:50 +02:00
Alexander Bock
048dfdfde1 Add example for TimeFrameUnion and properly use the parameters struct (#3179) 2024-04-23 08:45:54 +02:00
Emma Broman
f5d68cbd5e Issue/3070 - Outline/border to textured points (#3191)
* Add option for outline styles (round, square, bottom)
* Apply color map to point borders
2024-04-19 17:48:28 +02:00
Adam Rohdin
392a521423 Fix for a lot of trail related stuff (#3193)
Fixes following issues: #625 , #1067 , #1212 , #1472 , #2072 , #2235, #2964
- Trails in `renderableTrailTrajectory` now goes through the spacecraft when using `AccurateTrailPositions`.
- Trail fading controls have been improved for classes using the `renderableTrail` class.
-  `renderableOrbitalKepler` (asteroids/satellites) can now be rendered as both trails and points (or both at once). Solution implements similar functionality/controls as `renderablePointCloud`.
- Default setting for SweepChunking has been changed from `true` to `false` (iterative calculations of `renderableTrailTrajectory`).
- Some fixes related to missing points or off-by-one errors related to trail rendering
2024-04-19 16:51:17 +02:00
Ylva Selling
9db86c79d4 Make abstract classes RenderablePlane and RenderableSphere, as well as VideoPlayer, not appear in the documentation. Add them to the derived classes instead 2024-04-19 11:13:19 +02:00
Gene Payne
e5306a7b59 Fix for reading epoch due to scnlib format changes (#3166) 2024-04-18 21:54:38 -06:00
Alexander Bock
4476184746 Updating the star rendering (#3164)
* Adding a new star renderer
* Remove PSF-based rendering
2024-04-18 14:13:19 +02:00
Emma Broman
82ddbc57f8 Include orientation data in new point cloud and remove RenderablePlanesCloud (#3168)
* WIP start including rotation data

* Fix option to use orientation data or not

* Renames to reflect that points are no longer billboarded (at least not always)

* Increase max value for scale factor

* Fix correct scaling for tully and deep sky objects

* Remove the old RenderablePlanesCloud, we don't need it anymore

* Add unit handling for size scaling from data values

* Clarify some documentation about the points being rendered as planes

* Update datasets to the new ones on the server

* Use quaternions for orientation instead of vectors (simplifies interpolation and requires less data)

* Make interpolation of orientation work

* Fix size for deep sky objects being too small due to data being radius rather than diameter

* Add IsRadius flag for deepsky

* Update asset versions (major number update, due to breaking changes)

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-04-18 14:06:55 +02:00
Alexander Bock
0794423fef Clarify UrlSynchronization resync time documentation 2024-04-16 22:57:46 +02:00
Alexander Bock
ca5d02cc02 Fix logging and documentation for LuaTranslation and LuaRotation (closes #3176) 2024-04-11 20:09:24 +02:00
Ylva Selling
5fdc3bf45f Remove todo link (as the documentation will link to asset) 2024-04-08 14:10:37 +02:00
Ylva Selling
22c00f2437 Clean up typos and duplicates in documentation 2024-04-08 13:45:01 +02:00
Emma Broman
731b6a5407 Fix broken interpolated points
Broke from moving dataset loading to initialise in 3f8bff5a62, and resulted in a crash..
2024-04-08 10:07:23 +02:00
Alexander Bock
ee6b9a5ed8 Prevent crash when rendering globes when the Sun node is not loaded in the scene 2024-04-08 09:02:54 +02:00
Alexander Bock
2a88521795 Properly disable appropriate code when compiled without globebrowsing support (closes #3146) 2024-04-07 17:44:21 +02:00
Alexander Bock
88decaf414 Remove the ability to have optional parameters in the beginning of Lua functions (closes #3151). Make the goToGeo and flyToGeo globe first parameter required 2024-04-07 17:29:01 +02:00
Alexander Bock
3d62571c44 Remove warning on Jenkins 2024-04-07 01:53:16 +02:00
Alexander Bock
4328476d26 Use more filesystem::path where applicable 2024-04-06 23:55:59 +02:00
Emma Broman
2af06fb641 Add asset setting to skip first data point in RenderablePointCloud (#3161)
* Add asset setting to skip first data point

To hide our galaxy in the Tully datasets

* Apply suggestions from code review

Co-authored-by: Alexander Bock <alexander.bock@liu.se>

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-04-05 14:20:11 +02:00
Emma Broman
c26f903e47 Correctly reset face culling state after RenderableSphere rendering (closes #1128) 2024-04-05 14:19:31 +02:00
Alexander Bock
76b99a2e01 Mutex-protect the time conversion in the URLSynchronization to prevent a rare crash when accessing SpiceManager multithreaded 2024-04-05 11:18:32 +02:00
Alexander Bock
4049501406 Adding a function to return whether OpenSpace currently is paused 2024-04-04 17:09:34 +02:00
Alexander Bock
9558f2bcbb Add the ability to specifiy local Sun position for the RenderableGlobe and RenderableAtmosphere (#3137)
* Add the ability to specifiy local Sun position for the RenderableGlobe and RenderableAtmosphere

Note that for planets with atmospheres, the SunNode has to be specified for _both_ the globe and the atmosphere separately

 - Closes #1745
 - Closes #2243
2024-04-04 16:16:01 +02:00
Alexander Bock
c47eb8fc7a ... and then re-add it again 2024-04-03 12:45:55 +02:00
Alexander Bock
e2a82a170e Remove SoLoud... 2024-04-03 12:43:41 +02:00
Emma Broman
d48f77fd9e Adress a couple of warnings 2024-04-03 09:23:32 +02:00
Alexander Bock
2fc801cae0 Double-remove soloud submodule from the wrong path 2024-04-02 23:37:37 +02:00
Emma Broman
046aea0776 Fix an oopsie in point cloud shader 2024-04-02 14:19:54 +02:00
Gene Payne
9eb2344c27 Added missing profiling header to prevent Tracy error 2024-03-28 14:22:03 -06:00
Gene Payne
d16e016d49 Update refs to sgct and ghoul from master 2024-03-28 09:52:17 -06:00
Alexander Bock
cdf98f7889 Optimizing the data loading. Adding more Tracy macros 2024-03-28 14:30:12 +01:00
Emma Broman
3f8bff5a62 General performance improvements (#3142)
* Adding some Tracy zones
* Move point cloud dataset loading to initialize function to speed up startup 
* Switch order of operations in memoryaware tile cache to speed up startup
* Move point cloud dataset loading to initialize function
* Add more Zone Scoped and rearrange SDSS loading
* More speed up

---------

Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
2024-03-28 01:10:07 +01:00
GPayne
12f3645447 Merge-in linux bug fixes from Master 2024-03-27 11:50:52 -06:00
Alexander Bock
06523463d0 Change audiomodule from fmt to std 2024-03-26 22:59:18 +01:00
Alexander Bock
0d0f4eef46 Fix compile issue on linux and small warnings 2024-03-26 22:44:40 +01:00
Gene Payne
6146cf16b2 Merge-in all updates from master 2024-03-25 18:35:57 -06:00
Alexander Bock
49fc538c17 Rename fmt.h to format.h and enable audio module on default 2024-03-25 23:19:52 +01:00
Ylva Selling
f625dc296b Update PR according to comments 2024-03-25 11:23:00 +01:00