Changesets: DarkRadiant
master 35e9923e 23.03.2021 20:01 Details Diff |
Test difference between affine inverse and full inverse Both inverses should be the same when the matrix contains only an affine transformation, and different if the matrix contains a projective transformation. Also add inline operator* and operator- for Matrix4, which surprisingly did not already exist (multiplications are all implemented using the explicit multiplyBy()/getMultipliedBy() methods, and I guess matrix subtractions aren't a common requirement for computer graphics). |
||
mod - libs/math/Matrix4.h | Diff File | ||
mod - test/math/Matrix4.cpp | Diff File | ||
master d97287f6 23.03.2021 19:44 Details Diff |
0005568: Hide unrelated textures when looking for cube map textures, and vice versa when looking for regular textures |
Affected Issues 0005568 |
|
mod - radiant/CMakeLists.txt | Diff File | ||
add - radiant/ui/common/ImageFilePopulator.cpp | Diff File | ||
mod - radiant/ui/common/ImageFilePopulator.h | Diff File | ||
mod - radiant/ui/common/ImageFileSelector.cpp | Diff File | ||
mod - radiant/ui/common/ImageFileSelector.h | Diff File | ||
mod - radiant/ui/materials/MapExpressionEntry.h | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
master 0a534f72 23.03.2021 19:44 Details Diff |
0005568: Streamline the resource tree view filter functions a bit. This way the code to hide empty folders can also take effect when overriding the IsTreeModelRowVisible method. |
Affected Issues 0005568 |
|
mod - libs/wxutil/dataview/ResourceTreeView.cpp | Diff File | ||
mod - libs/wxutil/dataview/ResourceTreeView.h | Diff File | ||
master 211f30cf 23.03.2021 17:18 Details Diff |
0005568: Select the current image file path in the tree when opening the dialog. |
Affected Issues 0005568 |
|
mod - radiant/ui/common/ImageFileSelector.cpp | Diff File | ||
mod - radiant/ui/common/ImageFileSelector.h | Diff File | ||
mod - radiant/ui/materials/MapExpressionEntry.h | Diff File | ||
master 8b0ada5f 23.03.2021 16:57 Details Diff |
0005568: Handle image file selection for cube map images. Setting map expressions of cubemap stages will assign cube map declaration - this is not very tolerant to errors, as the openGL API will throw 1282 errors when trying to assign a non-cubemap texture in cubemap mode. |
Affected Issues 0005568 |
|
mod - radiant/ui/common/ImageFilePopulator.h | Diff File | ||
mod - radiantcore/shaders/Doom3ShaderLayer.cpp | Diff File | ||
master eba0c552 23.03.2021 15:48 Details Diff |
0005568: Add some unit test for the newly added os::removeExtension function, as well as for the existing os::getExtension. |
Affected Issues 0005568 |
|
mod - test/Basic.cpp | Diff File | ||
master 5c58e0f7 23.03.2021 15:41 Details Diff |
0005568: Place the selection dialog window over the left area of the editor such that the preview is visible |
Affected Issues 0005568 |
|
mod - install/ui/materialeditor.fbp | Diff File | ||
mod - install/ui/materialeditor.xrc | Diff File | ||
mod - radiant/ui/materials/MapExpressionEntry.h | Diff File | ||
mod - radiant/ui/materials/MaterialEditor.cpp | Diff File | ||
master ffe0f0ae 23.03.2021 13:16 Details Diff |
0005568: Preprocess the path to DDS files to be assignable to a map expression. |
Affected Issues 0005568 |
|
mod - libs/os/path.h | Diff File | ||
mod - radiant/ui/common/ImageFilePopulator.h | Diff File | ||
mod - radiant/ui/common/ImageFileSelector.cpp | Diff File | ||
mod - radiant/ui/common/ImageFileSelector.h | Diff File | ||
mod - radiant/ui/materials/MapExpressionEntry.h | Diff File | ||
master 0c663f5f 23.03.2021 12:52 Details Diff |
0005568: Assign the value to the target control, to make the preview adjust automatically to the current selection |
Affected Issues 0005568 |
|
mod - radiant/ui/common/ImageFileSelector.cpp | Diff File | ||
mod - radiant/ui/common/ImageFileSelector.h | Diff File | ||
mod - radiant/ui/materials/MapExpressionEntry.h | Diff File | ||
master 3b8358af 23.03.2021 12:20 Details Diff |
0005568: Populate the tree view with every possible image file in the VFS - probably has to be trimmed down a bit |
Affected Issues 0005568 |
|
mod - install/ui/materialeditor.fbp | Diff File | ||
mod - install/ui/materialeditor.xrc | Diff File | ||
add - radiant/ui/common/ImageFilePopulator.h | Diff File | ||
mod - radiant/ui/common/ImageFileSelector.cpp | Diff File | ||
mod - radiant/ui/common/ImageFileSelector.h | Diff File | ||
mod - radiant/ui/materials/MapExpressionEntry.h | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
master 3e12d92c 23.03.2021 11:33 Details Diff |
0005568: Start adding the custom controls and dialog to select a map file from the VFS |
Affected Issues 0005568 |
|
mod - install/ui/materialeditor.fbp | Diff File | ||
mod - libs/wxutil/XmlResourceBasedWidget.h | Diff File | ||
mod - radiant/CMakeLists.txt | Diff File | ||
add - radiant/ui/common/ImageFileSelector.cpp | Diff File | ||
add - radiant/ui/common/ImageFileSelector.h | Diff File | ||
add - radiant/ui/materials/MapExpressionEntry.h | Diff File | ||
mod - radiant/ui/materials/MaterialEditor.cpp | Diff File | ||
mod - radiant/ui/materials/MaterialEditor.h | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
master 67f0169f 23.03.2021 06:20 Details Diff |
0005571: Fix table lookup implementation (snapped) |
Affected Issues 0005571 |
|
mod - radiantcore/shaders/TableDefinition.cpp | Diff File | ||
mod - test/Materials.cpp | Diff File | ||
mod - test/resources/tdm/materials/tables.mtr | Diff File | ||
master 5924fa78 23.03.2021 06:11 Details Diff |
0005571: Fix table lookup implementation (clamped) |
Affected Issues 0005571 |
|
mod - radiantcore/shaders/TableDefinition.cpp | Diff File | ||
mod - test/Materials.cpp | Diff File | ||
mod - test/resources/tdm/materials/tables.mtr | Diff File | ||
master e2523b84 23.03.2021 05:53 Details Diff |
0005571: Fix table lookup implementation (non-snapped) |
Affected Issues 0005571 |
|
mod - radiantcore/shaders/TableDefinition.cpp | Diff File | ||
master d7161cbe 23.03.2021 04:36 Details Diff |
0005571: Add ITableDefinition interface for table decls to make them unit-testable. Add more test coverage (tests are failing). |
Affected Issues 0005571 |
|
mod - include/ishaders.h | Diff File | ||
mod - radiantcore/shaders/Doom3ShaderSystem.cpp | Diff File | ||
mod - radiantcore/shaders/Doom3ShaderSystem.h | Diff File | ||
mod - radiantcore/shaders/ShaderExpression.cpp | Diff File | ||
mod - radiantcore/shaders/ShaderExpression.h | Diff File | ||
mod - radiantcore/shaders/ShaderLibrary.cpp | Diff File | ||
mod - radiantcore/shaders/ShaderLibrary.h | Diff File | ||
mod - radiantcore/shaders/TableDefinition.h | Diff File | ||
mod - radiantcore/shaders/TextureMatrix.cpp | Diff File | ||
mod - test/Materials.cpp | Diff File | ||
master 11d8e0cd 23.03.2021 04:06 Details Diff |
0005571: Add two failing unit tests due to a problem with tables using negative lookup expressions |
Affected Issues 0005571 |
|
mod - test/Materials.cpp | Diff File | ||
mod - test/resources/tdm/materials/parsertest.mtr | Diff File | ||
master d43e241a 22.03.2021 20:55 Details Diff |
Add test for affine inversion of rotation matrix | ||
mod - libs/math/Matrix4.h | Diff File | ||
mod - test/math/Matrix4.cpp | Diff File | ||
master 30452b71 22.03.2021 20:40 Details Diff |
Add unit test for Matrix transposition | ||
mod - test/math/Matrix4.cpp | Diff File | ||
master 8d489b17 22.03.2021 20:27 Details Diff |
Remove unused Quaternion::createForMatrix() This method was only used in a single test (which has now been changed to use createForY() instead, although for some reason this requires a negated angle). |
||
mod - libs/math/CMakeLists.txt | Diff File | ||
rm - libs/math/Quaternion.cpp | Diff | ||
mod - libs/math/Quaternion.h | Diff File | ||
mod - test/Brush.cpp | Diff File | ||
mod - test/math/Quaternion.cpp | Diff File | ||
master d068f28b 22.03.2021 18:07 Details Diff |
0005571: Add unit test checking a specific sinTable lookup I happened to debug |
Affected Issues 0005571 |
|
mod - test/Materials.cpp | Diff File | ||
mod - test/resources/tdm/materials/parsertest.mtr | Diff File | ||
master c996c54e 22.03.2021 15:25 Details Diff |
0005532: Until wxGTK supports instantiating wxSpinCtrlDouble types from XRC, we need to go for this workaround. |
Affected Issues 0005532 |
|
mod - install/ui/materialeditor.fbp | Diff File | ||
mod - install/ui/materialeditor.xrc | Diff File | ||
mod - libs/wxutil/XmlResourceBasedWidget.h | Diff File | ||
mod - radiant/ui/materials/MaterialEditor.cpp | Diff File | ||
mod - radiant/ui/particles/ParticleEditor.cpp | Diff File | ||
mod - radiant/ui/particles/ParticleEditor.h | Diff File | ||
master bd51ca22 22.03.2021 12:27 Details Diff |
0005532: Fix compilation in gcc |
Affected Issues 0005532 |
|
mod - radiant/ui/materials/Binding.h | Diff File | ||
mod - radiant/ui/materials/CheckBoxBinding.h | Diff File | ||
mod - radiant/ui/materials/ExpressionBinding.h | Diff File | ||
mod - radiant/ui/materials/MaterialPreview.cpp | Diff File | ||
mod - radiant/ui/materials/RadioButtonBinding.h | Diff File | ||
mod - radiant/ui/materials/SpinCtrlBinding.h | Diff File | ||
mod - radiantcore/shaders/ExpressionSlots.h | Diff File | ||
master 156adbb1 22.03.2021 10:51 Details Diff |
Use LTCG and WPO in release builds | ||
mod - tools/msvc/properties/DarkRadiant Base Release x64.props | Diff File | ||
master e4d995cd 22.03.2021 10:34 Details Diff |
Fix two number conversion warnings | ||
mod - radiant/ui/colourscheme/ColourSchemeEditor.cpp | Diff File | ||
mod - radiantcore/grid/GridManager.cpp | Diff File | ||
mod - radiantcore/map/format/primitiveparsers/BrushDef.cpp | Diff File | ||
master 9241f166 22.03.2021 10:28 Details Diff |
Merge branch 'materialeditor2' | ||
mod - .gitignore | Diff File | ||
mod - include/ibrush.h | Diff File | ||
mod - include/iglrender.h | Diff File | ||
mod - include/imodel.h | Diff File | ||
mod - include/imodelcache.h | Diff File | ||
mod - include/irender.h | Diff File | ||
mod - include/ishaderexpression.h | Diff File | ||
mod - include/ishaders.h | Diff File | ||
mod - include/modelskin.h | Diff File | ||
mod - include/precompiled_interfaces.h | Diff File | ||
add - install/bitmaps/cube.png | Diff File | ||
add - install/bitmaps/invisible.png | Diff File | ||
add - install/bitmaps/sphere.png | Diff File | ||
add - install/bitmaps/tiles.png | Diff File | ||
add - install/bitmaps/visible.png | Diff File | ||
mod - install/games/darkmod.game | Diff File | ||
add - install/resources/preview/cube.ase | Diff File | ||
add - install/resources/preview/room_cuboid.ase | Diff File | ||
add - install/resources/preview/sphere.ase | Diff File | ||
add - install/resources/preview/tiles.ase | Diff File | ||
mod - install/ui/materialeditor.fbp | Diff File | ||
mod - install/ui/materialeditor.xrc | Diff File | ||
mod - libs/materials/ParseLib.h | Diff File | ||
mod - libs/util/ScopedBoolLock.h | Diff File | ||
mod - libs/wxutil/dataview/ResourceTreeViewToolbar.cpp | Diff File | ||
mod - libs/wxutil/dataview/ResourceTreeViewToolbar.h | Diff File | ||
mod - libs/wxutil/preview/GuiRenderer.cpp | Diff File | ||
mod - libs/wxutil/preview/RenderPreview.cpp | Diff File | ||
mod - libs/wxutil/preview/RenderPreview.h | Diff File | ||
mod - radiant/CMakeLists.txt | Diff File | ||
mod - radiant/camera/CamWnd.cpp | Diff File | ||
mod - radiant/ui/common/ShaderSelector.cpp | Diff File | ||
mod - radiant/ui/materials/Binding.h | Diff File | ||
add - radiant/ui/materials/CheckBoxBinding.h | Diff File | ||
mod - radiant/ui/materials/ExpressionBinding.h | Diff File | ||
mod - radiant/ui/materials/MaterialEditor.cpp | Diff File | ||
mod - radiant/ui/materials/MaterialEditor.h | Diff File | ||
mod - radiant/ui/materials/MaterialEditorModule.cpp | Diff File | ||
add - radiant/ui/materials/MaterialPreview.cpp | Diff File | ||
add - radiant/ui/materials/MaterialPreview.h | Diff File | ||
add - radiant/ui/materials/RadioButtonBinding.h | Diff File | ||
add - radiant/ui/materials/SpinCtrlBinding.h | Diff File | ||
add - radiant/ui/materials/TestModelSkin.h | Diff File | ||
mod - radiantcore/CMakeLists.txt | Diff File | ||
mod - radiantcore/brush/Brush.h | Diff File | ||
mod - radiantcore/model/ModelCache.cpp | Diff File | ||
mod - radiantcore/model/ModelCache.h | Diff File | ||
mod - radiantcore/model/export/WavefrontExporter.cpp | Diff File | ||
mod - radiantcore/model/md5/MD5ModelLoader.cpp | Diff File | ||
mod - radiantcore/model/md5/MD5ModelLoader.h | Diff File | ||
mod - radiantcore/model/picomodel/PicoModelLoader.cpp | Diff File | ||
mod - radiantcore/model/picomodel/PicoModelLoader.h | 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/rendersystem/backend/OpenGLShaderPass.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.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 | ||
add - radiantcore/shaders/ExpressionSlots.cpp | Diff File | ||
add - radiantcore/shaders/ExpressionSlots.h | Diff File | ||
mod - radiantcore/shaders/MapExpression.cpp | Diff File | ||
mod - radiantcore/shaders/ShaderExpression.cpp | Diff File | ||
mod - radiantcore/shaders/ShaderExpression.h | Diff File | ||
mod - radiantcore/shaders/ShaderLibrary.cpp | Diff File | ||
mod - radiantcore/shaders/ShaderTemplate.cpp | Diff File | ||
mod - radiantcore/shaders/ShaderTemplate.h | Diff File | ||
add - radiantcore/shaders/TextureMatrix.cpp | Diff File | ||
add - radiantcore/shaders/TextureMatrix.h | Diff File | ||
mod - radiantcore/skins/Doom3SkinCache.cpp | Diff File | ||
mod - radiantcore/skins/Doom3SkinCache.h | Diff File | ||
mod - test/Materials.cpp | Diff File | ||
mod - test/resources/tdm/materials/parsertest.mtr | Diff File | ||
add - test/resources/tdm/materials/tables.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/include.vcxproj | Diff File | ||
mod - tools/msvc/properties/DarkRadiant Base Debug Win32.props | Diff File | ||
mod - tools/msvc/properties/DarkRadiant Base Debug x64.props | Diff File |