Changesets: DarkRadiant

master ac46970e

18.04.2022 11:12

greebo


Details Diff
0005942: Add explicit IBrush::removeRedundantFaces method to be used by the map importers.
By the time the faces are processed in Brush::buildBRep() it appears to be too late to remove faces on the fly, so let's do this as sanitising step after importing the brushes.
Affected Issues
0005942
mod - include/ibrush.h Diff File
mod - radiantcore/brush/Brush.cpp Diff File
mod - radiantcore/brush/Brush.h Diff File

master 611a68dc

18.04.2022 07:02

greebo


Details Diff
0005942: Add unit test checking Brush::buildBREP behaviour when encountering duplicated face planes.
The Doom3 game code will remove the second plane during dmap.
Affected Issues
0005942
mod - include/version.h Diff File
mod - test/Brush.cpp Diff File
add - test/resources/tdm/maps/brush_with_duplicate_planes.map Diff File

master 0728b7d3

18.04.2022 04:47

greebo


Details Diff
0005942: Improve error reporting when trying to open info files from PAKs Affected Issues
0005942
mod - include/imapresource.h Diff File
mod - radiantcore/map/ArchivedMapResource.cpp Diff File

master e6d06612

17.04.2022 07:04

greebo


Details Diff
0005941: StaticModelNode doesn't need to hold its own render system reference, it's already in the scene::Node base class Affected Issues
0005941
mod - radiantcore/model/StaticModelNode.cpp Diff File
mod - radiantcore/model/StaticModelNode.h Diff File

master e277df4f

17.04.2022 06:52

greebo


Details Diff
0005941: Fix skin change behaviour on MD5 models, analogous to f9ae2b04 Affected Issues
0005941
mod - radiantcore/model/md5/MD5Model.cpp Diff File
mod - radiantcore/model/md5/MD5Model.h Diff File
mod - radiantcore/model/md5/MD5ModelNode.cpp Diff File
mod - radiantcore/model/md5/MD5ModelNode.h Diff File

master e1ffa55d

17.04.2022 06:39

greebo


Details Diff
0005941: StaticModel now offers a signal_ShadersChanged() signal to notify the owning StaticModelNode about any skin change.
This will reset the shader registration of the node, the next time it is rendered it will attach itself to the correct set of shaders.
Affected Issues
0005941
mod - radiantcore/model/StaticModel.cpp Diff File
mod - radiantcore/model/StaticModel.h Diff File
mod - radiantcore/model/StaticModelNode.cpp Diff File
mod - radiantcore/model/StaticModelNode.h Diff File

master f9ae2b04

17.04.2022 04:41

greebo


Details Diff
Merge remote-tracking branch 'remotes/orbweaver/master'
mod - CMakeLists.txt Diff File
mod - include/ieclass.h Diff File
add - libs/generic/Lazy.h Diff File
mod - libs/wxutil/EntityClassChooser.cpp Diff File
mod - plugins/dm.conversation/ConversationCommandInfo.cpp Diff File
mod - plugins/dm.difficulty/DifficultySettings.cpp Diff File
mod - plugins/dm.difficulty/DifficultySettingsManager.cpp Diff File
mod - plugins/dm.editing/AIHeadChooserDialog.cpp Diff File
mod - plugins/dm.editing/AIVocalSetChooserDialog.cpp Diff File
mod - plugins/dm.editing/DeprecatedEclassCollector.h Diff File
mod - plugins/dm.editing/SpawnargLinkedCheckbox.h Diff File
mod - plugins/dm.editing/SpawnargLinkedSpinButton.h Diff File
mod - plugins/dm.stimresponse/EffectEditor.cpp Diff File
mod - plugins/dm.stimresponse/ResponseEffect.cpp Diff File
mod - plugins/script/interfaces/EClassInterface.cpp Diff File
mod - plugins/script/interfaces/EClassInterface.h Diff File
mod - radiant/ui/eclasstree/EClassTreeBuilder.cpp Diff File
mod - radiantcore/eclass/EClassManager.cpp Diff File
mod - radiantcore/eclass/EntityClass.cpp Diff File
mod - radiantcore/eclass/EntityClass.h Diff File
mod - radiantcore/entity/EntityModule.cpp Diff File
mod - radiantcore/entity/SpawnArgs.cpp Diff File
mod - radiantcore/map/aas/AasFileManager.cpp Diff File
mod - test/Entity.cpp Diff File
mod - test/resources/tdm/def/base.def Diff File

