Changesets: DarkRadiant
|
materialeditor2 bf963b99 13.03.2021 14:01 Details Diff |
0005532: Notify the preview about the material change, which will in turn notify its render system - changes of translation expressions can now immediately be seen |
Affected Issues 0005532 |
|
| mod - include/irender.h | Diff File | ||
| mod - radiant/ui/materials/MaterialEditor.cpp | Diff File | ||
| mod - radiant/ui/materials/MaterialEditor.h | Diff File | ||
| mod - radiant/ui/materials/MaterialPreview.cpp | Diff File | ||
| mod - radiant/ui/materials/MaterialPreview.h | Diff File | ||
| mod - radiantcore/rendersystem/OpenGLRenderSystem.cpp | Diff File | ||
| mod - radiantcore/rendersystem/OpenGLRenderSystem.h | Diff File | ||
|
materialeditor2 3a90cce5 13.03.2021 13:49 Details Diff |
0005532: Re-assigning expressions is working within the Doom3ShaderLayer now. The render passes don't refresh themselves yet. |
Affected Issues 0005532 |
|
| mod - include/ishaderexpression.h | Diff File | ||
| mod - radiantcore/shaders/CShader.cpp | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.cpp | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.h | Diff File | ||
| mod - radiantcore/shaders/ShaderExpression.h | Diff File | ||
|
materialeditor2 f21f7689 13.03.2021 06:32 Details Diff |
0005532: WIP commit, trying to get the shader layer updates working |
Affected Issues 0005532 |
|
| mod - include/ishaderlayer.h | Diff File | ||
| mod - include/ishaders.h | Diff File | ||
| mod - radiant/ui/materials/Binding.h | Diff File | ||
| mod - radiant/ui/materials/ExpressionBinding.h | Diff File | ||
| mod - radiant/ui/materials/MaterialEditor.cpp | Diff File | ||
| mod - radiant/ui/materials/MaterialEditor.h | Diff File | ||
| mod - radiantcore/shaders/CShader.cpp | Diff File | ||
| mod - radiantcore/shaders/CShader.h | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.h | Diff File | ||
|
materialeditor2 d24d64f2 13.03.2021 05:08 Details Diff |
0005532: Introduce an extended IEditableShaderLayer interface. Just returning a const IShaderLayer reference for non-edit scenarios turns out to be impractical, since the render passes need to evaluate time-dependent expressions and update the stage's registers, requiring non-const access to the stages. The Material itself needs to know when it's being modified, so I went for intruducing a separate Material::getEditableLayer() method that is taking care of the backup clone as soon as it's called. This way it's possible to inspect and render a material without implicitly marking it as modified. |
Affected Issues 0005532 |
|
| mod - include/ishaderlayer.h | Diff File | ||
| mod - include/ishaders.h | Diff File | ||
| mod - radiantcore/shaders/CShader.cpp | Diff File | ||
| mod - radiantcore/shaders/CShader.h | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.h | Diff File | ||
|
materialeditor2 c9d942b5 13.03.2021 04:26 Details Diff |
0005532: Rename ShaderLayer interface to IShaderLayer |
Affected Issues 0005532 |
|
| mod - include/iglrender.h | Diff File | ||
| mod - include/irender.h | Diff File | ||
| mod - include/ishaderlayer.h | Diff File | ||
| mod - include/ishaders.h | Diff File | ||
| mod - libs/materials/ParseLib.h | Diff File | ||
| mod - libs/wxutil/preview/GuiRenderer.cpp | Diff File | ||
| mod - radiant/ui/common/ShaderSelector.cpp | Diff File | ||
| mod - radiant/ui/materials/MaterialEditor.cpp | Diff File | ||
| mod - radiant/ui/materials/MaterialEditor.h | Diff File | ||
| mod - radiantcore/model/export/WavefrontExporter.cpp | Diff File | ||
| mod - radiantcore/rendersystem/backend/OpenGLShader.cpp | Diff File | ||
| mod - radiantcore/rendersystem/backend/OpenGLShader.h | Diff File | ||
| mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp | Diff File | ||
| mod - radiantcore/rendersystem/backend/OpenGLShaderPass.h | Diff File | ||
| mod - radiantcore/shaders/CShader.cpp | Diff File | ||
| mod - radiantcore/shaders/CShader.h | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.cpp | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.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/ShaderTemplate.cpp | Diff File | ||
| mod - radiantcore/shaders/ShaderTemplate.h | Diff File | ||
| mod - test/Materials.cpp | Diff File | ||
|
materialeditor2 dd315a27 13.03.2021 04:19 Details Diff |
0005532: Rename ShaderLayer.h to ishaderlayer.h |
Affected Issues 0005532 |
|
| mod - include/iglrender.h | Diff File | ||
| mod - include/irender.h | Diff File | ||
| mod - include/ishaders.h | Diff File | ||
| mod - include/precompiled_interfaces.h | Diff File | ||
| mod - libs/materials/ParseLib.h | Diff File | ||
| mod - radiant/ui/materials/MaterialEditor.cpp | Diff File | ||
| mod - radiant/ui/materials/MaterialEditor.h | Diff File | ||
| mod - radiantcore/rendersystem/backend/OpenGLShader.cpp | Diff File | ||
| mod - radiantcore/rendersystem/backend/OpenGLShader.h | Diff File | ||
| mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp | Diff File | ||
| mod - radiantcore/rendersystem/backend/OpenGLShaderPass.h | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.h | Diff File | ||
| mod - radiantcore/shaders/ShaderTemplate.cpp | Diff File | ||
| mod - radiantcore/shaders/ShaderTemplate.h | Diff File | ||
| mod - tools/msvc/include.vcxproj | Diff File | ||
|
materialeditor2 59f6e2fe 13.03.2021 04:08 Details Diff |
0005532: Add some const qualifiers for consistency |
Affected Issues 0005532 |
|
| mod - include/ShaderLayer.h | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.cpp | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.h | Diff File | ||
|
materialeditor2 bd351c7a 13.03.2021 03:43 Details Diff |
0005532: Refactor bindings to support a preparation step before modifying a shader stage |
Affected Issues 0005532 |
|
| mod - include/ShaderLayer.h | Diff File | ||
| mod - radiant/ui/materials/Binding.h | Diff File | ||
| mod - radiant/ui/materials/ExpressionBinding.h | Diff File | ||
| mod - radiant/ui/materials/MaterialEditor.cpp | Diff File | ||
| mod - radiant/ui/materials/MaterialEditor.h | Diff File | ||
| mod - radiant/ui/materials/MaterialPreview.cpp | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.cpp | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.h | Diff File | ||
|
materialeditor2 8521dbe2 12.03.2021 16:49 Details Diff |
0005532: Set material type on choice |
Affected Issues 0005532 |
|
| mod - include/ishaders.h | Diff File | ||
| mod - libs/materials/ParseLib.h | Diff File | ||
| mod - radiant/ui/materials/MaterialEditor.cpp | Diff File | ||
| mod - radiant/ui/materials/MaterialEditor.h | Diff File | ||
| mod - radiantcore/shaders/CShader.cpp | Diff File | ||
| mod - radiantcore/shaders/CShader.h | Diff File | ||
| mod - radiantcore/shaders/ShaderTemplate.h | Diff File | ||
|
materialeditor2 975ec22f 12.03.2021 16:39 Details Diff |
0005532: Description is editable |
Affected Issues 0005532 |
|
| mod - include/ishaders.h | Diff File | ||
| mod - radiant/ui/materials/MaterialEditor.cpp | Diff File | ||
| mod - radiantcore/shaders/CShader.cpp | Diff File | ||
| mod - radiantcore/shaders/CShader.h | Diff File | ||
| mod - radiantcore/shaders/ShaderTemplate.h | Diff File | ||
|
materialeditor2 e576be01 12.03.2021 15:38 Details Diff |
0005532: Wire up the material flags |
Affected Issues 0005532 |
|
| mod - radiant/ui/materials/MaterialEditor.cpp | Diff File | ||
|
materialeditor2 779ed5c0 12.03.2021 15:31 Details Diff |
0005532: Setup methods to set/clear material flags |
Affected Issues 0005532 |
|
| mod - include/ishaders.h | Diff File | ||
| mod - radiantcore/shaders/CShader.cpp | Diff File | ||
| mod - radiantcore/shaders/CShader.h | Diff File | ||
| mod - radiantcore/shaders/ShaderTemplate.h | Diff File | ||
|
materialeditor2 f1cdf057 12.03.2021 14:33 Details Diff |
0005532: Implement copy/clone functionality for ShaderTemplate and Doom3ShaderLayer |
Affected Issues 0005532 |
|
| mod - radiantcore/shaders/Doom3ShaderLayer.cpp | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.h | Diff File | ||
| mod - radiantcore/shaders/ShaderTemplate.cpp | Diff File | ||
|
materialeditor2 8c4d89ed 12.03.2021 14:12 Details Diff |
0005532: Some refactoring. Add a skeleton ShaderTemplate::clone() method, which will be used to create a backup of the template before the material is modifying any of its properties. |
Affected Issues 0005532 |
|
| mod - include/ishaders.h | Diff File | ||
| mod - radiantcore/shaders/CShader.cpp | Diff File | ||
| mod - radiantcore/shaders/CShader.h | Diff File | ||
| mod - radiantcore/shaders/ShaderTemplate.cpp | Diff File | ||
| mod - radiantcore/shaders/ShaderTemplate.h | Diff File | ||
|
materialeditor2 6a4e9d9d 12.03.2021 12:53 Details Diff |
0005532: CheckBoxBinding supports an optional save function |
Affected Issues 0005532 |
|
| mod - radiant/ui/materials/Binding.h | Diff File | ||
| mod - radiant/ui/materials/MaterialEditor.cpp | Diff File | ||
|
materialeditor2 fe7a6961 12.03.2021 10:56 Details Diff |
0005532: Choose between cube and sphere, just to prove the model switch is working |
Affected Issues 0005532 |
|
| add - install/bitmaps/cube.png | Diff File | ||
| add - install/bitmaps/sphere.png | Diff File | ||
| mod - install/resources/preview/cube.ase | Diff File | ||
| mod - install/ui/materialeditor.fbp | Diff File | ||
| mod - install/ui/materialeditor.xrc | Diff File | ||
| mod - radiant/ui/materials/MaterialEditor.cpp | Diff File | ||
| mod - radiant/ui/materials/MaterialPreview.cpp | Diff File | ||
| mod - radiant/ui/materials/MaterialPreview.h | Diff File | ||
|
materialeditor2 ba9c387c 12.03.2021 05:07 Details Diff |
0005532: Model is rotating, this turns out to be much easier than dealing with brushes |
Affected Issues 0005532 |
|
| mod - radiant/ui/materials/MaterialPreview.cpp | Diff File | ||
|
materialeditor2 fd7f8071 12.03.2021 04:48 Details Diff |
0005532: Use a TestModelSkin implementation to return the selected material name when asked for a remap. Add test models to preview/ resources. |
Affected Issues 0005532 |
|
| add - install/resources/preview/cube.ase | Diff File | ||
| add - install/resources/preview/sphere.ase | Diff File | ||
| mod - radiant/ui/materials/MaterialPreview.cpp | Diff File | ||
| mod - radiant/ui/materials/MaterialPreview.h | Diff File | ||
| add - radiant/ui/materials/TestModelSkin.h | Diff File | ||
| mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
| mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
|
materialeditor2 7683c1fb 12.03.2021 04:47 Details Diff |
0005532: Add possibility to add/remove skins to the global skin manager at runtime |
Affected Issues 0005532 |
|
| mod - include/modelskin.h | Diff File | ||
| mod - radiantcore/model/ModelCache.cpp | Diff File | ||
| mod - radiantcore/skins/Doom3SkinCache.cpp | Diff File | ||
| mod - radiantcore/skins/Doom3SkinCache.h | Diff File | ||
|
materialeditor2 0aa27c44 12.03.2021 04:18 Details Diff |
0005532: Adjust model loader implementation to load from absolute paths, not just from the VFS |
Affected Issues 0005532 |
|
| mod - include/imodel.h | Diff File | ||
| mod - include/imodelcache.h | Diff File | ||
| mod - radiantcore/model/ModelCache.cpp | Diff File | ||
| mod - radiantcore/model/ModelCache.h | Diff File | ||
| mod - radiantcore/model/md5/MD5ModelLoader.cpp | Diff File | ||
| mod - radiantcore/model/md5/MD5ModelLoader.h | Diff File | ||
| mod - radiantcore/model/picomodel/PicoModelLoader.cpp | Diff File | ||
| mod - radiantcore/model/picomodel/PicoModelLoader.h | Diff File | ||
|
master 66987e21 11.03.2021 02:31 Committer: GitHub Details Diff |
0000426: Add a script to detect duplicate entities Two entities will be considered duplicates if they have the same origin, model, classname, and rotation. Duplicates will be selected so the mapper can take a further action of their choosing. |
Affected Issues 0000426 |
|
| add - install/scripts/commands/find_duplicate_entities.py | Diff File | ||
|
master 622c5ca0 09.03.2021 20:54 Details Diff |
Add a test for omni light texture matrix Add a new getRendererLight() method to the ILightNode interface, and use this to retrieve and examine the texture transformation matrix of a simple omni light. |
||
| mod - include/ilightnode.h | Diff File | ||
| mod - radiantcore/entity/light/LightNode.h | Diff File | ||
| mod - test/CMakeLists.txt | Diff File | ||
| add - test/Renderer.cpp | Diff File | ||
|
master 1db3e735 09.03.2021 20:10 Details Diff |
Colour4 stores floats rather than doubles Using doubles in vectors may be necessary for accuracy when storing brush and patch geometry, but using doubles just to store OpenGL colours is a waste of bytes. Also add some tests for Vector3 and Vector3f packing, ensuring that the values are contiguous and can be passed to functions like glUniform3fv(). |
||
| mod - libs/debugging/render.h | Diff File | ||
| mod - libs/render/Colour4.h | Diff File | ||
| mod - radiant/xyview/tools/MeasurementTool.cpp | Diff File | ||
| mod - radiantcore/rendersystem/backend/OpenGLShader.cpp | Diff File | ||
| mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp | Diff File | ||
| mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.cpp | Diff File | ||
| mod - test/math/Vector3.cpp | Diff File | ||
|
master 07a10bbf 08.03.2021 21:03 Details Diff |
0000108: ambient lights now render correctly Ambient lights had in fact never worked since the switch to GLSL, since the ambient light code was only ever present in the old Cg shaders. The GLSL shader is now updated to support ambient lights through a new bool uniform, which works for both models and brushes. |
Affected Issues 0000108 |
|
| mod - include/iglprogram.h | Diff File | ||
| mod - install/gl/interaction_fp.glsl | Diff File | ||
| mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp | Diff File | ||
| mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.cpp | Diff File | ||
| mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.h | Diff File | ||
|
master 8cd54cd5 08.03.2021 20:25 Details Diff |
Remove light brightness doubling in shader For some reason there was a hard-coded scale factor of 2.0 applied to all lights in the shader (this is over and on top of the 2x scaling via the lightScale setting in the .game file, so 4x brightness in total), resulting in lights appearing far too bright and in many areas completely washed out. The brightness now appears much closer to that seen in game (possibly slightly darker because the game is providing some brightness and gamma scaling of its own, which is not replicated in DarkRadiant). |
||
| mod - install/gl/interaction_fp.glsl | Diff File | ||