Changesets: DarkRadiant

material_save_handling efcebd89

2021-03-28 16:57:48

greebo

Details Diff
0005565: Start ramping up the unit tests checking the exporting/splicing Affected Issues
0005565
mod - libs/decl/SpliceHelper.h Diff File
mod - test/MaterialExport.cpp Diff File
mod - test/resources/tdm/materials/exporttest.mtr Diff File

material_save_handling 3056efd3

2021-03-28 16:07:25

greebo

Details Diff
0005565: Lots of refactoring and moving stuff from the particle export algorithm to libs/, to be re-used by the MaterialManager. Affected Issues
0005565
add - libs/decl/SpliceHelper.h Diff File
mod - libs/stream/TemporaryOutputStream.h Diff File
mod - radiantcore/particles/ParticlesManager.cpp Diff File
mod - radiantcore/shaders/Doom3ShaderSystem.cpp Diff File
mod - radiantcore/shaders/MaterialSourceGenerator.cpp Diff File
mod - radiantcore/shaders/MaterialSourceGenerator.h Diff File
mod - tools/msvc/libs.vcxproj Diff File
mod - tools/msvc/libs.vcxproj.filters Diff File

material_save_handling 6daa2040

2021-03-28 15:37:43

greebo

Details Diff
0005565: Add TemporaryOutputStream helper object taking care of all the temp file handling, renaming and overwriting. Affected Issues
0005565
add - libs/stream/TemporaryOutputStream.h Diff File
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File
mod - radiantcore/particles/ParticlesManager.cpp Diff File
mod - radiantcore/shaders/Doom3ShaderSystem.cpp Diff File
mod - tools/msvc/libs.vcxproj Diff File
mod - tools/msvc/libs.vcxproj.filters Diff File

master af0d253b

2021-03-28 13:53:12

orbweaver

Details Diff
Matrix4 operator- implemented by Eigen
Attach Issues:
mod - libs/math/Matrix4.h Diff File

master 0b567e1d

2021-03-28 13:45:08

orbweaver

Details Diff
Add extra test for transformPoint() and transformDirection()

Confirm that these methods return the same result as operator* multiplication
between matrix and vector (with appropriate W coordinates added).
Attach Issues:
mod - test/math/Matrix4.cpp Diff File

material_save_handling 2481e991

2021-03-28 13:38:01

greebo

Details Diff
0005565: Add stub saveMaterial method Affected Issues
0005565
mod - include/ishaders.h Diff File
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File
mod - radiantcore/shaders/Doom3ShaderSystem.cpp Diff File
mod - radiantcore/shaders/Doom3ShaderSystem.h Diff File

material_save_handling e36e9b71

2021-03-28 13:27:55

greebo

Details Diff
0005565: Ask user where to save the copied or newly created material Affected Issues
0005565
mod - include/ishaders.h Diff File
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File
mod - radiantcore/shaders/CShader.cpp Diff File
mod - radiantcore/shaders/CShader.h Diff File
mod - radiantcore/shaders/Doom3ShaderSystem.cpp Diff File
mod - test/Materials.cpp Diff File

material_save_handling cd3ef824

2021-03-28 13:07:08

greebo

Details Diff
0005565: Implement copy/unlock functions + unit tests Affected Issues
0005565
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/editor/MaterialEditor.h Diff File
mod - radiantcore/shaders/Doom3ShaderSystem.cpp Diff File
mod - radiantcore/shaders/Doom3ShaderSystem.h Diff File
mod - radiantcore/shaders/ShaderLibrary.cpp Diff File
mod - radiantcore/shaders/ShaderLibrary.h Diff File
mod - test/Materials.cpp Diff File

master 59c5e971

2021-03-28 13:00:45

orbweaver

Details Diff
Matrix4 point transformation implemented by Eigen

transformPoint() and transformDirection() are now implemented in terms of
transform(), which uses Eigen matrix multiplication rather than component-wise
maths.
Attach Issues:
mod - libs/math/Matrix4.h Diff File

material_save_handling efc834b7

2021-03-28 12:45:31

greebo

Details Diff
0005565: Lock editing controls for PK4-defined materials. Add a control to quickyl create a copy of it to enable editing. 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

master b8264347

2021-03-28 12:43:14

orbweaver

Details Diff
Matrix4::isAffineEqual implemented by Eigen
Attach Issues:
mod - libs/math/Matrix4.h Diff File

master 4f5c49ab

2021-03-28 12:35:06

orbweaver

Details Diff
Matrix4::operator== uses Eigen implementation

Eigen::Transform does not implement operator== itself, but the contained
matrix() values can be compared instead.
Attach Issues:
mod - libs/math/Matrix4.h Diff File

material_save_handling 15fb1928

2021-03-28 10:14:41

greebo

Details Diff
0005565: Discarding unsaved materials means to remove them again. Affected Issues
0005565
mod - install/ui/materialeditor.fbp Diff File
mod - install/ui/materialeditor.xrc Diff File
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File

material_save_handling 21755297

2021-03-28 09:51:50

greebo

Details Diff
0005565: Prompt the user for every modified material on closing the dialog Affected Issues
0005565
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/editor/MaterialEditor.h Diff File

