Changesets: DarkRadiant

material_save_handling 74bd3448

25.03.2021 05:53

greebo


Details Diff
0005565: MaterialPreview is automatically refreshing its view when the material is changed.
Right now nothing is happening since the signal in CSHader is not emitted by anything.
Affected Issues
0005565
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/editor/MaterialPreview.cpp Diff File
mod - radiant/ui/materials/editor/MaterialPreview.h Diff File

material_save_handling 4bedaeb6

25.03.2021 05:47

greebo


Details Diff
0005565: Add changed signal to Material class such that OpenGLShader instances are notified automatically Affected Issues
0005565
mod - include/ishaders.h Diff File
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp Diff File
mod - radiantcore/rendersystem/backend/OpenGLShader.h Diff File
mod - radiantcore/shaders/CShader.cpp Diff File
mod - radiantcore/shaders/CShader.h Diff File

material_save_handling 4a491e4f

25.03.2021 05:11

greebo


Details Diff
0005565: Implement Revert changes button Affected Issues
0005565
mod - include/ishaders.h Diff File
mod - install/ui/materialeditor.fbp Diff File
mod - install/ui/materialeditor.xrc Diff File
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/editor/MaterialEditor.h Diff File
mod - radiantcore/shaders/CShader.cpp Diff File
mod - radiantcore/shaders/CShader.h Diff File

material_save_handling 9b9c1cbd

25.03.2021 04:26

greebo


Details Diff
0005565: Skeleton methods to handle save/discard/cancel functionality when switching to a different material Affected Issues
0005565
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/editor/MaterialEditor.h Diff File

material_save_handling 40eaabdc

25.03.2021 04:11

greebo


Details Diff
0005565: Move material editor sources to ui/materials/editor/ Affected Issues
0005565
mod - radiant/CMakeLists.txt Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

material_save_handling a2d2d72a

25.03.2021 04:08

greebo


Details Diff
0005565: Move material-related UI parts to ui/materials Affected Issues
0005565
mod - radiant/CMakeLists.txt Diff File
mod - radiant/ui/materials/MaterialEditor.h Diff File
mod - radiant/ui/mediabrowser/MediaBrowserTreeView.cpp Diff File
mod - radiant/ui/mediabrowser/MediaBrowserTreeView.h Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

master a27d3096

24.03.2021 21:24

orbweaver


Details Diff
Strengthen test for matrix multiplication

Confirm that getMultipliedBy() does not modify the original matrix, and check
that the result of operator* is identical to the explicit method version.
mod - test/math/Matrix4.cpp Diff File

master 654c018f

24.03.2021 21:13

orbweaver


Details Diff
Matrix4 equality and inequality operators are non-members
mod - libs/math/Matrix4.h Diff File

master 603ffabd

24.03.2021 20:57

orbweaver


Details Diff
Move getProjectionForFrustum() out of Matrix4

This function is now only used by camera::calculateProjectionMatrix(), and does
not need to be a method of Matrix4 itself.
mod - libs/math/Matrix4.h Diff File
mod - libs/render/CameraView.h Diff File

master 27edaba2

24.03.2021 20:47

orbweaver


Details Diff
Remove redundant RenderPreview::getProjectionMatrix()

This method contained identical code to camera::calculateProjectionMatrix() in
the render/CameraView.h header, which is now used instead.
mod - libs/wxutil/preview/RenderPreview.cpp Diff File
mod - libs/wxutil/preview/RenderPreview.h Diff File

master 763544ac

24.03.2021 20:37

orbweaver


Details Diff
Move ClipResult and its constants out of Matrix.h
mod - libs/math/Matrix4.h Diff File
mod - libs/selection/BestPoint.h Diff File

master af675bef

24.03.2021 20:25

orbweaver


Details Diff
Move clipping functions out of Matrix4

clipPoint/clipTriangle/clipLine are utility functions that use a Matrix4 to
transform points, but do not access any private members of Matrix4 and
therefore do not need to be methods. These are now free functions in the
BestPoint.h header, near to the code which is using them (here and in
SelectionVolume.h).
mod - libs/math/Matrix4.cpp Diff File
mod - libs/math/Matrix4.h Diff File
mod - libs/selection/BestPoint.h Diff File
mod - libs/selection/SelectionVolume.h Diff File

pegtl_integration 6c46edd3

24.03.2021 18:09

greebo


Details Diff
0005573: Experimental PEGTL integration. Parsing works but speed (just cutting out the def blocks) is one order of magnitude than using the DefBlockTokeniser, taking almost 30 seconds here in my debug environment. Affected Issues
0005573
mod - radiantcore/shaders/ShaderFileLoader.h Diff File
add - radiantcore/shaders/parser/Grammar.h Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj.filters Diff File
add - tools/msvc/properties/pegtl.props Diff File

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
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 120 ... 150 ... 152 153 154 155 156 157 158 ... 180 ... 210 ... 240 ... 269 270 271  Next  Last