Setup Sky Renderer
Pre-release
Pre-release
Release 0.9.0-Preview.2
SuperRealism+
- Add two utilities,
STPCameraand an inheritied classSTPPerspectiveCamera. - Refactor the directory structure and group classes into folders.
- Refactor three shader managers in
SuperRealism+using pure RAII given greater flexibility. - Add a simple wrapper
STPDebugCallbackfor handling OpenGL debug output automatically. - Add a simple context manager
STPContextManagerfor storing current context state and issues context state change functions whenever necessary. - Add
STPIndirectCommandas an indirect rendering command wrapper according to GL specification.
All wrappers are trivally implemented and only functionalities used within this project are written, so they are not complete for the sake of development time.
GL object management
- Add more GL object wrappers to
SuperRealism+library:STPBufferfor GL buffer object such as vertex buffer and element buffer.STPVertexArrayfor vertex array buffer object.
- Add more GL compatibility types to
STPOpenGL.
Sky renderer
- Add a new setting
STPAtomsphereSettingfor storing atomsphere rendering parameters. - Setup shader
STPSunfor physically-based atomsphere scattering. - Setup rendering pass for
STPSun.
General fixes and improvement
- Add a new exception
STPGLErrorto the main engine. - CMake config file include directory overhaul. Config files are now all placed into different directories distinguished by configuration such that
#includein source code can remain unchanged when build configuration changes.- As a refactorisation, config template is placed into a separate interface target.
- Add a simple file IO utility
STPFilefor reading all contents in the file quickly. - Fix an issue where
STPNullablePrimitivecannot be assigned tonullptr.