From 3553fbf2dde86214ac287f838487e278c869eeaf Mon Sep 17 00:00:00 2001 From: Pierre Moreau Date: Tue, 29 Sep 2020 11:49:58 +0200 Subject: [PATCH] Release 2020.1 See CHANGES.rst for the list of changes. --- CHANGES.rst | 47 +++++++++++++++++++++++++++++++++++++++++++++++ CMakeLists.txt | 2 +- 2 files changed, 48 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 433b0e1c..491aae30 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,53 @@ Revision history for CG_Labs +v2020.1 2020-09-29 +================== + +New features +------------ + +* Culling can be controlled from the GUI for assignments 2 to 4 of EDAF80. + +Improvements +------------ + +* Report error and early exit if shader source is empty. +* `utils::slurp_file()` now uses the framework’s logging function, ensuring + that its error messages will be part of the log file and will be displayed in + the console inside the framework. +* If the context creation fails, mention to the user the existence of the + *OpenGL_3.3* branch. +* Output all text to the console as UTF-16 on Windows, to properly display + non-ASCII characters. +* Change the locale to the user-preferred one. +* Warn when adding too many textures to an instance of the `Node` class, and + skip adding those extra textures. Each hardware has a different limit as to + how many textures can be bound, and going over that limit results in an + `GL_INVALID_ENUM` error which can be hard to understand if one does not know + how texture handling works. +* Warn and skip when adding a texture of ID 0 to an instance of the `Node` + class. ID 0 is reserved for the “default” texture and no valid texture should + have that ID. +* Log an error when setting the program for an instance of the `Node` class + with a null pointer, rather than throwing an exception. + +Fixes +----- + +* Convert paths to UTF-16 on Windows when needed, to ensure that paths + containing non-ASCII characters still properly work there. +* Do not make attributes constant in `SpinConfiguration` and + `OrbitConfiguration`, so that the user can use their assignment operator. +* Do not append null pointers to the list of children in the `Node` class; the + code previously warned about it but still went ahead with adding it. +* Do not make shallow clones for stb and tinyfiledialogs as we check out + specific commits, which is not compatible with shallow clones. +* Fix the tangent and binormal visualisation shaders: they were being affected + by translations, when they should not have, and they used the same model to + work matrix as vertices which is usually not valid. + + v2020.0 2020-08-25 ================== diff --git a/CMakeLists.txt b/CMakeLists.txt index ad4113a6..cc7e41c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ endif () # Set project attributes. project ( CG_Labs - VERSION 2020.0 + VERSION 2020.1 DESCRIPTION [[Repository for Computer Graphics courses EDAF80 and EDAN35 at Lund University, Sweden.]] HOMEPAGE_URL [[https://github.com/LUGGPublic/CG_Labs/]] LANGUAGES CXX C