Changesets: DarkRadiant

master 907fb02f

24.03.2021 03:17

greebo


Details Diff
0005568: Use MapExpressionEntry and -Binding for MaterialStageImageMap, add expression entry for light fall off image Affected Issues
0005568
mod - radiant/ui/materials/MapExpressionEntry.h Diff File
mod - radiant/ui/materials/MaterialEditor.cpp Diff File

master 7f14d555

23.03.2021 21:14

orbweaver


Details Diff
Move several one-line Matrix method bodies inline
mod - libs/math/Matrix4.h Diff File

master c9183725

23.03.2021 20:54

orbweaver


Details Diff
Add test for accessing Matrix data as C array

Confirm that packed array data can be obtained in the format expected by OpenGL
functions.
mod - test/math/Matrix4.cpp Diff File

master 9fc2c9db

23.03.2021 20:45

orbweaver


Details Diff
Add test for reading and writing Matrix column vectors
mod - test/math/Matrix4.cpp Diff File

master ca90d9c8

23.03.2021 20:36

orbweaver


Details Diff
Rename Matrix4 column vector accessors

Rename to xCol(), yCol(), zCol() and tCol() to make clear that they are
returning column vectors not individual coefficients like Vector3::x().
mod - libs/Transformable.h Diff File
mod - libs/math/AABB.cpp Diff File
mod - libs/math/Matrix4.h Diff File
mod - libs/math/Plane3.cpp Diff File
mod - libs/pivot.h Diff File
mod - libs/selection/Pivot2World.h Diff File
mod - radiant/ui/aas/RenderableAasFile.cpp Diff File
mod - radiantcore/brush/TextureProjection.cpp Diff File
mod - radiantcore/entity/target/TargetLineNode.cpp Diff File
mod - radiantcore/map/algorithm/Export.cpp Diff File
mod - radiantcore/particles/ParticleNode.cpp Diff File
mod - radiantcore/particles/RenderableParticleBunch.cpp Diff File
mod - radiantcore/patch/PatchNode.cpp Diff File
mod - radiantcore/selection/ManipulationPivot.cpp Diff File
mod - radiantcore/selection/algorithm/Transformation.cpp Diff File
mod - radiantcore/selection/manipulators/ManipulatorComponents.cpp Diff File
mod - radiantcore/selection/manipulators/RotateManipulator.cpp Diff File
mod - radiantcore/selection/manipulators/TranslateManipulator.cpp Diff File
mod - test/Selection.cpp Diff File
mod - test/math/Matrix4.cpp Diff File

master 35e9923e

23.03.2021 20:01

orbweaver


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

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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

greebo


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

orbweaver


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

orbweaver


Details Diff
Add unit test for Matrix transposition
mod - test/math/Matrix4.cpp Diff File

master 8d489b17

22.03.2021 20:27

orbweaver


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

greebo


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
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 120 ... 144 145 146 147 148 149 150 ... 180 ... 210 ... 240 ... 260 261 262  Next  Last