Changesets: DarkRadiant
|
master c0a5a24b 02.07.2024 18:48 Details Diff |
0006514: "Choose source material" disabled for wildcard row The text entry was already disabled when the "*" row is selected; now the browse button is also disabled. |
Affected Issues 0006514 |
|
| mod - radiant/ui/skin/SkinEditor.cpp | Diff File | ||
| mod - radiant/ui/skin/SkinEditor.h | Diff File | ||
|
master b97b7df6 25.06.2024 18:32 Details Diff |
0006514: add "browse" buttons for Replace/With text boxes These are using a relative path to the bitmap set directly in the FBP/XRC file, rather than the "darkradiant:" art provider prefix, which allows the icons to appear in wxFormBuilder. This works correctly in GTK since the relative path between XRC and bitmap is the same, and hopefully will work in Windows too. The browse buttons show a material chooser to choose a new material for the associated text box, although the chosen material is not yet being applied to the skin. |
Affected Issues 0006514 |
|
| mod - install/ui/skineditor.fbp | Diff File | ||
| mod - install/ui/skineditor.xrc | Diff File | ||
| mod - radiant/ui/skin/SkinEditor.cpp | Diff File | ||
| mod - radiant/ui/skin/SkinEditor.h | Diff File | ||
|
master b3aaf558 19.06.2024 18:40 Details Diff |
0006514: initial material replacement edit boxes Add "Replace" and "With" text boxes underneath the skin editor's material replacements list. The text boxes are populated with the selected material information, although editing them does not have any effect. |
Affected Issues 0006514 |
|
| mod - install/ui/skineditor.fbp | Diff File | ||
| mod - install/ui/skineditor.xrc | Diff File | ||
| mod - radiant/ui/skin/SkinEditor.cpp | Diff File | ||
| mod - radiant/ui/skin/SkinEditor.h | Diff File | ||
|
master 09605944 12.06.2024 19:06 Details Diff |
Update Surface Inspector documentation with new icons | ||
| add - doc/img/align_bottom.png | Diff File | ||
| add - doc/img/align_left.png | Diff File | ||
| add - doc/img/align_right.png | Diff File | ||
| add - doc/img/align_top.png | Diff File | ||
| add - doc/img/flip_horiz.png | Diff File | ||
| add - doc/img/flip_vert.png | Diff File | ||
| add - doc/img/texture_lock.png | Diff File | ||
| mod - doc/manual.adoc | Diff File | ||
|
master 1704aeb7 11.06.2024 19:20 Details Diff |
0005718: fix rendering of vertex blend between two materials This required fixes in two places: - Remove the sorting of material stages in OpenGLShader, which placed ALL bump maps before ALL diffuse maps. This discarded vital information about which pairs or triplets of maps needed to be bound together in interaction passes. Sorting of bump maps before diffuse maps is necessary, but this must be done by the artist in the MTR decl, otherwise the engine will not render the blend correctly. - When we assemble the maps into D/B/S triplets in the RegularLight rendering code, treat bump maps as "delimiters" which start a new interaction pass (via a new clear() method). If we don't do this we end up with unwanted extra passes: a MTR which declares a sequence {B1, D1, B2, D2} generates interaction passes {B1, D1}, {D1, B2}, {B2, D2} which gives the wrong result. Note that 0005718 is actually a Dark Mod bug, but the investigation led to the discovery of this incorrect rendering behaviour in DarkRadiant. The actual engine renderer seems to produce correct results provided the material stages are correctly sorted bumpmap-first in the decl. |
Affected Issues 0005718 |
|
| mod - include/ishaderlayer.h | Diff File | ||
| mod - radiantcore/rendersystem/backend/OpenGLShader.cpp | Diff File | ||
| mod - radiantcore/rendersystem/backend/RegularLight.cpp | Diff File | ||
| mod - radiantcore/rendersystem/backend/RegularLight.h | Diff File | ||
|
master 66f7882c 29.05.2024 19:16 Details Diff |
Fix incorrect vertex colours in imported LWO models The picomodel code was multiplying the vertex colours by the surface DIFF and COLR values, which are not used for any purpose when exporting models to TDM, and may be set to Blender's default of (0.8, 0.8, 0.8). This resulted in white vertex colours appearing grey. |
||
| mod - radiantcore/model/picomodel/lib/pm_lwo.c | Diff File | ||
|
master c019674e 28.05.2024 22:38 Details Diff |
Don't check libgit2 version | ||
| mod - plugins/vcs/Commit.h | Diff File | ||
| mod - plugins/vcs/Repository.cpp | Diff File | ||
|
master 1673f3a8 28.05.2024 13:44 Details Diff |
Remove unneded consts | ||
| mod - plugins/vcs/Commit.h | Diff File | ||
| mod - plugins/vcs/Repository.cpp | Diff File | ||
|
master 666ccbc9 27.05.2024 12:14 Details Diff |
Prevent exceptions escaping from Cam_Draw() Since this call happens in a wxWidgets event, uncaught exceptions (e.g. due to a shader error) will cause the program to terminate. |
||
| mod - radiant/camera/CamWnd.cpp | Diff File | ||
|
master 004e4095 27.05.2024 12:14 Details Diff |
Redirect wx assertions to console on Linux | ||
| mod - radiant/RadiantApp.cpp | Diff File | ||
|
master a830b03e 25.05.2024 12:14 Details Diff |
Update build scripts for 3.9.1 | ||
| mod - CMakeLists.txt | Diff File | ||
| mod - debian/changelog | Diff File | ||
|
master 47bad8bd 22.05.2024 18:44 Details Diff |
Fix some IDE code parsing errors | ||
| mod - radiant/camera/CameraSettings.cpp | Diff File | ||
|
master 9e791ff8 21.05.2024 18:51 Details Diff |
Fix RGTC normal maps showing as black in lighting preview mode Although we were correctly loading RGTC normal maps into the appropriate destination format, there was no code in the shader to actually handle the missing Z value, resulting in RGTC normal maps showing as entirely black. The Z value is now recovered for all normal maps (because it's much easier than having to implement format-specific shader behaviour, and should be fairly quick), using a simple application of Pythagoras. I can't prove that this is 100% mathematically correct but it seems to give realistic results, and is a lot better than black. |
||
| mod - install/gl/interaction_fp.glsl | Diff File | ||
| mod - radiantcore/rendersystem/backend/GLProgramFactory.cpp | Diff File | ||
|
master 00f1140a 08.05.2024 18:20 Details Diff |
Update Surface Inspector screenshot in manual | ||
| mod - doc/img/SurfaceInspector.png | Diff File | ||
| mod - doc/manual.adoc | Diff File | ||
|
master ba312b37 05.05.2024 19:57 Details Diff |
Remove extraneous asterisks from background image manual section | ||
| mod - doc/manual.adoc | Diff File | ||
|
master b67318f5 24.04.2024 18:48 Details Diff |
0006514: Skin Name text control only commits changes on ENTER The previous event was emitted on every character change, which was far too frequent and led to performance problems and strange behaviour. By setting the PROCESS_ENTER style flag we can connect instead to an event which is only emitted when the ENTER key is pressed, which is the more usual behaviour when editing the name of something in a text field. |
Affected Issues 0006514 |
|
| mod - install/ui/skineditor.fbp | Diff File | ||
| mod - install/ui/skineditor.xrc | Diff File | ||
| mod - radiant/ui/skin/SkinEditor.cpp | Diff File | ||
|
master debc7152 24.04.2024 18:29 Details Diff |
0006514: minor layout tweaks in Skin Editor Remove low-information static labels; shorten button labels and set correct stock wxIDs (although I'm not sure if the IDs do anything here). |
Affected Issues 0006514 |
|
| mod - install/ui/skineditor.fbp | Diff File | ||
| mod - install/ui/skineditor.xrc | Diff File | ||
| mod - radiant/ui/skin/SkinEditor.cpp | Diff File | ||
|
master 09e5ec1c 21.04.2024 19:33 Details Diff |
Avoid creating speaker min/max spawnargs when moving a speaker Instead of unconditionally creating min/max distance spawnargs in SpeakerNode::freezeTransform, we now write them under two different conditions: if the modified speaker radii differ from the shader default, or if there were already min/max spawnargs to begin with. This prevents creating redundant spawnargs just because a speaker was moved, but also will not remove existing spawnargs just because they happen to match the shader default (which was the original complaint in 0006062). |
Affected Issues 0006062 |
|
| mod - radiantcore/entity/speaker/SpeakerNode.cpp | Diff File | ||
|
master b15b234d 21.04.2024 12:22 Details Diff |
Filter dialog respects minimum widget sizes Pack the loaded wxPanel into a wxSizer to provide proper size hint handling. Also remove redundant title label and several pixels of indentation. |
||
| mod - install/ui/filterdialog.fbp | Diff File | ||
| mod - install/ui/filterdialog.xrc | Diff File | ||
| mod - radiant/ui/filters/editor/FilterDialog.cpp | Diff File | ||
| mod - radiant/ui/filters/editor/FilterDialog.h | Diff File | ||
|
master 2c5b6eb7 21.04.2024 12:07 Details Diff |
Reduce default floating size of the Surface Inspector The dialog has now shrunk sufficiently that the hard-coded default floating size in the UserInterfaceModule was leaving extra blank space at the bottom. |
||
| mod - include/ui/imainframe.h | Diff File | ||
| mod - radiant/ui/UserInterfaceModule.cpp | Diff File | ||
|
master 81df3880 20.04.2024 13:45 Details Diff |
Reduce space wastage in bottom half of Surface Inspector Replace "Texture Lock" text button with an icon button. Remove "Normalise" button and align "Natural" button and default scale spinbox on the same row. Remove left-hand column of labels which provides little information. |
||
| mod - install/bitmaps/texture_lock.png | Diff File | ||
| mod - radiant/ui/surfaceinspector/SurfaceInspector.cpp | Diff File | ||
| mod - radiant/ui/surfaceinspector/SurfaceInspector.h | Diff File | ||
| mod - resources/icons/flip_vert.svg | Diff File | ||
| add - resources/icons/texture_lock.svg | Diff File | ||
|
master 99952768 20.04.2024 13:13 Details Diff |
Use icons for flip texture buttons in SurfaceInspector Remove the dedicated "flip" row, replacing its large text buttons with much smaller icon buttons on the same row as the 4 existing alignment buttons. Also use these new flip icons for the similar buttons in the Texture Tool. |
||
| add - install/bitmaps/flip_horiz.png | Diff File | ||
| add - install/bitmaps/flip_vert.png | Diff File | ||
| mod - install/user.xml | Diff File | ||
| mod - radiant/ui/surfaceinspector/SurfaceInspector.cpp | Diff File | ||
| mod - radiant/ui/surfaceinspector/SurfaceInspector.h | Diff File | ||
| add - resources/icons/flip_horiz.svg | Diff File | ||
| add - resources/icons/flip_vert.svg | Diff File | ||
|
master c97aae8d 20.04.2024 12:52 Details Diff |
Add a wxutil::IconButton() convenience function | ||
| mod - libs/wxutil/Bitmap.h | Diff File | ||
| mod - radiant/ui/surfaceinspector/SurfaceInspector.cpp | Diff File | ||
|
master a57156a6 20.04.2024 12:43 Details Diff |
Use icons for align buttons in Surface Inspector | ||
| add - install/bitmaps/align_bottom.png | Diff File | ||
| add - install/bitmaps/align_left.png | Diff File | ||
| add - install/bitmaps/align_right.png | Diff File | ||
| add - install/bitmaps/align_top.png | Diff File | ||
| mod - radiant/ui/surfaceinspector/SurfaceInspector.cpp | Diff File | ||
| add - resources/icons/align_top.svg | Diff File | ||
|
master daa7cfd3 17.04.2024 18:36 Details Diff |
Fix "usage" message in console when using texture align buttons Missing 'else' keywords caused the usage message (intended for an invalid edge argument) to be displayed even when the argument was valid. |
||
| mod - radiantcore/selection/algorithm/Shader.cpp | Diff File | ||