Changesets: DarkRadiant
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 | ||
master 0b00b9fd 07.03.2021 20:30 Details Diff |
Simplify vertex colour handling in interaction shader Modern shaders can work fine with boolean uniforms, so we don't need the awkward "scale and offset" approach to vertex colour handling. Instead we just examine a boolean to determine if the vertex colour should be inverted, and perform the calculation accordingly. |
||
mod - install/gl/interaction_fp.glsl | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.h | Diff File | ||
materialeditor2 9c3d3139 07.03.2021 13:41 Details Diff |
0002132: The grid should write to the depth buffer, to allow for better visualisation of objects near the XY plane |
Affected Issues 0002132 |
|
mod - radiant/camera/CamWnd.cpp | Diff File | ||
materialeditor2 7579979e 07.03.2021 12:42 Details Diff |
0005532: Start with lighting mode enabled and time running, if we have a material to show in the first place |
Affected Issues 0005532 |
|
mod - libs/wxutil/preview/RenderPreview.cpp | Diff File | ||
mod - radiant/ui/materials/MaterialPreview.cpp | Diff File | ||
master 4d19f816 06.03.2021 14:53 Details Diff |
Remove InternalMaterial mechanism Constructing an entire subclass of Material just to return a single string name is a needlessly complex way of debugging internal shader construction; instead, a simple getName() method on the Shader interface provides the same functionality with much less code. This also means that the Material interface can be kept pure, rather than being filled with stub method implementations just to make the InternalMaterial class shorter. |
||
mod - include/irender.h | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShader.h | Diff File | ||
mod - test/Entity.cpp | Diff File | ||
materialeditor2 c5625e6e 06.03.2021 06:18 Details Diff |
Update .gitignore to hide incremental link files | ||
mod - .gitignore | Diff File | ||
materialeditor2 890d89e6 06.03.2021 06:18 Details Diff |
0005532: Got the cube to rotate, it's going to be replaced with a model in the end anyway |
Affected Issues 0005532 |
|
mod - radiant/ui/materials/MaterialPreview.cpp | Diff File | ||
materialeditor2 0ab29770 06.03.2021 06:17 Details Diff |
0005532: Extend brush interface by IBrush::clear() to remove all faces |
Affected Issues 0005532 |
|
mod - include/ibrush.h | Diff File | ||
mod - radiantcore/brush/Brush.h | Diff File | ||
materialeditor2 173d8570 06.03.2021 06:16 Details Diff |
Set VC++ option /ZI the enable Edit and Continue | ||
mod - tools/msvc/properties/DarkRadiant Base Debug Win32.props | Diff File | ||
mod - tools/msvc/properties/DarkRadiant Base Debug x64.props | Diff File | ||
materialeditor2 f6eddb66 06.03.2021 05:32 Details Diff |
0005532: Rotating cube, with ugly code |
Affected Issues 0005532 |
|
mod - libs/wxutil/preview/RenderPreview.cpp | Diff File | ||
mod - libs/wxutil/preview/RenderPreview.h | Diff File | ||
mod - radiant/ui/materials/MaterialPreview.cpp | Diff File |