master 92bafbbd

17.04.2022 04:40

greebo


Details Diff
0005939: Fix rotate manipulator not being drawn Affected Issues
0005939
mod - radiantcore/selection/textool/TextureToolRotateManipulator.cpp Diff File

master 41bf96a3

17.04.2022 04:23

greebo


Details Diff
0005940: Provide a virtual method for entity subclasses to be notified about colour changes. When a LightNode's colour key is changing, its renderables need to be refreshed. Affected Issues
0005940
mod - libs/render/RenderableGeometry.h Diff File
mod - radiantcore/entity/ColourKey.h Diff File
mod - radiantcore/entity/EntityNode.cpp Diff File
mod - radiantcore/entity/EntityNode.h Diff File
mod - radiantcore/entity/light/LightNode.cpp Diff File
mod - radiantcore/entity/light/LightNode.h Diff File

master cacd77c2

16.04.2022 17:25

greebo


Details Diff
0005938: Apply a slight polygon offset to the stages blending with the background Affected Issues
0005938
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp Diff File

master 9b84e796

16.04.2022 17:16

greebo


Details Diff
0005938: Remove polygon offset from interaction stage Affected Issues
0005938
mod - radiantcore/rendersystem/backend/InteractionPass.cpp Diff File

master c0889d6b

13.04.2022 19:20

orbweaver


Details Diff
0005935: fix progressive performance loss in "Reload Defs"

When "Reload Defs" is invoked, the resolveInheritance() method is called
again on entity classes, however the code in this method was not
prepared for being called more than once, and set up a new sigc++
connection to the parent's changedSignal() each time. The resulting
linearly-increasing number of connections gave rise to steadily
worsening performance as the "Reload Defs" command was repeated, as
entities redundantly responded to their parent's setColour/resetColour
operation.

We now store the sigc::connection in the EntityClass itself so that the
previous connection can be disconnected before making a new one. As a
further performance optimisation, the setColour() method only emits the
changed signal if the colour actually changed, which massively reduces
the number of unnecessary method calls.
Affected Issues
0005935
mod - radiantcore/eclass/EntityClass.cpp Diff File
mod - radiantcore/eclass/EntityClass.h Diff File

master 0b8498d5

13.04.2022 19:19

orbweaver


Details Diff
Increase Linux version to 3.0.0
mod - CMakeLists.txt Diff File

master 7178fb1b

12.04.2022 18:33

orbweaver


Details Diff
Merge remote-tracking branch 'greebo/master'
mod - install/gl/interaction_fp.glsl Diff File
mod - install/gl/interaction_vp.glsl Diff File
add - install/scripts/commands/count_loot.py Diff File
mod - libs/module/StaticModule.cpp Diff File
mod - radiantcore/CMakeLists.txt Diff File
mod - radiantcore/patch/PatchNode.cpp Diff File
mod - radiantcore/rendersystem/OpenGLRenderSystem.cpp Diff File
mod - radiantcore/rendersystem/backend/BufferObjectProvider.h Diff File
mod - radiantcore/rendersystem/backend/FullBrightRenderer.cpp Diff File
mod - radiantcore/rendersystem/backend/FullBrightRenderer.h Diff File
mod - radiantcore/rendersystem/backend/LightingModeRenderer.cpp Diff File
mod - radiantcore/rendersystem/backend/LightingModeRenderer.h Diff File
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp Diff File
mod - radiantcore/rendersystem/backend/OpenGLShader.h Diff File
mod - radiantcore/rendersystem/backend/SceneRenderer.h Diff File
mod - radiantcore/rendersystem/backend/glprogram/InteractionProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/InteractionProgram.h Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj.filters Diff File

master 84ccc52b

10.04.2022 17:37

greebo


Details Diff
0005938: Add separate shader for non-interaction passes Affected Issues
0005938
add - install/gl/regular_stage_fp.glsl Diff File
add - install/gl/regular_stage_vp.glsl Diff File
mod - radiantcore/CMakeLists.txt Diff File
mod - radiantcore/rendersystem/backend/GLProgramFactory.cpp Diff File
mod - radiantcore/rendersystem/backend/GLProgramFactory.h Diff File
mod - radiantcore/rendersystem/backend/LightingModeRenderer.cpp Diff File
mod - radiantcore/rendersystem/backend/LightingModeRenderer.h Diff File
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp Diff File
mod - radiantcore/rendersystem/backend/OpenGLState.h Diff File
add - radiantcore/rendersystem/backend/glprogram/RegularStageProgram.cpp Diff File
add - radiantcore/rendersystem/backend/glprogram/RegularStageProgram.h Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj.filters Diff File