material_save_handling a127ea41

2021-03-28 07:15:27

greebo

Details Diff
0005565: More robust renaming algorithm in ShaderLibrary Affected Issues
0005565
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp Diff File
mod - radiantcore/shaders/ShaderLibrary.cpp Diff File

material_save_handling 0e8ea394

2021-03-28 06:55:56

greebo

Details Diff
0005565: More insert/remove algorithm improvements. Rename buttons for clarity. Affected Issues
0005565
mod - install/ui/materialeditor.fbp Diff File
mod - install/ui/materialeditor.xrc Diff File
mod - radiant/ui/materials/MaterialPopulator.cpp Diff File
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File

material_save_handling 9007cdce

2021-03-28 06:41:37

greebo

Details Diff
0005565: Improve algorithm for adding/removing items Affected Issues
0005565
mod - radiant/ui/materials/MaterialPopulator.cpp Diff File

material_save_handling d989e429

2021-03-28 05:18:18

greebo

Details Diff
0005565: WIP commit, working on "New Material" functionality Affected Issues
0005565
mod - install/ui/materialeditor.fbp Diff File
mod - install/ui/materialeditor.xrc Diff File
mod - radiant/ui/materials/MaterialPopulator.cpp Diff File
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/editor/MaterialEditor.h Diff File

material_save_handling e30d5876

2021-03-28 04:54:38

greebo

Details Diff
0005565: Extend MaterialPopulator to be able to sort items into the tree after population. Affected Issues
0005565
mod - radiant/ui/materials/MaterialPopulator.cpp Diff File

master c1373513

2021-03-27 20:39:11

orbweaver

Details Diff
Matrix4 now uses an Eigen::Transform internally

Eigen::Transform is a wrapper for an Eigen::Matrix structure which adds
functionality specific to geometric transformations, e.g. extracting the affine
part from an arbitrary (projective) transformation. Our own Matrix4 class is
now just interface glue for this Eigen::Transformation object, which means we
no longer need to implement linear algebra ourselves.

Since Matrix4 is well covered by unit tests (which still pass), there should be
no mathematical problems with this change, however the code is not yet optimal
since some functions are still performing maths manually using xx(), xy() etc
when they could be implemented using functionality exposed directly by Eigen
(some of which may be optimised using SIMD instructions).
Attach Issues:
mod - libs/math/Matrix4.cpp Diff File
mod - libs/math/Matrix4.h Diff File

material_save_handling c52928d3

2021-03-27 17:38:22

greebo

Details Diff
0005565: Attempt at keeping the material tree view up to date when a materials get added, removed or renamed. Not quite working yet. Affected Issues
0005565
mod - radiant/ui/materials/MaterialPopulator.cpp Diff File
mod - radiant/ui/materials/MaterialPopulator.h Diff File
mod - radiant/ui/materials/MaterialTreeView.cpp Diff File
mod - radiant/ui/materials/MaterialTreeView.h Diff File
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File
mod - radiantcore/shaders/Doom3ShaderSystem.cpp Diff File

material_save_handling b9032176

2021-03-27 17:14:01

greebo

Details Diff
0005565: Better material renaming implementation, more thorough unit tests.
Mark new materials as modified right from the start.
Affected Issues
0005565
mod - radiantcore/shaders/CShader.cpp Diff File
mod - radiantcore/shaders/CShader.h Diff File
mod - radiantcore/shaders/Doom3ShaderSystem.cpp Diff File
mod - radiantcore/shaders/ShaderLibrary.cpp Diff File
mod - test/Materials.cpp Diff File

material_save_handling 4e9a4cdb

2021-03-27 16:52:24

greebo

Details Diff
0005565: Add new methods to MaterialManager to create/rename/remove materials.
Add signals for each of these operations.
Add unit test cases.
Affected Issues
0005565
mod - include/ishaders.h Diff File
mod - radiantcore/shaders/Doom3ShaderSystem.cpp Diff File
mod - radiantcore/shaders/Doom3ShaderSystem.h Diff File
mod - radiantcore/shaders/ShaderLibrary.cpp Diff File
mod - radiantcore/shaders/ShaderLibrary.h Diff File
mod - test/Materials.cpp Diff File

master f03e4057

2021-03-27 14:26:04

orbweaver

Details Diff
Move Eigen submodule to external

Keep external dependencies separate from our own libs by using a new top-level
'external' directory to contain submodules like Eigen.
Attach Issues:
mod - .gitmodules Diff File
mod - CMakeLists.txt Diff File

material_save_handling e4239357

2021-03-27 09:10:17

greebo

Details Diff
0005565: Highlight modified materials in the tree view. Affected Issues
0005565
mod - libs/wxutil/dataview/TreeViewItemStyle.h Diff File
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/editor/MaterialEditor.h Diff File
mod - radiantcore/shaders/Doom3ShaderSystem.cpp Diff File
 First  Prev  1 2 3 ... 10 ... 20 ... 27 28 29 30 31 32 33 ... 40 ... 50 ... 60 ... 70 ... 80 ... 90 ... 100 ... 110 ... 120 ... 130 ... 140 ... 147 148 149  Next  Last