Changesets: DarkRadiant
master f6a15a97 20.09.2020 07:56 Details Diff |
0005289: Register particle file extension, to display the pattern name when selecting .prt files. |
Affected Issues 0005289 |
|
mod - radiantcore/particles/ParticlesManager.cpp | Diff File | ||
master ae8b910b 20.09.2020 07:49 Details Diff |
0005289: Fix particle files getting generated with two dots in their filenames (..prt) |
Affected Issues 0005289 |
|
mod - libs/wxutil/FileChooser.cpp | Diff File | ||
master 8a444bdc 20.09.2020 04:51 Details Diff |
0005337: Add loopback guard to PrefabSelector::handleSelectionChange. It doesn't occur anymore after the changes to MapFileProgressHandler, but it still provides additional protection. |
Affected Issues 0005337 |
|
mod - radiant/ui/MapFileProgressHandler.cpp | Diff File | ||
mod - radiant/ui/mainframe/ScreenUpdateBlocker.cpp | Diff File | ||
mod - radiant/ui/prefabselector/PrefabSelector.cpp | Diff File | ||
mod - radiant/ui/prefabselector/PrefabSelector.h | Diff File | ||
master 661ad356 20.09.2020 03:44 Details Diff |
0005337: Move DispatchEvent definition to .cpp file |
Affected Issues 0005337 |
|
mod - radiant/Makefile.am | Diff File | ||
add - radiant/ui/DispatchEvent.cpp | Diff File | ||
mod - radiant/ui/DispatchEvent.h | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
master 321fc5b1 19.09.2020 18:01 Details Diff |
0005288: ESC to exit search field in child window instead of closing the dialog |
Affected Issues 0005288 |
|
mod - libs/wxutil/TreeView.cpp | Diff File | ||
master 28c763f9 18.09.2020 03:53 Details Diff |
0005269: When writing a D3 entity, preserve line breaks in spawnarg values by converting them to "\n". |
Affected Issues 0005269 |
|
mod - radiantcore/map/format/Doom3MapWriter.cpp | Diff File | ||
test_setup b375759b 17.09.2020 17:38 Details Diff |
0005200: ScriptCommands don't need to register the command to the EventManager. Disable the sound module in the unit test environment. |
Affected Issues 0005200 |
|
mod - plugins/script/ScriptCommand.cpp | Diff File | ||
mod - test/RadiantTest.h | Diff File | ||
test_setup 439e6f1f 17.09.2020 17:25 Details Diff |
0005200: MouseToolManager is not required by the SelectionSystem |
Affected Issues 0005200 |
|
mod - radiantcore/selection/RadiantSelectionSystem.cpp | Diff File | ||
test_setup bcbc5deb 17.09.2020 17:17 Details Diff |
0005200: Separate the ScriptingSystem UI, move files to radiant UI binary. Makefile should ideally skipping those files if scripting plugin is not compiled. |
Affected Issues 0005200 |
|
mod - include/iscript.h | Diff File | ||
mod - plugins/script/Makefile.am | Diff File | ||
mod - plugins/script/ScriptCommand.h | Diff File | ||
mod - plugins/script/ScriptingSystem.cpp | Diff File | ||
mod - plugins/script/ScriptingSystem.h | Diff File | ||
mod - radiant/Makefile.am | Diff File | ||
add - radiant/ui/script/ScriptUserInterfaceModule.cpp | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
mod - tools/msvc/script.vcxproj | Diff File | ||
mod - tools/msvc/script.vcxproj.filters | Diff File | ||
test_setup a2e9ab6c 17.09.2020 15:49 Details Diff |
0005200: OpenGLRenderSystem will listen to shared context created/destroyed signal on its own. |
Affected Issues 0005200 |
|
mod - radiant/render/OpenGLModule.cpp | Diff File | ||
mod - radiantcore/rendersystem/OpenGLRenderSystem.cpp | Diff File | ||
mod - radiantcore/rendersystem/OpenGLRenderSystem.h | Diff File | ||
master 8e0859cd 16.09.2020 19:43 Details Diff |
Initial code to support lighting calculations by RenderableCollector Added a new method to RenderableCollector to receive renderables under the control of a LitObject, which will be used to calculate light intersections in a subsequent pass rather than requiring the object to maintain its own list of intersecting lights. Added initial code in CamRenderer to implement this method and calculate light intersections, although nothing is using it yet. |
||
mod - include/irenderable.h | Diff File | ||
mod - libs/render/SimpleFrontendRenderer.h | Diff File | ||
mod - radiant/camera/CamWnd.cpp | Diff File | ||
mod - radiant/xyview/XYRenderer.h | Diff File | ||
test_setup 63119595 16.09.2020 17:51 Details Diff |
0005200: Move context setup code to wxutil::GLContext. Remove widget registration methods from OpenGLModule. |
Affected Issues 0005200 |
|
mod - include/igl.h | Diff File | ||
mod - include/iwxgl.h | Diff File | ||
add - libs/wxutil/GLContext.h | Diff File | ||
mod - libs/wxutil/GLWidget.cpp | Diff File | ||
mod - radiant/map/StartupMapLoader.cpp | Diff File | ||
mod - radiant/render/OpenGLModule.cpp | Diff File | ||
mod - radiant/render/OpenGLModule.h | Diff File | ||
mod - radiant/ui/gl/WxGLWidgetManager.cpp | Diff File | ||
mod - radiantcore/rendersystem/OpenGLRenderSystem.cpp | Diff File | ||
mod - tools/msvc/wxutillib.vcxproj | Diff File | ||
mod - tools/msvc/wxutillib.vcxproj.filters | Diff File | ||
test_setup 564f6c35 16.09.2020 17:03 Details Diff |
0005200: Introduce WxGLWidgetManager which acts as global GL widget registration instance. It will create the shared wxGLContext and send it to the GL context holder. |
Affected Issues 0005200 |
|
add - include/iwxgl.h | Diff File | ||
mod - radiant/Makefile.am | Diff File | ||
add - radiant/ui/gl/WxGLWidgetManager.cpp | Diff File | ||
add - radiant/ui/gl/WxGLWidgetManager.h | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
mod - tools/msvc/include.vcxproj | Diff File | ||
master 7273d6d0 15.09.2020 20:01 Details Diff |
Add and improve some debug operator<< functions Functioning debug operator insertion for RendererLight, LightSources and Material (both actual objects and nullable pointers). |
||
mod - include/irender.h | Diff File | ||
mod - include/ishaders.h | Diff File | ||
master bd95bbf7 15.09.2020 18:56 Details Diff |
Render statistics track front-end and back-end times separately Store separate time values for render front-end and back-end stages, and display these separately on the stats line along with the total and the calculated fps. Currently on my Linux system this shows that the majority of time is spent in the back-end, with the initial scenegraph traversal happening relatively quickly. |
||
mod - radiant/camera/CamWnd.cpp | Diff File | ||
mod - radiant/render/RenderStatistics.h | Diff File | ||
test_setup cf974072 14.09.2020 19:05 Details Diff |
0005200: Introduce separate classes to hold and create the shared GL context, respectively. |
Affected Issues 0005200 |
|
mod - include/igl.h | Diff File | ||
mod - radiantcore/Makefile.am | Diff File | ||
add - radiantcore/rendersystem/SharedOpenGLContextModule.cpp | Diff File | ||
add - radiantcore/rendersystem/SharedOpenGLContextModule.h | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj.filters | Diff File | ||
test_setup 5a228f07 13.09.2020 16:11 Details Diff |
0005200: Move registry toggle registration to UI module |
Affected Issues 0005200 |
|
mod - radiant/ui/UserInterfaceModule.cpp | Diff File | ||
mod - radiantcore/brush/BrushModule.cpp | Diff File | ||
test_setup adb2af09 13.09.2020 16:07 Details Diff |
0005200: Move Selection and ComponentMode toggle state management to a UI helper class |
Affected Issues 0005200 |
|
mod - include/iselection.h | Diff File | ||
add - radiant/ui/SelectionModeToggle.h | Diff File | ||
mod - radiant/ui/UserInterfaceModule.cpp | Diff File | ||
mod - radiant/ui/UserInterfaceModule.h | Diff File | ||
mod - radiantcore/selection/RadiantSelectionSystem.cpp | Diff File | ||
mod - radiantcore/selection/RadiantSelectionSystem.h | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
test_setup 8d17221e 13.09.2020 14:41 Details Diff |
0005200: Move UI-related toggle state code from RadiantSelectionSystem to the UI module. Fix a bug in RadiantSelectionSystem::getManipulatorIdForType. |
Affected Issues 0005200 |
|
mod - include/iselection.h | Diff File | ||
add - radiant/ui/ManipulatorToggle.h | Diff File | ||
mod - radiant/ui/UserInterfaceModule.cpp | Diff File | ||
mod - radiant/ui/UserInterfaceModule.h | Diff File | ||
mod - radiantcore/selection/RadiantSelectionSystem.cpp | Diff File | ||
mod - radiantcore/selection/RadiantSelectionSystem.h | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
master 79090f5a 09.09.2020 19:48 Details Diff |
Light, rather than LightNode, implements the RendererLight interface All of the RendererLight methods on LightNode just forwarded to the identically-named methods on Light itself. These forwarding methods are now bypassed by making Light the implementor of RendererLight, and having the LightNode submit _light rather than *this to any method requiring a RendererLight (e.g. RenderableCollector::addLight()). This also required refactoring so that RendererLight no longer inherits from IRenderEntity. Instead, RendererLight defines a new method getLightEntity() which allows the Light object to return its owning LightNode as the render entity. |
||
mod - include/ientity.h | Diff File | ||
mod - include/irender.h | Diff File | ||
mod - radiant/entity/light/Light.cpp | Diff File | ||
mod - radiant/entity/light/Light.h | Diff File | ||
mod - radiant/entity/light/LightNode.cpp | Diff File | ||
mod - radiant/entity/light/LightNode.h | Diff File | ||
mod - radiant/render/backend/OpenGLShaderPass.cpp | Diff File | ||
master d6cfb858 08.09.2020 19:34 Details Diff |
CamRenderer::addLight() performs AABB-based culling of lights As each light is submitted to addLight(), a simple intersection test is performed between the view frustum and the light's AABB, with any light which falls outside of the frustum (and therefore cannot possibly illuminate any visible pixels) being discarded rather than added to the internal list of lights. In order to allow this test, RendererLight needed a new interface method to return the illuminated AABB, which was easily satisfied by the existing lightAABB() method on the Light class. The submitted lights are still not used for rendering but the number of visible and total lights is now shown in the render stats display, so it is possible to confirm that the count increases or decreases as lights enter or leave the camera view. |
||
mod - include/irender.h | Diff File | ||
mod - radiant/camera/CamWnd.cpp | Diff File | ||
mod - radiant/entity/light/LightNode.h | Diff File | ||
mod - radiant/render/RenderStatistics.h | Diff File | ||
master 470a99d9 08.09.2020 19:14 Details Diff |
Adjust GL raster text and render statistics line Increase the font to 14 pixels (from 12) and format the render statistics on a single line. Since we're still using evil hard-coded pixel sizes there is a limit to how much we can tweak this (the same font is used for drawing other text such as grid coordinates and brush bounds). |
||
mod - radiant/camera/CamWnd.cpp | Diff File | ||
mod - radiant/render/OpenGLModule.cpp | Diff File | ||
master 7f489c01 02.09.2020 20:12 Details Diff |
CamRenderer stores and counts lights CamRenderer stores received RendererLights in an internal list, and increments a new counter in RenderStatistics which results in the number of lights being shown on the stats line. This confirms that the CamRenderer is receiving the expected lights, although they are not currently being used for rendering. |
||
mod - radiant/camera/CamWnd.cpp | Diff File | ||
mod - radiant/render/RenderStatistics.h | Diff File | ||
master 4e0eadc3 02.09.2020 20:02 Details Diff |
RenderStatistics also calculates frames per second Display calculated FPS after the frame render time in msec. |
||
mod - radiant/render/RenderStatistics.h | Diff File | ||
master 63e99d8e 02.09.2020 19:54 Details Diff |
Streamline RenderStatistics class Class is now a member of CamWnd (its only user) rather than a static singleton, and several unused members have been removed. As a result, the bottom line in the CamWnd only shows the msec value, rather than a number of other values which never change from 0. |
||
mod - radiant/camera/CamWnd.cpp | Diff File | ||
mod - radiant/camera/CamWnd.h | Diff File | ||
mod - radiant/render/RenderStatistics.h | Diff File |