Changesets: DarkRadiant
|
materialeditor2 10425b75 19.03.2021 06:46 Details Diff |
0005532: Remove all the unused code for handling the expressions for the various transformation types separately |
Affected Issues 0005532, 0005552 |
|
| mod - include/ishaderlayer.h | Diff File | ||
| mod - install/ui/materialeditor.fbp | Diff File | ||
| mod - install/ui/materialeditor.xrc | Diff File | ||
| mod - radiant/ui/materials/MaterialEditor.cpp | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.cpp | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.h | Diff File | ||
|
materialeditor2 55f65f68 19.03.2021 06:33 Details Diff |
0005532: Use the stage texture transform matrix to set up the shader pass |
Affected Issues 0005532, 0005552 |
|
| mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp | Diff File | ||
| mod - radiantcore/shaders/ExpressionSlots.cpp | Diff File | ||
|
materialeditor2 67a5348b 19.03.2021 06:15 Details Diff |
0005532: Make IShaderExpressions cloneable |
Affected Issues 0005532 |
|
| mod - include/ishaderexpression.h | Diff File | ||
| mod - radiantcore/shaders/ShaderExpression.cpp | Diff File | ||
| mod - radiantcore/shaders/ShaderExpression.h | Diff File | ||
|
materialeditor2 6d68aa53 19.03.2021 05:04 Details Diff |
0005532: Adjust unit test cases, add sinTable and cosTable to unit test resources |
Affected Issues 0005532, 0005552 |
|
| mod - radiantcore/shaders/TextureMatrix.cpp | 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 | ||
|
materialeditor2 56a35683 19.03.2021 03:44 Details Diff |
0005532: rotate implementation |
Affected Issues 0005532, 0005552 |
|
| mod - radiantcore/CMakeLists.txt | Diff File | ||
| mod - radiantcore/shaders/ShaderExpression.cpp | Diff File | ||
| mod - radiantcore/shaders/ShaderExpression.h | Diff File | ||
| add - radiantcore/shaders/TextureMatrix.cpp | Diff File | ||
| mod - radiantcore/shaders/TextureMatrix.h | Diff File | ||
| mod - tools/msvc/DarkRadiantCore.vcxproj | Diff File | ||
| mod - tools/msvc/DarkRadiantCore.vcxproj.filters | Diff File | ||
|
materialeditor2 9097ac55 19.03.2021 03:27 Details Diff |
0005532: shear implementation |
Affected Issues 0005532, 0005552 |
|
| mod - radiantcore/shaders/TextureMatrix.h | Diff File | ||
|
materialeditor2 3b5a4267 19.03.2021 03:24 Details Diff |
0005532: centerScale implementation |
Affected Issues 0005532, 0005552 |
|
| mod - radiantcore/shaders/TextureMatrix.h | Diff File | ||
|
materialeditor2 bc81bc37 19.03.2021 03:18 Details Diff |
0005532: Fix matrix multiplication implementation |
Affected Issues 0005532, 0005552 |
|
| mod - radiantcore/shaders/Doom3ShaderLayer.cpp | Diff File | ||
| mod - radiantcore/shaders/ShaderExpression.cpp | Diff File | ||
| mod - radiantcore/shaders/ShaderExpression.h | Diff File | ||
| mod - radiantcore/shaders/TextureMatrix.h | Diff File | ||
| mod - test/Materials.cpp | Diff File | ||
|
master ca1d6d77 18.03.2021 20:48 Details Diff |
Set Eigen submodule to shallow by default | ||
| mod - .gitmodules | Diff File | ||
|
master fca18ace 18.03.2021 20:42 Details Diff |
Add initial Eigen submodule in libs/ directory | ||
| add - .gitmodules | Diff File | ||
| add - libs/eigen | Diff File | ||
|
master 70f8099e 17.03.2021 21:18 Details Diff |
Check X/Y/Z coordinates at target vector Target vector points to the middle of the projected image so the X and Y (S and T) coordinates should be 0.5 each, and the Z coordinate should be 1. |
||
| mod - test/Renderer.cpp | Diff File | ||
|
master 31e7f012 17.03.2021 21:02 Details Diff |
Add unit test for increasing W along target vector W coordinate increases from 0 at the projected light apex to 1 at the target plane. |
||
| mod - libs/math/Vector3.h | Diff File | ||
| mod - test/Renderer.cpp | Diff File | ||
|
master c3dfa166 16.03.2021 21:19 Details Diff |
Add helper method to get the light matrix in tests Replace multiple calls to getRendererLight() followed by getLightTextureTransformation() with a simple Light::getMatrix() method. |
||
| mod - test/Renderer.cpp | Diff File | ||
|
master 6a5a9f69 16.03.2021 21:10 Details Diff |
Refactor light creation in tests Add named constructor methods to create an omni light with a radius and a projected light with the three direction vectors, to replace multiple manual calls to setKeyValue(). |
||
| mod - test/Renderer.cpp | Diff File | ||
|
master 53da7838 16.03.2021 20:56 Details Diff |
Add first test for projected light texture Confirm that the origin point is transformed appropriately, ending up with a W coordinate of 0 to reflect the infinitely small texture image. |
||
| mod - libs/math/Matrix4.h | Diff File | ||
| mod - libs/math/Vector4.h | Diff File | ||
| mod - radiantcore/entity/light/Light.cpp | Diff File | ||
| mod - test/Renderer.cpp | Diff File | ||
|
master c8599c88 16.03.2021 20:01 Details Diff |
More tests for light_radius and light_center Confirm that light_radius can be changed more than once and still affect the matrix, while light_center never affects the matrix at all. |
||
| mod - test/Renderer.cpp | Diff File | ||
|
materialeditor2 3c6b0557 15.03.2021 05:06 Details Diff |
0005532: Add a partially implemented wrapper class to encapsulate the texture matrix handling |
Affected Issues 0005532, 0005552 |
|
| mod - include/ishaderlayer.h | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.cpp | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.h | Diff File | ||
| add - radiantcore/shaders/TextureMatrix.h | Diff File | ||
| mod - tools/msvc/DarkRadiantCore.vcxproj | Diff File | ||
| mod - tools/msvc/DarkRadiantCore.vcxproj.filters | Diff File | ||
|
materialeditor2 b3b91ee0 15.03.2021 04:07 Details Diff |
0005532: Adjust stage parsing code to stack transformation keywords |
Affected Issues 0005532, 0005552 |
|
| mod - radiantcore/shaders/ShaderTemplate.cpp | Diff File | ||
|
materialeditor2 dc3da516 14.03.2021 18:04 Details Diff |
0005532: Add (failing) unit test with some combined transformations |
Affected Issues 0005532, 0005552 |
|
| mod - test/Materials.cpp | Diff File | ||
| mod - test/resources/tdm/materials/parsertest.mtr | Diff File | ||
|
materialeditor2 4a656d08 14.03.2021 18:03 Details Diff |
0005532: Start building the system needed to support the chained transformations possible in the idTech4 stages |
Affected Issues 0005532, 0005552 |
|
| mod - include/ishaderlayer.h | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.cpp | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.h | Diff File | ||
|
master 3bc8e301 14.03.2021 13:54 Details Diff |
Merge FaceTest and FacePlaneTest into a single BrushTest suite | ||
| mod - test/CMakeLists.txt | Diff File | ||
| rm - test/Face.cpp | Diff | ||
|
materialeditor2 18ed818b 14.03.2021 13:48 Details Diff |
0005532: Refactor vertex parm expression handling, move ExpressionSlots to separate file pair |
Affected Issues 0005532 |
|
| mod - radiantcore/CMakeLists.txt | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.cpp | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.h | Diff File | ||
| add - radiantcore/shaders/ExpressionSlots.cpp | Diff File | ||
| add - radiantcore/shaders/ExpressionSlots.h | Diff File | ||
| mod - tools/msvc/DarkRadiantCore.vcxproj | Diff File | ||
| mod - tools/msvc/DarkRadiantCore.vcxproj.filters | Diff File | ||
|
master 52379354 14.03.2021 13:32 Details Diff |
Refactor light node construction in RendererTest Wrap light in a local Light struct which stores the respective node and entity interfaces (IEntityNodePtr, ILightNodePtr, Entity etc). |
||
| mod - test/Renderer.cpp | Diff File | ||
|
materialeditor2 99fc0060 14.03.2021 13:24 Details Diff |
0005532: Unit tests covering a few cases |
Affected Issues 0005532 |
|
| mod - radiantcore/shaders/Doom3ShaderLayer.cpp | Diff File | ||
| mod - test/Materials.cpp | Diff File | ||
| mod - test/resources/tdm/materials/parsertest.mtr | Diff File | ||
|
master 2aa1cb28 14.03.2021 13:15 Details Diff |
Add test for light origin's effect on matrix Confirm that the light matrix reflects the position of the light in world space, since the matrix is intended to map world space coordinates to light texture coordinates. |
||
| mod - test/Renderer.cpp | Diff File | ||