Commit Graph

11407 Commits

Author SHA1 Message Date
Alexander Bock
48ba2d776d Update third party licenses. Add text and remove unused libraries 2024-03-28 20:15:44 +01:00
Alexander Bock
9cf5e55ad6 Update codegen submodule 2024-03-28 17:57:15 +01:00
Gene Payne
6b700d1032 Switch all getline reads to tolerate line endings of any operating system
Closes #2754
2024-03-28 09:54:34 -06:00
Gene Payne
d16e016d49 Update refs to sgct and ghoul from master 2024-03-28 09:52:17 -06:00
Alexander Bock
5115638c09 Disable memory profiling again as it causes exceptions in tracy 2024-03-28 16:39:44 +01:00
Alexander Bock
2203eb6df6 Enable memory profiling and fix compile issues when building without tracy 2024-03-28 16:05:06 +01: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
3e893ee19d Disable the ninja builds for now as they fail with the current Docker setup 2024-03-27 10:20:42 +01: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
Ylva Selling
5ec67f8226 Update documentation submodule 2024-03-26 09:43:11 +01:00
Ylva Selling
75b4c00787 Merge pull request #3037 from OpenSpace/issue/2770
Remove nestling and make members of table more accessible
2024-03-26 09:23:58 +01:00
Gene Payne
6146cf16b2 Merge-in all updates from master 2024-03-25 18:35:57 -06:00
Alexander Bock
892a474a20 Move Sun light source specification from sun.asset to transforms.asset 2024-03-26 01:12:56 +01:00
Alexander Bock
49fc538c17 Rename fmt.h to format.h and enable audio module on default 2024-03-25 23:19:52 +01:00
Micah Acinapura
2feaff2013 decreased limit zoom for orex profile; closes #2473 (#3130)
* decreased limit zoom for orex profile; closes #2473

