Changesets: DarkRadiant
master 8dce8ca0 29.03.2021 03:19 Details Diff |
Merge branch 'material_save_handling' | ||
mod - include/irender.h | Diff File | ||
mod - include/ishaders.h | Diff File | ||
mod - install/ui/materialeditor.fbp | Diff File | ||
mod - install/ui/materialeditor.xrc | Diff File | ||
add - libs/decl/SpliceHelper.h | Diff File | ||
mod - libs/materials/ParseLib.h | Diff File | ||
add - libs/stream/TemporaryOutputStream.h | Diff File | ||
mod - libs/wxutil/dataview/TreeViewItemStyle.h | Diff File | ||
mod - radiant/CMakeLists.txt | Diff File | ||
rm - radiant/ui/common/MaterialTreeView.cpp | Diff | ||
add - radiant/ui/materials/MaterialTreeView.cpp | Diff File | ||
mod - radiant/ui/mediabrowser/MediaBrowserTreeView.cpp | Diff File | ||
mod - radiant/ui/mediabrowser/MediaBrowserTreeView.h | Diff File | ||
mod - radiantcore/CMakeLists.txt | Diff File | ||
mod - radiantcore/particles/ParticlesManager.cpp | Diff File | ||
mod - radiantcore/rendersystem/OpenGLRenderSystem.cpp | Diff File | ||
mod - radiantcore/rendersystem/OpenGLRenderSystem.h | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShader.h | Diff File | ||
mod - radiantcore/shaders/CShader.cpp | Diff File | ||
mod - radiantcore/shaders/CShader.h | Diff File | ||
mod - radiantcore/shaders/Doom3ShaderLayer.cpp | Diff File | ||
mod - radiantcore/shaders/Doom3ShaderLayer.h | Diff File | ||
mod - radiantcore/shaders/Doom3ShaderSystem.cpp | Diff File | ||
mod - radiantcore/shaders/Doom3ShaderSystem.h | Diff File | ||
mod - radiantcore/shaders/ExpressionSlots.cpp | Diff File | ||
mod - radiantcore/shaders/ExpressionSlots.h | Diff File | ||
add - radiantcore/shaders/MaterialSourceGenerator.cpp | Diff File | ||
add - radiantcore/shaders/MaterialSourceGenerator.h | Diff File | ||
mod - radiantcore/shaders/ShaderLibrary.cpp | Diff File | ||
mod - radiantcore/shaders/ShaderLibrary.h | Diff File | ||
mod - radiantcore/shaders/ShaderTemplate.cpp | Diff File | ||
mod - radiantcore/shaders/ShaderTemplate.h | Diff File | ||
mod - test/CMakeLists.txt | Diff File | ||
add - test/MaterialExport.cpp | Diff File | ||
mod - test/Materials.cpp | Diff File | ||
add - test/resources/tdm/materials/exporttest.mtr | Diff File | ||
mod - test/resources/tdm/materials/parsertest.mtr | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj.filters | Diff File | ||
mod - tools/msvc/Tests/Tests.vcxproj | Diff File | ||
mod - tools/msvc/Tests/Tests.vcxproj.filters | Diff File | ||
mod - tools/msvc/libs.vcxproj | Diff File | ||
mod - tools/msvc/libs.vcxproj.filters | Diff File | ||
master 7b8221f1 28.03.2021 20:02 Details Diff |
Add test for Matrix4::getRotation (axis and angle) | ||
mod - test/math/Matrix4.cpp | Diff File | ||
material_save_handling da58afd3 28.03.2021 19:10 Details Diff |
0005565: Some tweaking |
Affected Issues 0005565 |
|
mod - install/ui/materialeditor.fbp | Diff File | ||
mod - install/ui/materialeditor.xrc | Diff File | ||
mod - radiant/ui/materials/editor/MaterialEditor.cpp | Diff File | ||
material_save_handling c87c44d6 28.03.2021 19:02 Details Diff |
0005565: Fix a couple of change-tracking bugs |
Affected Issues 0005565 |
|
mod - radiant/ui/materials/editor/MaterialEditor.cpp | Diff File | ||
mod - radiantcore/shaders/Doom3ShaderLayer.cpp | Diff File | ||
mod - radiantcore/shaders/MaterialSourceGenerator.cpp | Diff File | ||
material_save_handling d9ac8bbe 28.03.2021 18:39 Details Diff |
0005565: Un-mark the material as modified after saving |
Affected Issues 0005565 |
|
mod - radiantcore/shaders/CShader.cpp | Diff File | ||
mod - radiantcore/shaders/CShader.h | Diff File | ||
mod - radiantcore/shaders/Doom3ShaderSystem.cpp | Diff File | ||
mod - radiantcore/shaders/ShaderLibrary.cpp | Diff File | ||
mod - radiantcore/shaders/ShaderLibrary.h | Diff File | ||
mod - test/MaterialExport.cpp | Diff File | ||
material_save_handling 5b3cc2cd 28.03.2021 18:15 Details Diff |
0005565: Unit tests roughly working |
Affected Issues 0005565 |
|
mod - radiantcore/shaders/CShader.cpp | Diff File | ||
mod - test/MaterialExport.cpp | Diff File | ||
material_save_handling 9efd76f8 28.03.2021 17:57 Details Diff |
0005565: Fall back to the user engine path if the mod path is empty (which is also the case in the unit test scenario). More work on the unit tests. |
Affected Issues 0005565 |
|
mod - libs/materials/ParseLib.h | Diff File | ||
mod - radiantcore/shaders/Doom3ShaderSystem.cpp | Diff File | ||
mod - radiantcore/shaders/MaterialSourceGenerator.cpp | Diff File | ||
mod - test/MaterialExport.cpp | Diff File | ||
material_save_handling efcebd89 28.03.2021 16:57 Details Diff |
0005565: Start ramping up the unit tests checking the exporting/splicing |
Affected Issues 0005565 |
|
mod - libs/decl/SpliceHelper.h | Diff File | ||
mod - test/MaterialExport.cpp | Diff File | ||
mod - test/resources/tdm/materials/exporttest.mtr | Diff File | ||
material_save_handling 3056efd3 28.03.2021 16:07 Details Diff |
0005565: Lots of refactoring and moving stuff from the particle export algorithm to libs/, to be re-used by the MaterialManager. |
Affected Issues 0005565 |
|
add - libs/decl/SpliceHelper.h | Diff File | ||
mod - libs/stream/TemporaryOutputStream.h | Diff File | ||
mod - radiantcore/particles/ParticlesManager.cpp | Diff File | ||
mod - radiantcore/shaders/Doom3ShaderSystem.cpp | Diff File | ||
mod - radiantcore/shaders/MaterialSourceGenerator.cpp | Diff File | ||
mod - radiantcore/shaders/MaterialSourceGenerator.h | Diff File | ||
mod - tools/msvc/libs.vcxproj | Diff File | ||
mod - tools/msvc/libs.vcxproj.filters | Diff File | ||
material_save_handling 6daa2040 28.03.2021 15:37 Details Diff |
0005565: Add TemporaryOutputStream helper object taking care of all the temp file handling, renaming and overwriting. |
Affected Issues 0005565 |
|
add - libs/stream/TemporaryOutputStream.h | Diff File | ||
mod - radiant/ui/materials/editor/MaterialEditor.cpp | Diff File | ||
mod - radiantcore/particles/ParticlesManager.cpp | Diff File | ||
mod - radiantcore/shaders/Doom3ShaderSystem.cpp | Diff File | ||
mod - tools/msvc/libs.vcxproj | Diff File | ||
mod - tools/msvc/libs.vcxproj.filters | Diff File | ||
master af0d253b 28.03.2021 13:53 Details Diff |
Matrix4 operator- implemented by Eigen | ||
mod - libs/math/Matrix4.h | Diff File | ||
master 0b567e1d 28.03.2021 13:45 Details Diff |
Add extra test for transformPoint() and transformDirection() Confirm that these methods return the same result as operator* multiplication between matrix and vector (with appropriate W coordinates added). |
||
mod - test/math/Matrix4.cpp | Diff File | ||
material_save_handling 2481e991 28.03.2021 13:38 Details Diff |
0005565: Add stub saveMaterial method |
Affected Issues 0005565 |
|
mod - include/ishaders.h | Diff File | ||
mod - radiant/ui/materials/editor/MaterialEditor.cpp | Diff File | ||
mod - radiantcore/shaders/Doom3ShaderSystem.cpp | Diff File | ||
mod - radiantcore/shaders/Doom3ShaderSystem.h | Diff File | ||
material_save_handling e36e9b71 28.03.2021 13:27 Details Diff |
0005565: Ask user where to save the copied or newly created material |
Affected Issues 0005565 |
|
mod - include/ishaders.h | Diff File | ||
mod - radiant/ui/materials/editor/MaterialEditor.cpp | Diff File | ||
mod - radiantcore/shaders/CShader.cpp | Diff File | ||
mod - radiantcore/shaders/CShader.h | Diff File | ||
mod - radiantcore/shaders/Doom3ShaderSystem.cpp | Diff File | ||
mod - test/Materials.cpp | Diff File | ||
material_save_handling cd3ef824 28.03.2021 13:07 Details Diff |
0005565: Implement copy/unlock functions + unit tests |
Affected Issues 0005565 |
|
mod - radiant/ui/materials/editor/MaterialEditor.cpp | Diff File | ||
mod - radiant/ui/materials/editor/MaterialEditor.h | Diff File | ||
mod - radiantcore/shaders/Doom3ShaderSystem.cpp | Diff File | ||
mod - radiantcore/shaders/Doom3ShaderSystem.h | Diff File | ||
mod - radiantcore/shaders/ShaderLibrary.cpp | Diff File | ||
mod - radiantcore/shaders/ShaderLibrary.h | Diff File | ||
mod - test/Materials.cpp | Diff File | ||
master 59c5e971 28.03.2021 13:00 Details Diff |
Matrix4 point transformation implemented by Eigen transformPoint() and transformDirection() are now implemented in terms of transform(), which uses Eigen matrix multiplication rather than component-wise maths. |
||
mod - libs/math/Matrix4.h | Diff File | ||
material_save_handling efc834b7 28.03.2021 12:45 Details Diff |
0005565: Lock editing controls for PK4-defined materials. Add a control to quickyl create a copy of it to enable editing. |
Affected Issues 0005565 |
|
mod - include/ishaders.h | Diff File | ||
mod - install/ui/materialeditor.fbp | Diff File | ||
mod - install/ui/materialeditor.xrc | Diff File | ||
mod - radiant/ui/materials/editor/MaterialEditor.cpp | Diff File | ||
mod - radiant/ui/materials/editor/MaterialEditor.h | Diff File | ||
master b8264347 28.03.2021 12:43 Details Diff |
Matrix4::isAffineEqual implemented by Eigen | ||
mod - libs/math/Matrix4.h | Diff File | ||
master 4f5c49ab 28.03.2021 12:35 Details Diff |
Matrix4::operator== uses Eigen implementation Eigen::Transform does not implement operator== itself, but the contained matrix() values can be compared instead. |
||
mod - libs/math/Matrix4.h | Diff File | ||
material_save_handling 15fb1928 28.03.2021 10:14 Details Diff |
0005565: Discarding unsaved materials means to remove them again. |
Affected Issues 0005565 |
|
mod - install/ui/materialeditor.fbp | Diff File | ||
mod - install/ui/materialeditor.xrc | Diff File | ||
mod - radiant/ui/materials/editor/MaterialEditor.cpp | Diff File | ||
material_save_handling 21755297 28.03.2021 09:51 Details Diff |
0005565: Prompt the user for every modified material on closing the dialog |
Affected Issues 0005565 |
|
mod - radiant/ui/materials/editor/MaterialEditor.cpp | Diff File | ||
mod - radiant/ui/materials/editor/MaterialEditor.h | Diff File | ||
material_save_handling a127ea41 28.03.2021 07:15 Details Diff |
0005565: More robust renaming algorithm in ShaderLibrary |
Affected Issues 0005565 |
|
mod - radiant/ui/materials/editor/MaterialEditor.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp | Diff File | ||
mod - radiantcore/shaders/ShaderLibrary.cpp | Diff File | ||
material_save_handling 0e8ea394 28.03.2021 06:55 Details Diff |
0005565: More insert/remove algorithm improvements. Rename buttons for clarity. |
Affected Issues 0005565 |
|
mod - install/ui/materialeditor.fbp | Diff File | ||
mod - install/ui/materialeditor.xrc | Diff File | ||
mod - radiant/ui/materials/MaterialPopulator.cpp | Diff File | ||
mod - radiant/ui/materials/editor/MaterialEditor.cpp | Diff File | ||
material_save_handling 9007cdce 28.03.2021 06:41 Details Diff |
0005565: Improve algorithm for adding/removing items |
Affected Issues 0005565 |
|
mod - radiant/ui/materials/MaterialPopulator.cpp | Diff File | ||
material_save_handling d989e429 28.03.2021 05:18 Details Diff |
0005565: WIP commit, working on "New Material" functionality |
Affected Issues 0005565 |
|
mod - install/ui/materialeditor.fbp | Diff File | ||
mod - install/ui/materialeditor.xrc | Diff File | ||
mod - radiant/ui/materials/MaterialPopulator.cpp | Diff File | ||
mod - radiant/ui/materials/editor/MaterialEditor.cpp | Diff File | ||
mod - radiant/ui/materials/editor/MaterialEditor.h | Diff File |