Changesets: DarkRadiant

master 8e9b2d5f

08.10.2021 19:04

greebo


Details Diff
0005773: Remove IFace::getTexDefMatrix(), is superseded by IFace::getProjectionMatrix() Affected Issues
0005773
mod - include/ibrush.h Diff File
mod - radiantcore/brush/BrushNode.cpp Diff File
mod - radiantcore/brush/Face.cpp Diff File
mod - radiantcore/brush/Face.h Diff File

master 2e09e486

08.10.2021 18:57

greebo


Details Diff
0005773: Refactor the primitive exporters to use the IFace::getProjectionMatrix() method which delivers a 3x3 matrix Affected Issues
0005773
mod - libs/texturelib.h Diff File
mod - radiantcore/map/format/portable/PortableMapWriter.cpp Diff File
mod - radiantcore/map/format/primitivewriters/BrushDef3Exporter.h Diff File
mod - radiantcore/map/format/primitivewriters/BrushDefExporter.h Diff File
mod - radiantcore/map/format/primitivewriters/LegacyBrushDefExporter.h Diff File

master a4a47664

08.10.2021 18:43

greebo


Details Diff
0005773: About to change the brush exporter code to use IFace::getProjectionMatrix() instead of getTexDefMatrix() Affected Issues
0005773
mod - include/ibrush.h Diff File
mod - libs/math/Matrix3.h Diff File
mod - radiantcore/brush/Face.cpp Diff File
mod - radiantcore/brush/Face.h Diff File

master 34b70657

08.10.2021 18:33

greebo


Details Diff
0005773: Add a unit test checking the generated XML code of a defined exported brush. It's a very specific test using a verbatim string. If this test breaks a lot, it needs to be improved to check specific properties of the generated XML tags. Affected Issues
0005773
mod - test/MapExport.cpp Diff File

master e4657b73

08.10.2021 18:18

greebo


Details Diff
0005773: Privatise the TextureProjection::setTransform method accepting a Matrix4, it's only used internally. Affected Issues
0005773
mod - radiantcore/brush/TextureProjection.cpp Diff File
mod - radiantcore/brush/TextureProjection.h Diff File

master cd6f156d

08.10.2021 18:11

greebo


Details Diff
0005773: Change IFace interface to return a Matrix3 instance instead of Matrix4 for the texture projection (which has only 6 nontrivial components anyway). Affected Issues
0005773
mod - include/ibrush.h Diff File
mod - radiantcore/brush/Face.cpp Diff File
mod - radiantcore/brush/Face.h Diff File
mod - radiantcore/brush/TextureMatrix.cpp Diff File
mod - radiantcore/brush/TextureMatrix.h Diff File
mod - radiantcore/brush/TextureProjection.cpp Diff File
mod - radiantcore/brush/TextureProjection.h Diff File
mod - test/Brush.cpp Diff File
mod - test/TextureManipulation.cpp Diff File

master f156a5b7

08.10.2021 15:12

greebo


Details Diff
0005633: Add scale adjustment to Face::setShader(), to preserve the scale of the previous material Affected Issues
0005633
mod - radiantcore/brush/Face.cpp Diff File

master 3f2e0386

08.10.2021 14:24

greebo


Details Diff
0005633: Set up unit test checking texture scale preservation when swapping textures on a face Affected Issues
0005633
mod - test/TextureManipulation.cpp Diff File

master ced8ed41

08.10.2021 14:02

greebo


Details Diff
0005633: Add IFace::getTexelScale() to read the calculated texture pixel density of faces. Add corresponding unit test. Affected Issues
0005633
mod - include/ibrush.h Diff File
mod - radiantcore/brush/Face.cpp Diff File
mod - radiantcore/brush/Face.h Diff File
mod - test/TextureManipulation.cpp Diff File
mod - test/algorithm/Primitives.h Diff File

master 36d5e160

08.10.2021 09:09

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 103 104 105 106 107 108 109 ... 120 ... 150 ... 180 ... 210 ... 240 ... 270 271 272  Next  Last