Changesets: DarkRadiant

materialeditor2 ba9c387c

2021-03-12 05:07:38

greebo

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

2021-03-12 04:48:34

greebo

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

2021-03-12 04:47:42

greebo

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

2021-03-12 04:18:52

greebo

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

2021-03-11 02:31:01

jonri


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

2021-03-09 20:54:26

orbweaver

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.
Attach Issues:
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

2021-03-09 20:10:35

orbweaver

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().
Attach Issues:
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

2021-03-08 21:03:36

orbweaver

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

2021-03-08 20:25:11

orbweaver

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).
Attach Issues:
mod - install/gl/interaction_fp.glsl Diff File

master 0b00b9fd

2021-03-07 20:30:13

orbweaver

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.
Attach Issues:
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

2021-03-07 13:41:17

greebo

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

2021-03-07 12:42:19

greebo

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

2021-03-06 14:53:43

orbweaver

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.
Attach Issues:
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

2021-03-06 06:18:55

greebo

Details Diff
Update .gitignore to hide incremental link files
Attach Issues:
mod - .gitignore Diff File

materialeditor2 890d89e6

2021-03-06 06:18:11

greebo

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

2021-03-06 06:17:39

greebo

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

2021-03-06 06:16:13

greebo

Details Diff
Set VC++ option /ZI the enable Edit and Continue
Attach Issues:
mod - tools/msvc/properties/DarkRadiant Base Debug Win32.props Diff File
mod - tools/msvc/properties/DarkRadiant Base Debug x64.props Diff File

materialeditor2 f6eddb66

2021-03-06 05:32:54

greebo

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

materialeditor2 69a5bb53

2021-03-06 04:53:48

greebo

Details Diff
0005532: Working on the preview scene Affected Issues
0005532
mod - radiant/ui/materials/MaterialPreview.cpp Diff File
mod - radiant/ui/materials/MaterialPreview.h Diff File

materialeditor2 6ddf6b4c

2021-03-06 04:53:17

greebo

Details Diff
0005532: Fix crash in lighting mode due to (yet unsupported) VFP stages Affected Issues
0005532
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp Diff File

materialeditor2 f238d0b7

2021-03-05 17:31:46

greebo

Details Diff
0005532: Hide the grid and the toolbar button in the MaterialPreview 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
mod - radiant/ui/materials/MaterialPreview.h Diff File

materialeditor2 244ad4ef

2021-03-05 17:19:55

greebo

Details Diff
0005532: Setup empty MaterialPreview class Affected Issues
0005532
mod - radiant/CMakeLists.txt Diff File
mod - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/MaterialEditor.h Diff File
add - radiant/ui/materials/MaterialPreview.cpp Diff File
add - radiant/ui/materials/MaterialPreview.h Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

master 1c352965

2021-03-05 06:24:05

greebo

Details Diff
0005532: Compilation fixes Affected Issues
0005532
mod - radiant/ui/common/MaterialPopulator.cpp Diff File
mod - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/MaterialEditorModule.cpp Diff File
mod - radiantcore/shaders/MapExpression.h Diff File

master 7c118084

2021-03-05 05:31:47

greebo

Details Diff
Fix stage unit test now that the parser is recognising the VFP stage with fragment maps
Attach Issues:
mod - test/Materials.cpp Diff File

master 727ac4f2

2021-03-05 05:25:55

greebo

Details Diff
Compilation fixes, getMaterialForName => getMaterial
Attach Issues:
mod - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - test/Materials.cpp Diff File
 First  Prev  1 2 3 ... 10 ... 20 ... 30 ... 37 38 39 40 41 42 43 ... 50 ... 60 ... 70 ... 80 ... 90 ... 100 ... 110 ... 120 ... 130 ... 140 ... 147 148 149  Next  Last