* Update data/profiles/osirisrex.profile

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

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-03-25 15:20:11 -04:00
Ylva Selling
ab1c61b27d Merge remote-tracking branch 'origin/master' into issue/2770
# Conflicts:
#	src/util/factorymanager.cpp
2024-03-25 11:54:43 +01:00
Ylva Selling
bed5a8b727 Merge pull request #3056 from OpenSpace/issue/2645
Issue/2645 Add documentation for actions and events
2024-03-25 11:33:02 +01:00
Ylva Selling
f625dc296b Update PR according to comments 2024-03-25 11:23:00 +01:00
Ylva Selling
b347659510 Merge branch 'master' into issue/2645
# Conflicts:
#	src/documentation/documentationengine.cpp
#	src/properties/propertyowner.cpp
#	src/scripting/scriptengine.cpp
#	src/util/factorymanager.cpp
2024-03-25 11:14:09 +01:00
Alexander Bock
cc76a5953f Add new Lua file that reports if we are recording (closes #2559) 2024-03-24 23:13:57 +01:00
Alexander Bock
024d457cc9 Remove end time from JWST (closes #3135) 2024-03-24 23:09:30 +01:00
Alexander Bock
17336563b8 Update codegen repository 2024-03-24 22:34:28 +01:00
Alexander Bock
9efbc58c89 Add support for audio playback (#3085)
* Add support for audio playback using the SoLoud library
* Add 3D audio and some comments
* Add documentation and examples
2024-03-24 22:16:21 +01:00
Alexander Bock
3ba346a227 Remove fmt::format and replace with std::format 2024-03-24 20:19:14 +01:00
Alexander Bock
9878bfc8f7 Update submodules (#3136)
* Updating Ghoul and SGCT submodules
* Jenkins fixes
2024-03-24 17:22:41 +01:00
Alexander Bock
d719cf2ef9 Update clang-tidy file 2024-03-22 09:42:13 +01:00
Alexander Bock
424429bce6 Update Kameleon submodule to fix compile error 2024-03-21 22:57:40 +01:00
Emma Broman
d2f5dd43a5 Include timestamp in navigation state (#3078)
* Add optional timestamp to navigation state

* add option to include timetamp when setting/loading navigation state

* Don't require file extension when loading navstate

for symmetry with save function

* Update Navstate docs

* Apply suggestions from code review

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

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-03-21 20:48:57 +01:00
GPayne
05231c705f Code review changes 2024-03-20 21:02:08 -06:00
Alexander Bock
397769919d Update the UI hash to make the webui work again 2024-03-20 17:19:50 +01:00
Alexander Bock
ffe0babab5 Remove accidentally added dependency 2024-03-20 13:56:23 +01:00
Emma Broman
99ae87bd03 Remove comment about faulty color mapping that is no longer an issue (#2983) 2024-03-20 11:38:34 +01:00
Alexander Bock
e0ab7ae1d6 Coding style fixes 2024-03-19 14:49:44 +01:00
Emma Broman
3b27597213 Fix "invert" for color mapping not being read from asset file 2024-03-19 14:08:37 +01:00
Emma Broman
f36868d1c4 Feature/textured points (#3068)
* WIP: Start usign texture arrays instead of just a single texture

Now the texture array is sucessfully created, sent over and sampled on the GPU

* Include information about the texture format alpha channel and do a conversion

* Make one draw wcall per texture array

* Add scale to size mapping and move to a separate component

* WIP: Make single textures work again, with texture array

Although this breaks the polygon cloud..

* Also make the polygon cloud work again

* Refactor rendering code

* handle array layer seprately from texture coordinates

* Make sure use size mapping uniform is always set

Fixes point cloud disappearing when multi-textures points are enabled

* Add has value check to size mapping

* Fix indentation

* Make sure points are rendered even when no texture is used

* Clean up texture handling a bit and add comment about storage creation

* Add comment and temporary asset changes

* Clean up handling of color mode (number of colro channels)

* Make interpolated points work with new rendering code

* Refactor

* Bring back check for valid index for color and size data

* Make sure to check if the provided data file exists

* Fix full path ont showing in error message

* Refactor rendering code a bit

* Change how the multitexture setup is configured in the asset and add documentation

Separating made documentation a lot easier..

* Add a todo comment for future discussion

* Add settings for texture compression

* Preserve aspects ratio of rendered textures

* Restructure input parameters for texture details

* Simplify color mode - we decided to not support grayscale

* Add option to set "useAlpha" from asset

* Enable texture per default and fix aspect ratio problem when no texture is used

* tiny refactor

* Fix polygon rendering that broke when adding texture compression

* Remove color in polygon shader

The color would be applied twice in rendering

* Restructure textures code and prevent loading the same texture twice

* Better handling of extra texture parameter in speck files

That does not lead to limitations in using dashes in texture names

* Add some docs and communicate texture mode to the user

* Fix so that single texture can be changed during runtime

* Allow changing compression and usealpha during runtime

* Update texture storage allocation to something that works in older OpenGL versions

* Add a check that checks if we use more texture layers than allowed

* Even more robust check of texture line in speck file (allow extra whitespaces)

* Update data mapping to include texture information and clean up code a bit

* Error handling and prevent loading non-used textures in texture map

* Update some docs

* Small cleanup

* Add one more error message for fault texture map file format

* Remove test version of tully images dataset

* Small refactor

* Add example asset

* Update Ghoul - for larger uniform cache

* Purge texture from ram when we're done with it

* Cleanup (comments, ugly png check, etc)

* Apply suggestions from code review

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

* Apply suggestions from code review

* Adress some more review comments and fix broken asset

* More code review fixes

* Read provided sizemapping parameter from asset

* Fix warnings from trying to shift 16 bit int 32 bits :)

* simplify datamapping hash string

* Update comment that was not 100% correct. The file names may be specified as relative paths to a folder

* Small update based on previous code review comments

* Fix multi textured points gui path not same as other points

* Update Folder description to reduce some confusion

* Apply suggestions from code review

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>

* Prevent updates to polygon cloud texture during runtime

This lead to rendering problems.

* Add describing comments to data files

* Clarify why speck version is disabled per default

* Update and clarify confusing size mapping parameters

* Apply suggestions from code review

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>

* Apply suggestions from code review

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2024-03-19 13:17:25 +01:00
Alexander Bock
534f92c485 Second linting pass and adding .clang_tidy file (#3128) 2024-03-18 22:46:17 +01:00
Malin E
8e49847a47 Add two more joystick controller assets 2024-03-18 09:28:43 +01:00
GPayne
4b18b27b6e Added check for std::getline to style guide python checker 2024-03-17 12:26:54 -06:00
GPayne
795df7d03d Handle DOS newline in session recording file header & bump sgct version 2024-03-17 11:27:56 -06:00
Alexander Bock
6c89de373a Add the ability to convert TLE files to SPICE kernels and apply change to ISS (#3073)
* Fix orientation of ISS with dynamic frame kernel
2024-03-17 00:59:36 +01:00
Alexander Bock
2759c00e4b Pass through the code to address clang-tidy linting (#3083) 2024-03-17 00:58:50 +01:00
Emma Broman
75681d1d4c Always show all nodes in ImGui, even if SGN has guiHidden property true 2024-03-13 15:11:28 +01:00
Alexander Bock
8cdea01b22 Remove support for XML configuration files in SGCT 2024-03-11 15:16:42 +01:00
Alexander Bock
9a6fe47d17 Fix up text formatting as path's no longer get quoted 2024-03-08 20:19:06 +01:00
Alexander Bock
fff6f8a627 General pass for code cleanup 2024-03-08 00:36:54 +01:00
Alexander Bock
2ed6907cf1 Remove the ability to implicitly load kernels from SpiceTranslation and SpiceRotations 2024-03-07 14:58:12 +01:00
Alexander Bock
0d96df01b0 Add map layer to show the last 5000 years of eclipses (#3069)
Add new asset showing 5000 years of eclipses from the Scientific Visualization Studio
2024-03-06 10:07:50 +01:00