Changesets: DarkRadiant

master 2f13e2f1

05.08.2021 19:41

greebo


Details Diff
0005644: Add unit tests covering a simple light volume drag-resize operation (just on the x axis, light has an identity rotation) Affected Issues
0005644
add - libs/selection/SelectedPlaneSet.h Diff File
mod - libs/selection/SingleItemSelector.h Diff File
mod - radiantcore/selection/algorithm/Planes.cpp Diff File
mod - test/Selection.cpp Diff File
mod - test/Transformation.cpp Diff File
add - test/algorithm/View.h Diff File
mod - tools/msvc/Tests/Tests.vcxproj Diff File
mod - tools/msvc/Tests/Tests.vcxproj.filters Diff File
mod - tools/msvc/libs.vcxproj Diff File
mod - tools/msvc/libs.vcxproj.filters Diff File

master 3718a2de

05.08.2021 18:41

greebo


Details Diff
0005644: Fix non-uniform drag-resize operations sending the light's origin way off the view Affected Issues
0005644
mod - radiantcore/entity/light/LightNode.cpp Diff File

master 36de921e

04.08.2021 19:33

orbweaver


Details Diff
Use GL_RG8 format for uncompressed normal maps

Now that we are unconditionally reconstructing the Z coordinate in the shader,
there is no need to store it in the texture (and there was never any need for
an alpha channel).

The BindableTexture interface now defines a new Role enum which can be used as
a hint for the implementing image class to choose an appropriate GL internal
format based on usage. In RGBAImage, the role is now used to choose between
GL_RGBA8 for general images (as per the previous behaviour) and GL_RG8 for
normal maps. This appears to save around 500 MB of GPU memory in the St Lucia
map.

Further optimisations would be possible, for example skipping the alpha channel
in diffuse maps if the material does not use any alpha-related commands.
mod - include/iimage.h Diff File
mod - libs/RGBAImage.h Diff File
mod - radiantcore/imagefile/dds.cpp Diff File
mod - radiantcore/shaders/CameraCubeMapDecl.cpp Diff File
mod - radiantcore/shaders/CameraCubeMapDecl.h Diff File
mod - radiantcore/shaders/Doom3ShaderLayer.cpp Diff File
mod - radiantcore/shaders/MapExpression.h Diff File
mod - radiantcore/shaders/SoundMapExpression.h Diff File
mod - radiantcore/shaders/VideoMapExpression.h Diff File
mod - radiantcore/shaders/textures/GLTextureManager.cpp Diff File
mod - radiantcore/shaders/textures/GLTextureManager.h Diff File

master 68ca7867

04.08.2021 18:34

greebo


Details Diff
Add .natvis file to mathlib, adding a BasicVector3 visualisation.
mod - tools/msvc/mathlib.vcxproj Diff File
add - tools/msvc/mathlib.vcxproj.filters Diff File
add - tools/msvc/natvis/mathlib.natvis Diff File

master 36bb3573

04.08.2021 15:10

greebo


Details Diff
Merge remote-tracking branch 'remotes/orbweaver/master'
add - doc/img/CameraSync.png Diff File
add - doc/img/CameraSyncBack.png Diff File
mod - doc/manual.adoc Diff File
mod - doc/manual.html Diff File
mod - include/iimage.h Diff File
mod - install/gl/interaction_fp.glsl Diff File
mod - libs/RGBAImage.h Diff File
mod - radiant/ui/surfaceinspector/SurfaceInspector.cpp Diff File
mod - radiantcore/brush/TextureProjection.cpp Diff File
mod - radiantcore/imagefile/TGALoader.cpp Diff File
mod - radiantcore/imagefile/dds.cpp Diff File
mod - test/ImageLoading.cpp Diff File
add - test/resources/tdm/textures/dds/not_a_dds.dds Diff File
add - test/resources/tdm/textures/dds/test_16x16_bc5.dds Diff File

master 2f95d38f

03.08.2021 20:03

orbweaver


Details Diff
Shader supports RG-only normal maps

Reconstruct the B channel in the shader using Pythagoras, removing the need for
a valid B channel in the source image. This results in correct rendering of
RGTC normal maps where the B channel is not stored.
mod - install/gl/interaction_fp.glsl Diff File

master 519439a7

03.08.2021 19:34

orbweaver


Details Diff
Test GL formats of DXT1/5 textures

Use the new getGLFormat() method to ensure that we have the appropriate GL
format for the DXT1 and DXT5 test images.
mod - test/ImageLoading.cpp Diff File

master 3eba251d

03.08.2021 19:23

orbweaver


Details Diff
Test and fix handling of invalid DDS files

For some reason DDS errors (such as an invalid header due to missing magic
number) were reported using rError(), but the code then carried on regardless
rather than aborting. We now correctly abandon the loading attempt after
detecting an error, returning a null image pointer.
mod - radiantcore/imagefile/dds.cpp Diff File
mod - test/ImageLoading.cpp Diff File
add - test/resources/tdm/textures/dds/not_a_dds.dds Diff File

master 0705fce0

03.08.2021 18:58

orbweaver


Details Diff
Use correct GL format for BC5 DDS

