Changesets: DarkRadiant
master 36d5e160 08.10.2021 09:09 Details Diff |
0005773: After undo/redo the windings need to be updated otherwise the texture tool will render outdated coords |
Affected Issues 0005773 |
|
mod - radiantcore/brush/BrushNode.cpp | Diff File | ||
mod - radiantcore/brush/BrushNode.h | Diff File | ||
master 241201d2 08.10.2021 07:48 Details Diff |
0005547: Remove old texture lock algorithms and now unused helper methods in texturelib.h |
Affected Issues 0005547 |
|
mod - libs/texturelib.h | Diff File | ||
mod - radiantcore/brush/TextureProjection.cpp | Diff File | ||
mod - radiantcore/brush/TextureProjection.h | Diff File | ||
master 5ffbf044 08.10.2021 07:42 Details Diff |
0005547: Refactor BrushNode::evaluateTransform() to save calculating the transformation matrix if it's not going to be used. |
Affected Issues 0005547 |
|
mod - radiantcore/brush/BrushNode.cpp | Diff File | ||
master 8ae96ba8 08.10.2021 07:31 Details Diff |
0005547: New implementation of the face transformation code with texture lock enabled. |
Affected Issues 0005547 |
|
mod - radiantcore/brush/Face.cpp | Diff File | ||
mod - radiantcore/brush/Face.h | Diff File | ||
master 569653d1 08.10.2021 05:00 Details Diff |
0005547: New implementation of the face translation code with texture lock enabled. The new vertices after transformation are not yet known, but in this special case we can base our calculations on the old winding and apply the translation to each of the winding vertices. This way we can predict where the new vertices will be and calculate the texture projection in Face::translate(). Move algorithm to calculate the texture matrix from vertices to TextureProjection. |
Affected Issues 0005547 |
|
mod - radiantcore/brush/Face.cpp | Diff File | ||
mod - radiantcore/brush/TextureProjection.cpp | Diff File | ||
mod - radiantcore/brush/TextureProjection.h | Diff File | ||
mod - test/TextureManipulation.cpp | Diff File | ||
master b8b74b76 08.10.2021 04:49 Details Diff |
0005547: Don't run the calculations if no transform type is set |
Affected Issues 0005547 |
|
mod - radiantcore/brush/BrushNode.cpp | Diff File | ||
master e6db9d56 07.10.2021 17:01 Details Diff |
0005547: Add test rotating a brush with texture lock enabled |
Affected Issues 0005547 |
|
mod - test/TextureManipulation.cpp | Diff File | ||
master 9e6bed85 07.10.2021 16:21 Details Diff |
0005547: Add test translating a brush with texture lock enabled |
Affected Issues 0005547 |
|
mod - test/TextureManipulation.cpp | Diff File | ||
master 78ec565b 06.10.2021 19:35 Matthew Mott Details Diff |
Vector pp() method is now a non-member function No particular reason why this rarely-used debugging tool needs to be part of the class interface, since it makes no use of private data. |
||
mod - include/irender.h | Diff File | ||
mod - libs/math/AABB.h | Diff File | ||
mod - libs/math/Vector3.h | Diff File | ||
mod - libs/math/Vector4.h | Diff File | ||
master 4f3dbcab 06.10.2021 19:35 Matthew Mott Details Diff |
Fix a few compiler warnings about inconsistent 'override' use | ||
mod - libs/RGBAImage.h | Diff File | ||
mod - radiantcore/shaders/ShaderExpression.h | Diff File | ||
master c5218c4c 06.10.2021 19:16 Details Diff |
0005547: Refactor Patch::scaleTextureNaturally() |
Affected Issues 0005547 |
|
mod - radiantcore/patch/Patch.cpp | Diff File | ||
master 6570ea18 05.10.2021 19:45 Matthew Mott Details Diff |
Matrix4::transform() now uses Vector4's Eigen structure Matrix4 was already using Eigen internally, but Vector4 wasn't. This meant that the widely-used transform() method was creating a local Eigen vector in order to perform the calculation, then converting it back into a BasicVector4. Now we simply multiply use BasicVector4's internal Eigen structure directly. |
||
mod - libs/math/Matrix4.h | Diff File | ||
mod - libs/math/Vector4.h | Diff File | ||
master 5e906970 05.10.2021 19:31 Matthew Mott Details Diff |
BasicVector4 now uses Eigen vector internally Since BasicVector4 is well encapsulated and has few references to its internal structure, relatively little code had to change. |
||
mod - libs/math/Vector4.h | Diff File | ||
master 1904b34a 05.10.2021 19:14 Matthew Mott Details Diff |
Remove reinterpret_cast from Vector4 Removed non-const getVector3(); this was no longer needed. The const version has been changed to return by value, eliminating the usage of reinterpret_cast entirely. |
||
mod - include/irenderview.h | Diff File | ||
mod - libs/math/Vector4.h | Diff File | ||
mod - libs/render/View.h | Diff File | ||
mod - plugins/script/interfaces/MathInterface.cpp | Diff File | ||
mod - test/math/Vector.cpp | Diff File | ||
master 0b23fbc1 05.10.2021 18:51 Details Diff |
0005547: Recalculate the texture tool view after normalisation |
Affected Issues 0005547 |
|
mod - install/user.xml | Diff File | ||
mod - radiant/textool/TexTool.cpp | Diff File | ||
mod - radiant/textool/TexTool.h | Diff File | ||
mod - radiantcore/selection/textool/TextureToolSelectionSystem.cpp | Diff File | ||
master b2efa1c1 05.10.2021 18:31 Details Diff |
0005547: Add ability to normalise a set of texture tool items as a whole |
Affected Issues 0005547 |
|
add - install/bitmaps/textool_normalise.png | Diff File | ||
mod - install/user.xml | Diff File | ||
mod - radiantcore/selection/textool/TextureToolSelectionSystem.cpp | Diff File | ||
mod - radiantcore/selection/textool/TextureToolSelectionSystem.h | Diff File | ||
master 2eb9926a 05.10.2021 18:03 Details Diff |
0005547: Use the TextureNormaliser algorithm in Patch::normaliseTexture() |
Affected Issues 0005547 |
|
mod - radiantcore/patch/Patch.cpp | Diff File | ||
mod - test/TextureManipulation.cpp | Diff File | ||
master ce0a9dfd 05.10.2021 17:46 Details Diff |
0005547: Add preliminary unit test for IPatch::normaliseTexture() |
Affected Issues 0005547 |
|
mod - test/TextureManipulation.cpp | Diff File | ||
mod - test/resources/tdm/maps/simple_brushes.map | Diff File | ||
master 7c61c840 04.10.2021 17:48 Details Diff |
0005547: New implementation for Face::normaliseTexture(). This is now shifting the bounds origin towards the UV space origin, translating by the integer parts of the bounds center. The TextureNormaliser has been written to support multiple selected objects which are translated by the same distance. |
Affected Issues 0005547 |
|
mod - radiantcore/brush/Face.cpp | Diff File | ||
mod - radiantcore/selection/algorithm/Texturing.cpp | Diff File | ||
mod - radiantcore/selection/algorithm/Texturing.h | Diff File | ||
mod - test/TextureManipulation.cpp | Diff File | ||
master 0fa0bb5f 04.10.2021 17:10 Details Diff |
0005547: Add unit test checking face texture normalisation |
Affected Issues 0005547 |
|
mod - test/TextureManipulation.cpp | Diff File | ||
master b2f6ab9b 03.10.2021 19:12 Details Diff |
0005771: Improve the texture wrapping by using an extrapolation vector that is orthogonal to the edge center, since the source brush might be skewed. |
Affected Issues 0005771 |
|
mod - radiantcore/brush/Face.cpp | Diff File | ||
master 59a5fc00 03.10.2021 17:55 Details Diff |
0005771: Simpler, but more effective algorithm, wrapping the texture of the source face around the shared edge, extrapolating it. |
Affected Issues 0005771 |
|
mod - radiantcore/brush/Face.cpp | Diff File | ||
mod - radiantcore/brush/TextureProjection.cpp | Diff File | ||
mod - radiantcore/brush/TextureProjection.h | Diff File | ||
master 99bd25c7 03.10.2021 17:17 Details Diff |
0005771: Add one more unit test using a face that ends up using a 90 degree rotated texture after pasting. The current algorithm doesn't deal with that correctly, yielding an invalid texture matrix. |
Affected Issues 0005771 |
|
mod - test/TextureManipulation.cpp | Diff File | ||
mod - test/resources/tdm/maps/simple_brushes.map | Diff File | ||
master f2d97567 03.10.2021 15:28 Details Diff |
0005771: Implement the first of several possible cases. Pasting across from z-facing to y-facing is working, and X/Y-facing sides of a cuboid are working too, but z-facing to x-facing is not. |
Affected Issues 0005771 |
|
mod - radiantcore/brush/Face.cpp | Diff File | ||
mod - radiantcore/selection/algorithm/Shader.cpp | Diff File | ||
master dcbb2f29 03.10.2021 12:19 Details Diff |
0005771: Add unit test with the brush faces that should be textured by pasting |
Affected Issues 0005771 |
|
mod - test/Selection.cpp | Diff File | ||
mod - test/TextureManipulation.cpp | Diff File | ||
mod - test/algorithm/View.h | Diff File | ||
mod - test/resources/tdm/maps/simple_brushes.map | Diff File |