Commit Graph

7174 Commits

Author SHA1 Message Date
Alexander Bock dc63946fef Expose the const char* functionality for Spice to prevent unnecessary string creation 2020-08-20 11:08:49 +02:00
Alexander Bock e93f1833be Make more use of temporary string objects in the TimeQuantizer
Add GPU markers to the rendering
2020-08-19 18:26:11 +02:00
Alexander Bock 6ac5d536fa Update Ghoul repository
Adapt to Ghoul changes in MemoryPool
2020-08-19 16:19:25 +02:00
Alexander Bock 2621e16ec4 Pass the format string for the ephemeris conversion as a string_view to prevent an extra memory allocation 2020-08-19 11:12:45 +02:00
Alexander Bock 0ae699e345 Merge branch 'feature/multiple-models' into feature/general-performance 2020-08-19 10:27:39 +02:00
Alexander Bock 89af15126b Use global memory block for the models 2020-08-19 10:27:21 +02:00
Alexander Bock 7603edf906 Add the ability to add multiple ModelGeometry's for a RenderableModel to show models with multiple OBJ files without needing to create multiple scene graph nodes 2020-08-18 16:34:54 +02:00
Alexander Bock d4291163ba Move ColorTexture from RenderableModel to ModelGeometry 2020-08-18 16:00:32 +02:00
Alexander Bock 4f2d612abe Only create RenderData if we actually want to render the Renderable 2020-08-18 13:43:51 +02:00
Alexander Bock 88b6fdd9fe Add more Tracy markers in different renderables 2020-08-18 12:58:40 +02:00
Alexander Bock c4db2a8ff9 No longer keep textures for RenderablePlanesCloud in RAM 2020-08-18 11:02:44 +02:00
Alexander Bock 2b6d95057b Don't keep the majority of textures in RAM if they are not needed, further reducing the memory footprint 2020-08-18 10:48:56 +02:00
Alexander Bock b49154b83e No longer allocated unused data in the Milkyway that is overwritten immediately 2020-08-18 10:40:17 +02:00
Alexander Bock 38caff9c02 Move a lot of the initialization of the RenderableGalaxy from the initializeGL to the initialize method to make use of the multithreading
Don't keep the volume in RAM when it has been uploaded to the GPU
2020-08-18 10:30:05 +02:00
Alexander Bock 71415e3cdb Update Ghoul repository 2020-08-18 10:09:28 +02:00
Alexander Bock b16ee5b35a Adapt to changes in Ghoul regarding string_view
Fix compile error if Trace logging is not enabled
Limit the number of threads to a maximum of 4 for asset initialization
2020-08-18 10:07:38 +02:00
Alexander Bock 4d9dda9a73 Merge remote-tracking branch 'origin/master' into feature/general-performance 2020-08-18 08:56:30 +02:00
Alexander Bock 52a2442f06 Merge pull request #1276 from OpenSpace/feature/continuous-orbital-navigation
adding option to not reset velocity on anchor change
2020-08-17 22:50:54 +02:00
Alexander Bock a6d8d0e735 Small coding style fixes 2020-08-17 22:50:27 +02:00
Alexander Bock f5eec4e97f Update Ghoul repository (closes #1278) 2020-08-17 22:28:17 +02:00
Alexander Bock 0f71f7b654 Update submodules 2020-08-17 21:35:22 +02:00
Alexander Bock 97811d82d0 Fix error with time quantizer string conversion
Fix error with uninitialized memory in GlobeBrowsing
Remove dynamic memory allocation from on-screen rendering
2020-08-14 14:10:54 +02:00
Micah edb7d9ba1d adding option to not reset velocity on anchor change 2020-08-13 20:16:46 -04:00
Alexander Bock 5091fa7ddb Using a fixed number of chunktiles in the chunktilepile as they number has to be 1 or 3 2020-08-13 17:50:22 +02:00
Alexander Bock c55aa5f69a Remove capturing of variables in globe traversal lambda, reducing dynamic memory allocation there 2020-08-13 17:06:33 +02:00
Alexander Bock cabb962f6a Use temporary memory arena to create unsorted list of tiles, preventing dynamic memory allocations 2020-08-13 16:48:18 +02:00
Alexander Bock 4f68f99c9d Remove dynamic memory allocation from TileMetaData 2020-08-13 15:37:00 +02:00
Alexander Bock a6ca95347c Some small improvements 2020-08-13 14:02:02 +02:00
Alexander Bock 760c34660f Directly create the correct date/time format 2020-08-13 11:42:12 +02:00
Alexander Bock 38eac377e8 Introduce the date library 2020-08-13 10:47:30 +02:00
Alexander Bock d97c96d144 Don't update the scene twice on the master 2020-08-11 11:44:02 +02:00
Alexander Bock 77db3b6ce8 Remove caching of inverse model transform for every scene graph node 2020-08-11 11:43:50 +02:00
Alexander Bock 84e3fb94e9 Merge branch 'master' into feature/disabled-updates 2020-08-10 16:16:46 +02:00
Alexander Bock db65ef0363 Merge pull request #1271 from OpenSpace/feature/stringview
Feature/stringview
2020-08-10 15:59:24 +02:00
Alexander Bock e04fd0e132 Update SGCT repository 2020-08-10 15:58:59 +02:00
Alexander Bock e3699a43a8 Update Ghoul and SGCT
Adapt to changes by using more string_view
2020-08-09 20:11:40 +02:00
Alexander Bock 968080abc4 Compile fix for Visual Studio 2019.7 2020-08-09 11:47:37 +02:00
Alexander Bock caf125c592 Some more work on this 2020-08-09 11:21:25 +02:00
Alexander Bock dc5e2fb3a6 Merge pull request #1270 from OpenSpace/feature/memory-allocations
* Add MemoryManager to handle centralized memory
 * Create SceneGraphNodes, Renderable, and transformations in the new MemoryPool
 * Remove dynamic memory allocations throughout the codebase
 * Move the error message hack outside the scene render loop
2020-08-07 15:48:25 +02:00
Alexander Bock a553f3eeff Remove optimization pragma 2020-08-07 15:46:34 +02:00
Alexander Bock ca728a2f35 Remove some dynamic memory allocation from deferred atmosphere caster 2020-08-07 15:03:27 +02:00
Alexander Bock d93be0f78d Small improvements in time conversion 2020-08-07 10:54:35 +02:00
Micah 7ecf77dc38 fix a bug in rawtilereader causing less map layers to be read 2020-08-06 16:58:40 -04:00
Alexander Bock d39d4a91ec Move error message hack outside of scene render loop
Use std::string_view instead of std::string in more places
2020-08-06 16:02:45 +02:00
Alexander Bock 65546d9863 Merge remote-tracking branch 'origin/master' into feature/memory-allocations 2020-08-06 13:59:35 +02:00
aniisaaden 17702c2129 Fixed include for Visual Studio Version 16.7.0 2020-08-06 13:36:08 +02:00
aniisaaden 1cfd716026 Revert "Fixed include for Visual studio Version 16.7.0"
This reverts commit 91862759d3.
2020-08-06 13:35:33 +02:00
aniisaaden 91862759d3 Fixed include for Visual studio Version 16.7.0 2020-08-06 13:28:16 +02:00
Alexander Bock 0e3539bb23 Remove dynamic allocation in RenderableTrail 2020-08-06 11:39:33 +02:00
Alexander Bock 74c1b6cad5 Remove memory allocation in SpiceTranslation due to copy constructor of StringProperty 2020-08-06 10:56:36 +02:00