Commit Graph

182 Commits

Author SHA1 Message Date
Alexander Bock
9047dc7a3e Feature/globebrowsing speedup (#735)
* Removal of ChunkRenderer, ChunkedLodGlobe, ChunkCuller, chunklevel evaluator, culling classes, layershadermanager, GpuLayer, GPUData, ChunkNode, Grid, BasicGrid, Chunk files, Angle, AABB classes, PointGlobe, Ellipsoid, TileSelector, tiledatatype, iodescription, simplerawtilerreader, rawtilereader
 * Less dynamic allocation for SkirtedGrid, LayerManager, RenderableGlobe, TextureUnit
 * Clean up memory management in RawTiles
 * Code simplification
 * Optimize shader uniform setting
 * Introduce UniformCache
 * Callback simplification
 * Turn ChunkNode into a struct
 * Use a MemoryPool to organize all ChunkNodes rather than use unique_ptr and the necessary memory allocation
 * Collect draw calls
 * Consolidate fragment shaders between local and global renderer
 * Shader cleanup and optimization
 * Update CMake to not include included shaders
 * Integrate traversal function into the looping
 * Replace std::queue with std::vector
 * Merge TextureContainer into MemoryAwareTileCache
 * Lazy computation of chunk bounding boxes
 * Memory management of LayerGroup
 * Remove class hierarchy from tileproviders (temporaltileprovider not working yet)
 * Remove PBO classes
* Chunk status stored in Chunk
* Don't create a copy of the ChunkTilePile
* Enable culling by projected area on default
* Have raw tile reader return a Tile instead of a shared_ptr to a tile
* Start making GDAL mandatory
* Increase the default lod scale factor to 15
2018-10-30 17:20:06 -04:00
Alexander Bock
cf8d2db914 Performance Atmosphere (#746)
* Testing new improvements.
* Torturing shaders for performance.
* Killing some bits...
* A bit or two were killed in this commit.
2018-10-30 17:10:02 -04:00
Alexander Bock
24ef67afa0 Add helper methods to quickly render boxes (finalizing and #closes 696) 2018-09-02 02:18:40 -04:00
Emil Axelsson
518b43db02 Fix compiler warnings 2018-08-31 14:30:35 +02:00
Alexander Bock
9f1c4e847d Feature/globals (#690)
* Move global objects out of OpenSpaceEngine
 * General cleanup of main.cpp
 * Add default_joystick asset to all scenes
 * No longer suppress mouse interaction on slave nodes
 * Window delegate uses function pointers rather than subclassing
 * Fix for false overwriting of ImGUI configuration file
 * Change default color and tilt angle of fisheye rendering
 * Restructured performance manager
 * Simplify screenshot handling
2018-08-30 11:38:47 -04:00
Alexander Bock
f55828198f Adapt to UniformCache changes when updating uniform locations (closes #648) 2018-07-19 17:46:21 -04:00
Alexander Bock
8dce177d33 Remove more warnings on Jenkins 2018-07-05 14:40:54 -04:00
Jonathas Costa
3ffca283a5 Removed unsused code. 2018-07-05 14:14:13 -04:00
Alexander Bock
ef61dc8c16 Rename DashboardGlobeLocation to DashboardItemGlobeLocation
Remove JSON from iswa module and use openspace one instead
Remove warnings
General code cleanup
2018-07-05 12:00:32 -04:00
Alexander Bock
99a6efca8e Declare PropertyInfo as constexpr, rather than const 2018-06-28 17:08:56 -04:00
Emil Axelsson
de71cfda78 Make it possible to scale planets (#631) 2018-06-25 09:30:20 +02:00
Alexander Bock
4952f8f977 Code cleanup branch (#618)
* Make height map fallback layer work again
  * Add documentation to joystick button bindings
  * Removed grouped property headers
  * Add new version number constant generated by CMake
  * Make Joystick deadzone work properly
  * Change the startup date on Earth to today
  * Fix key modifier handling
  * Add debugging indices for TreeNodeDebugging
  * Fix script schedule for OsirisRex
  * Do not open Mission schedule automatically
  * Upload default projection texture automatically

  * General code cleanup
  * Fix check_style_guide warnings
  * Remove .clang-format
  * MacOS compile fixes
  * Clang analyzer fixes
2018-06-10 04:47:34 +00:00
Jonathas Costa
4197bb8200 Merged master. 2018-04-20 21:37:40 -04:00
Jonathas Costa
ce72e6c8ad Requested changes for merging. Part VII. 2018-04-20 21:15:25 -04:00
Jonathas Costa
87d1072712 Requested changes for merging. Part V. 2018-04-20 21:11:01 -04:00
Jonathas Costa
5a63500cb0 Requested changes for merging. Part V. 2018-04-20 20:54:13 -04:00
Jonathas Costa
908ade3215 Requested changes for merging. Part III. 2018-04-20 19:21:37 -04:00
Jonathas Costa
c4ece52ca6 Requested changes for merging. Part II. 2018-04-20 19:11:38 -04:00
Jonathas Costa
64d84f3b10 Requested changes for merging. Part I. 2018-04-20 19:00:00 -04:00
Alexander Bock
b4be63af65 Feature/configuration (#605)
* Switch openspace.cfg file from a Dictionary-based loading to a variable based loading
 * Change ConfigurationManager to not use Dictionary anymore, but a struct with explicit configuration values instead
2018-04-20 18:40:21 -04:00
Jonathas Costa
535a8dd668 Merged Master. 2018-04-20 10:18:46 -04:00
Jonathas Costa
3ea1e83aef New performance matrices and new eye points for stereo. 2018-04-20 09:45:01 -04:00
Alexander Bock
4041bbb935 Cleanup (#600)
* General Code Cleanup
 * Add check for TABs to check_style_guide.py
 * Removing warnings
2018-04-19 13:27:15 -04:00
Alexander Bock
34987e9f85 Prevent floating point over- and underflows; specifically when interpolating the camera position (closes #575) 2018-04-10 15:04:41 -04:00
Emil Axelsson
ab93e2ca4d Fix atmosphere floating point issue 2018-04-04 16:58:24 +02:00
Emil Axelsson
0f70218977 Fix comment 2018-03-26 18:38:45 +02:00
Emil Axelsson
40dfbc5db5 Atmosphere optimizations 2018-03-26 18:05:41 +02:00
Emil Axelsson
0899c499f0 Cleanup 2018-03-26 14:02:36 +02:00
Emil Axelsson
5da36f290b Start to optimize atmosphere rendering 2018-03-26 13:40:32 +02:00
Emil Axelsson
d3f42edbc8 Restore indentation in AtmosphereDeferredCaster 2018-03-23 19:11:08 +01:00
Emil Axelsson
4e58c33874 Revert to working atm code, before optimization. Stereo now working. 2018-03-21 17:44:50 +01:00
Emil Axelsson
1ef8e20821 Start fixing atmosphere stereo rendering 2018-03-20 21:32:49 +01:00
Jonathas Costa
ce392b53e6 Same changes in stereo. 2018-03-19 15:17:15 -04:00
Jonathas Costa
785d0ad294 Changes in framebuffer and atm code fixing wrong merge (still need clean up). 2018-03-19 12:29:05 -04:00
Jonathas Costa
721bdfa752 Merged. 2018-03-16 15:17:13 -04:00
Jonathas Costa
39855e1512 Updated names in atmosphere code. 2018-03-16 15:01:34 -04:00
Alexander Bock
db7ae7e384 Issue/453 (#556)
* Introduced guiName to PropertyOwner
  * Added requirement that PropertyOwner::identifier may not contain whitespaces
  * Changed Name to Identifier in asset and scene files
  * Added new PropertyOwner to RenderEngine that owns the ScreenSpaceRenderables
  * Moved Name and GuiPath into GUI group
  * Added user-facing names to layer groups
2018-03-16 09:21:29 -04:00
Jonathas Costa
7a93a4fa37 Issue/558 (#559)
* Removed unused cached uniforms from execution.
2018-03-16 09:19:39 -04:00
Jonathas Costa
cc81c125b4 Merged with problems. 2018-03-14 14:43:16 -04:00
Jonathas Costa
9558d58cee Preparing branch for merging with stereo 2018-03-14 14:20:12 -04:00
Jonathas Costa
c353e75135 Squeezed the Bits a little more. 2018-03-08 12:28:33 -05:00
Jonathas Costa
f9d086ee95 Removed warning. 2018-03-07 20:11:45 -05:00
Jonathas Costa
366ac49cc6 Minor improvements 2018-03-07 20:08:58 -05:00
Jonathas Costa
a744bce0bd Merge branch 'master' into feature/PerformanceATMOnline 2018-03-07 19:07:45 -05:00
Alexander Bock
a3c849843f Feature/new formatting (#547)
* Change to new logging format (closes #542)
 * Adds a screenshots folder that uses the application startup time
 * Creating focus nodes for VRT files if the info files contain location information
 * Fix issue with removing virtual properties
 * Add a method for returning the cartesian coordinates for a geolocation on a planet
2018-03-07 18:10:32 -05:00
Jonathas Costa
17c1b03b85 Improved performance even more. 2018-03-02 17:05:03 -05:00
Jonathas Costa
e39ae09b81 Improved performance a little bit. 2018-03-02 11:50:42 -05:00
Jonathas Costa
cd227040b5 Removed commented code. 2018-03-01 17:04:16 -05:00
Jonathas Costa
d7183ad362 Added uniform caching. 2018-03-01 16:48:05 -05:00
Jonathas Costa
1b9622c7dd Improved performance in shaders and transformations. 2018-03-01 16:24:20 -05:00