Changesets: DarkRadiant

textransform a29bd814

05.09.2021 19:12

greebo


Details Diff
0005740: New experimental brush face texture rotation implementation, which rotates the texture using the UV centroid as pivot.
Lots of code to be refactored, and it appears we don't have a 3x3 Matrix type.
Affected Issues
0005740
mod - radiantcore/brush/Face.cpp Diff File
mod - radiantcore/brush/TextureProjection.cpp Diff File
mod - radiantcore/brush/TextureProjection.h Diff File

master 26d5c1b7

05.09.2021 13:56

greebo


Details Diff
0005711: Fix Quake3 export test now that the tex def is exported in a different way Affected Issues
0005711
mod - test/MapExport.cpp Diff File

master 205c31b0

05.09.2021 13:54

greebo


Details Diff
0005711: Unit test debugging Affected Issues
0005711
mod - test/Brush.cpp Diff File

master 9e957eaa

05.09.2021 13:15

greebo


Details Diff
0005711: Port some code from GtkRadiant to write out brush faces in Quake 3 format. Angled brushes won't be correctly textured, but axis-aligned ones seem to work with this algorithm. Affected Issues
0005711
add - radiantcore/map/format/Quake3Utils.h Diff File
mod - radiantcore/map/format/primitiveparsers/BrushDef.cpp Diff File
mod - radiantcore/map/format/primitivewriters/LegacyBrushDefExporter.h Diff File
mod - test/Brush.cpp Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj.filters Diff File

master f334b172

05.09.2021 12:08

greebo


Details Diff
0005711: Add unit test checking the exported Q3 brush face Affected Issues
0005711
mod - test/Brush.cpp Diff File

master fbc3d116

05.09.2021 11:58

greebo


Details Diff
0005710: Add another unit test with an axis-aligned brush including a non-identity texdef Affected Issues
0005710
mod - test/Brush.cpp Diff File
add - test/resources/tdm/maps/quake3maps/angled_brush.map Diff File
add - test/resources/tdm/maps/quake3maps/brush_with_transform.map Diff File

master 4f4f93ab

05.09.2021 11:08

greebo


Details Diff
Logo
mod - README.md Diff File
add - install/bitmaps/repository_logo.png Diff File

master d0ef9b93

05.09.2021 11:08

greebo


Details Diff
Logo
mod - README.md Diff File
add - install/bitmaps/repository_logo.png Diff File

master bf4abd04

05.09.2021 11:08

greebo


Details Diff
Logo
mod - README.md Diff File
add - install/bitmaps/repository_logo.png Diff File

master 8b4b7772

05.09.2021 11:08

greebo


Details Diff
Logo
mod - README.md Diff File
add - install/bitmaps/repository_logo.png Diff File

master 6d902ef5

05.09.2021 11:08

greebo


Details Diff
Logo
mod - README.md Diff File
add - install/bitmaps/repository_logo.png Diff File

master 63922bdc

05.09.2021 11:08

greebo


Details Diff
Logo
mod - README.md Diff File
add - install/bitmaps/repository_logo.png Diff File

master 5ef45c64

05.09.2021 11:08

greebo


Details Diff
Logo
mod - README.md Diff File
add - install/bitmaps/repository_logo.png Diff File

master bd7dc98e

05.09.2021 10:44

greebo


Details Diff
0005710: Add some comments about the approach and its limited usefulness. Affected Issues
0005710
mod - libs/texturelib.h Diff File
mod - radiantcore/brush/TextureProjection.cpp Diff File
mod - radiantcore/map/format/primitiveparsers/BrushDef.cpp Diff File
mod - test/Brush.cpp Diff File

master ed2d1bd0

05.09.2021 06:15

greebo


Details Diff
0005710: Another unit test checking an angled brush.
This is currently causing trouble, as the axis base compensation matrix trick is not working here - only the 2D parts of the texture matrix are stored in the face's TextureMatrix class :/
Affected Issues
0005710
mod - test/Brush.cpp Diff File

master 2b062fb5

04.09.2021 11:04

greebo


Details Diff
0005710: Refactoring Affected Issues
0005710
mod - radiantcore/map/format/primitiveparsers/BrushDef.cpp Diff File
mod - radiantcore/map/format/primitiveparsers/BrushDef.h Diff File

master 61463345

04.09.2021 07:53

greebo


Details Diff
0005710: Port the Quake 3 texture projection calculation code from GtkRadiant and compensate the ComputeAxisBase rotation that is happening during idTech4 tex coord emission. This way we get the same visual appearance for brushes defined in Q3 map format while keeping the mandatory axis base to match what the dmap compiler in D3/TDM is inevitably doing.
Fixup some unit test cases, since I got a few vertex coords wrong.
Affected Issues
0005710
mod - radiantcore/map/format/primitiveparsers/BrushDef.cpp Diff File
mod - radiantcore/map/format/primitiveparsers/BrushDef.h Diff File
mod - test/Brush.cpp Diff File

master a1f5207c

04.09.2021 04:46

greebo


Details Diff
0005710: Refactoring, move the getBasisTransformForNormal to texturelib.h since we're going to need it outside the core module too.
Add some comments to the ComputeAxisBase method, since its purpose is not exactly obvious.
Affected Issues
0005710
mod - libs/texturelib.h Diff File
mod - radiantcore/brush/TextureProjection.cpp Diff File
mod - radiantcore/brush/TextureProjection.h Diff File

master 2dfb14f4

03.09.2021 15:07

greebo


Details Diff
0005710: Start constructing some tests to check the legacy Q3 brush importer code Affected Issues
0005710
mod - test/Brush.cpp Diff File
mod - test/algorithm/Primitives.h Diff File
mod - test/algorithm/Scene.h Diff File
add - test/resources/tdm/maps/quake3maps/brush_no_transform.map Diff File
mod - test/resources/tdm/materials/example.mtr Diff File
add - test/resources/tdm/textures/a_1024x512.tga Diff File
mod - tools/msvc/natvis/mathlib.natvis Diff File

master 789562a7

03.09.2021 13:08

greebo

Committer: GitHub


Details Diff
Update README.md
mod - README.md Diff File

master 0c22e5fd

03.09.2021 13:07

greebo


Details Diff
Update README
mod - README.md Diff File

master 5f4e1371

02.09.2021 04:34

greebo


Details Diff
0005687: Adjust model exporter code to preserve the layers of the replaced selection Affected Issues
0005687
mod - radiantcore/map/algorithm/Export.cpp Diff File

master 0498b0dd

02.09.2021 04:24

greebo


Details Diff
0005687: Add (failing) test to check the desired behaviour: exported models replacing the selection should be assigned to the union of the selection's layers. Affected Issues
0005687
mod - test/ModelExport.cpp Diff File

master f507bc08

01.09.2021 20:07

Matthew Mott


Details Diff
BasicVector4 operator+ and operator+= are now non-members
mod - libs/math/Vector4.h Diff File

master b09d41a3

01.09.2021 19:54

Matthew Mott


Details Diff
Remove unused BasicVector4::index()

Accessing vector components by index is provided via the operator cast to C
array.
mod - libs/math/Vector4.h Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 109 110 111 112 113 114 115 ... 120 ... 150 ... 180 ... 210 ... 240 ... 264 265 266  Next  Last