DarkRadiant: master 2d437bd3

Author Committer Branch Timestamp Parent
greebo greebo master 01.05.2022 04:08 master a1504794
Affected Issues  0005951: "Hide Deselected" is slowed when there's a lot of patches present in the scene
Changeset 0005951: Extend IGeometryRenderer interface to support showing/hiding single geometry slots.
PatchNodes should not remove their geometry when being hidden, but deactivate it instead. Any time the PatchNode is updating the RenderableGeometry instance it will implicitly reactivate it again (since update() will only be called when the node should be rendered in the first place).
Internally, the GeometryRenderer will forward all visible geometry slots as collection to the ObjectRenderer, which should exclude the hidden ones.
mod - include/igeometryrenderer.h Diff File
mod - libs/render/RenderableGeometry.h Diff File
mod - radiantcore/rendersystem/backend/GeometryRenderer.h Diff File
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp Diff File
mod - radiantcore/rendersystem/backend/OpenGLShader.h Diff File