master 51d1b034

10.04.2022 11:56

greebo


Details Diff
0005938: Add explicit test to check that the material coverage is resolving to MC_OPAQUE. Affected Issues
0005938
mod - include/version.h Diff File
mod - test/Materials.cpp Diff File
mod - test/resources/tdm/materials/parsertest.mtr Diff File

master 70142f03

10.04.2022 08:32

greebo


Details Diff
0005936: Port and adjust the rest of the ambient light shader code.
It's important to note that even ambient lights get the light scale applied as per the game's r_lightScale CVAR.
Affected Issues
0005936
mod - install/gl/interaction_fp.glsl Diff File
mod - radiantcore/rendersystem/backend/glprogram/InteractionProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/InteractionProgram.h Diff File

master d2cef940

10.04.2022 06:29

greebo


Details Diff
0005936: First draft, porting the TDM ambient shader code to the main interaction shader Affected Issues
0005936
mod - install/gl/interaction_fp.glsl Diff File
mod - install/gl/interaction_vp.glsl Diff File
mod - radiantcore/rendersystem/backend/glprogram/InteractionProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/InteractionProgram.h Diff File

master a7da6bc9

09.04.2022 16:11

greebo


Details Diff
0005936: Rename LightInteractions to InteractingLight to better reflect what it is Affected Issues
0005936
mod - radiantcore/CMakeLists.txt Diff File
mod - radiantcore/rendersystem/OpenGLRenderSystem.cpp Diff File
mod - radiantcore/rendersystem/backend/LightingModeRenderer.cpp Diff File
mod - radiantcore/rendersystem/backend/LightingModeRenderer.h Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj.filters Diff File

master 136a90ba

09.04.2022 05:08

greebo


Details Diff
0005934: Separate renderables for selection colour overlay and outline overlay.
Use the triangulated mesh to render the colour overlay to fix z-fighting. Rendering the quadrangulated surface on top of the triangulated one made the overlay spotty on a curved mesh.
Affected Issues
0005934
mod - radiantcore/patch/PatchNode.cpp Diff File

master 4d37b11d

08.04.2022 14:59

greebo


Details Diff
0005934: Merge constructNormalShader() method into the call site Affected Issues
0005934
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp Diff File
mod - radiantcore/rendersystem/backend/OpenGLShader.h Diff File

master 3ac2c4e6

08.04.2022 10:09

greebo


Details Diff
0005933: Brushes didn't get a chance to upload their data to the geometry store when LightingModeRenderer was active.
This step has now been moved to the OpenGLRenderSystem before invoking the renderer.
The downside here is that all possible shaders applicable to Camera or Ortho are asked to update, even though they might not be contributing to the scene.
Affected Issues
0005933
mod - radiantcore/rendersystem/OpenGLRenderSystem.cpp Diff File
mod - radiantcore/rendersystem/backend/FullBrightRenderer.cpp Diff File
mod - radiantcore/rendersystem/backend/FullBrightRenderer.h Diff File
mod - radiantcore/rendersystem/backend/LightingModeRenderer.cpp Diff File
mod - radiantcore/rendersystem/backend/SceneRenderer.h Diff File

master 51c42861

08.04.2022 09:38

greebo


Details Diff
0005932: Consider forceshadows flag in materials when rendering shadow maps Affected Issues
0005932
mod - radiantcore/rendersystem/backend/LightInteractions.cpp Diff File

master 9289ecb9

08.04.2022 04:59

greebo


Details Diff
0005931: Fix selection overlay of patches getting out of sync with the mesh Affected Issues
0005931
mod - radiantcore/patch/PatchNode.cpp Diff File

master 22429599

07.04.2022 17:48

greebo


Details Diff
Buffer deletion safeguard, it's well possible that no buffer has been allocated yet
mod - radiantcore/rendersystem/backend/BufferObjectProvider.h Diff File
 First  Prev  1 2 3 ... 30 ... 59 60 61 62 63 64 65 ... 90 ... 120 ... 150 ... 180 ... 210 ... 240 ... 264 265 266  Next  Last