Setup Scene Pipeline
Pre-release
Pre-release
Release 0.9.0-Preview.3
SuperRealism+
- Remove
STPContextStateManageras it is being redundant and unhelpful. - Add
STPScenePipelineas a master rendering pipeline for the entire procedural terrain. - Setup
STPHeightfieldTerrainas a heightfield-based terrain renderer. It aims to replaceSTPProcedural2DINFin the demo program. - Improve
STPShaderManager, add a helpful function to allow to define macros in the shader source before compilation. - To reduce verbosity, remove all error handling in
STPDebugCallbackexcept important functions. - Also implement a shader include internal cache in
STPShaderManagerfor auto shader include and cross GL context support. - Fix incorrect shader include directory.
- Fix illegam memory access in
STPHeightfieldTerrainwhere reading source code as a reference from a temporarily createdSTPFile. - Fix incorrect condition check during shader include and keeps throwing exception for not found include source.
- Fix issues in the camera class for mixing up degrees and radians.
- Move camera setting structs to separate files under
STPEnvironmentnamespace.
SuperDemo+
- Remove
SglToolkitas dependencies, the demo program is now self-contained as a rendering engine. - Remove all renderers because
SuperRealism+will do the job instead. - Restructure the starter function
STPStart. - Improve general coding practice and readability.
General fixes and improvement
- Fix the extension directive for GLSL shader, prefixed with
GL_. - Remove state record in
STPDebugCallbackand instead using GL query functions. This allows better support to multiple GL contexts. - Add a simple helper function in
STPFilefor build filename. - Replace shader filename processing in
STPSunwith compile-time functions instead of usingstd::stringto allocate memory. - Remove deprecated notes in the Readme, add more references.
- Change returned value in
STPTextureFactory, instead of throwing exception when type is unregistered, it returns a flag. - Remove all getters from
STPConfigurationas it is very unecessary. - Fixed an issue in
STPShaderIncludeManagerthat incorrectly deletes an array with scalar deleter. - Move
STPMeshSettingtoSuperRealism+.