Add an entry to the format table for the "ATI2" FOURCC, choosing the matching
GL format (GL_COMPRESSED_RG_RGTC2).
mod - radiantcore/imagefile/dds.cpp Diff File

master 130e9525

03.08.2021 18:52

orbweaver


Details Diff
Add failing test for BC5 GL format

Add a new getGLFormat() method to the Image interface. This is used in the test
to confirm that the image has the expected format of GL_COMPRESSED_RG_RGTC2
(which it currently doesn't).
mod - include/iimage.h Diff File
mod - libs/RGBAImage.h Diff File
mod - radiantcore/imagefile/TGALoader.cpp Diff File
mod - radiantcore/imagefile/dds.cpp Diff File
mod - test/ImageLoading.cpp Diff File

master b22b6db4

03.08.2021 18:34

orbweaver


Details Diff
Initial test for BC5 DDS loading

Image does actually load, it just renders incorrectly due to incorrect GL
format (plus no support in the shader).
mod - test/ImageLoading.cpp Diff File
add - test/resources/tdm/textures/dds/test_16x16_bc5.dds Diff File

master 6f8dc824

02.08.2021 17:06

greebo


Details Diff
Don't try to start a three-way merge if two-way mode is selected but the base map text entry happens to contain content from a previous three-way merge.
mod - radiant/ui/merge/MergeControlDialog.cpp Diff File

master 35f86da4

02.08.2021 16:36

greebo


Details Diff
Fix a crash due to the original source node being added to the target scene instead of its clone.
mod - libs/scene/merge/ThreeWayMergeOperation.cpp Diff File

master a584ecdb

02.08.2021 16:31

stgatilov


Details Diff
Further work.
mod - plugins/dm.gameconnection/GameConnection.cpp Diff File
mod - plugins/dm.gameconnection/GameConnectionDialog.cpp Diff File
mod - plugins/dm.gameconnection/GameConnectionDialog.h Diff File

master 3a50f53a

02.08.2021 10:41

stgatilov


Details Diff
Connected restart functionality to GUI dialog.
mod - plugins/dm.gameconnection/GameConnectionDialog.cpp Diff File
mod - plugins/dm.gameconnection/GameConnectionDialog.h Diff File

master 5165fe80

02.08.2021 10:37

stgatilov


Details Diff
Restart game works as "multistep procedure".
mod - plugins/dm.gameconnection/GameConnection.cpp Diff File
mod - plugins/dm.gameconnection/GameConnection.h Diff File

master caabac38

02.08.2021 09:48

stgatilov


Details Diff
Further work on game connection dialog.
mod - plugins/dm.gameconnection/GameConnection.cpp Diff File
mod - plugins/dm.gameconnection/GameConnection.h Diff File
mod - plugins/dm.gameconnection/GameConnectionDialog.cpp Diff File
mod - plugins/dm.gameconnection/GameConnectionDialog.h Diff File

master 856a49a8

02.08.2021 05:53

stgatilov


Details Diff
Simple stuff works for the game connection dialog.
mod - install/ui/gameconnection.fbp Diff File
mod - plugins/dm.gameconnection/GameConnection.cpp Diff File
mod - plugins/dm.gameconnection/GameConnectionDialog.cpp Diff File
mod - plugins/dm.gameconnection/GameConnectionDialog.h Diff File

master 78fe9ba8

01.08.2021 09:08

greebo


Details Diff
0005692: Add Rescan Folders button to Model Selector, which only rebuilds the tree without reloading the model data. Affected Issues
0005692
mod - install/ui/modelselector.fbp Diff File
mod - install/ui/modelselector.xrc Diff File
mod - radiant/ui/modelselector/ModelSelector.cpp Diff File
mod - radiant/ui/modelselector/ModelSelector.h Diff File

master 7dc2d956

01.08.2021 08:47

stgatilov


Details Diff
Second version of Connection Dialog (checkboxes).
add - install/ui/gameconnection.fbp Diff File

master 8ca06541

01.08.2021 08:32

greebo


Details Diff
0005679: Add X, Y, Z axis names when displaying the degrees value Affected Issues
0005679
mod - radiantcore/selection/manipulators/RotateManipulator.cpp Diff File
mod - radiantcore/selection/manipulators/RotateManipulator.h Diff File

master 6743a349

31.07.2021 18:15

greebo


Details Diff
Fix (potential) crashes due to wrong lambda captures. Disconnect from materials when closing the editor.
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/editor/MaterialEditor.h Diff File

master 715cb244

31.07.2021 15:10

stgatilov


Details Diff
First working version.
mod - plugins/dm.gameconnection/GameConnection.cpp Diff File

master 3155b492

31.07.2021 14:18

stgatilov


Details Diff
First attempt at game restart.
mod - plugins/dm.gameconnection/GameConnection.cpp Diff File
mod - plugins/dm.gameconnection/GameConnection.h Diff File

master dbc69af9

31.07.2021 14:18

stgatilov


Details Diff
Added executeQueryStatus method.

It returns currently installed FM, active map, etc.
mod - plugins/dm.gameconnection/GameConnection.cpp Diff File
mod - plugins/dm.gameconnection/GameConnection.h Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 114 115 116 117 118 119 120 ... 150 ... 180 ... 210 ... 240 ... 264 265 266  Next  Last