View Issue Details

IDProjectCategoryView StatusLast Update
0002272DarkRadiantMap Editingpublic02.04.2022 05:56
ReporterSneaksieDave Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityalways
Status closedResolutionfixed 
PlatformWin32OSWindowsOS VersionXP
Product Version1.3.1 
Target Version2.14.0Fixed in Version2.14.0 
Summary0002272: Prevent Texture Tool "face jump" on rescaling textures
DescriptionCurrently changing the scale of the texture on a face causes the face in the texture tool to jump to a completely new spot on the map. This gets in the way of precise texture alignments. It is suggested that any vertex (e.g. the top left one) be "anchored" during scaling changes. Someone might argue they wanted to the upper right vertex anchored, but too bad; something has to be chosen, and having to nudge the texture a few pixels is preferable to having to reposition the entire brush by thousands of units.
TagsNo tags attached.

Relationships

related to 0005746 closedgreebo Texture Tool Improvements 
related to 0005768 closedgreebo Adjust Surface Inspector Shift/Scale/Rotation boxes to comply with the new texturing algorithms 

Activities

There are no notes attached to this issue.

Related Changesets

DarkRadiant: master a1cfd556

01.10.2021 17:36

greebo


Details Diff
0002272: Set up unit test for scaling face textures Affected Issues
0002272
mod - test/TextureManipulation.cpp Diff File
mod - test/algorithm/Primitives.h Diff File

DarkRadiant: master 9a001ef6

02.10.2021 04:16

greebo


Details Diff
0002272: Rearrange the scaling code a bit, implement TextureScaler class doing the matrix calculations.
The adjustment to invert the scale factor has been moved to the TexScaleLeft/TexScaleDown commands to let the rest of the TexScale command use the unmodified scale vector.
Affected Issues
0002272
mod - radiantcore/selection/algorithm/Shader.cpp Diff File
mod - radiantcore/selection/algorithm/Texturing.cpp Diff File
mod - radiantcore/selection/algorithm/Texturing.h Diff File

DarkRadiant: master 9f8e7887

02.10.2021 04:26

greebo


Details Diff
0002272: Replace Face::scaleTexdef and Patch::scaleTexture implementations Affected Issues
0002272
mod - radiantcore/brush/Face.cpp Diff File
mod - radiantcore/brush/TextureMatrix.cpp Diff File
mod - radiantcore/brush/TextureMatrix.h Diff File
mod - radiantcore/brush/TextureProjection.cpp Diff File
mod - radiantcore/brush/TextureProjection.h Diff File
mod - radiantcore/patch/Patch.cpp Diff File
mod - radiantcore/selection/algorithm/Shader.cpp Diff File

DarkRadiant: master 72bbf85f

02.10.2021 04:29

greebo


Details Diff
0002272: Unit tests covering patch scaling Affected Issues
0002272
mod - test/TextureManipulation.cpp Diff File

DarkRadiant: master 334ae080

02.10.2021 04:38

greebo


Details Diff
0002272: Condense the code a bit to have fewer repeating patterns Affected Issues
0002272
mod - radiantcore/selection/algorithm/Texturing.cpp Diff File
mod - radiantcore/selection/algorithm/Texturing.h Diff File

DarkRadiant: master a2805c0b

02.10.2021 04:57

greebo


Details Diff
0002272: Expand unit tests to check two selected patches which should be scaled independently when calling TexScale Affected Issues
0002272
mod - radiantcore/selection/algorithm/Shader.cpp Diff File
mod - radiantcore/selection/algorithm/Texturing.cpp Diff File
mod - radiantcore/selection/algorithm/Texturing.h Diff File
mod - test/TextureManipulation.cpp Diff File

Issue History

Date Modified Username Field Change
19.06.2010 04:22 SneaksieDave New Issue
20.06.2010 04:58 greebo Status new => acknowledged
10.09.2021 05:18 greebo Relationship added related to 0005746
01.10.2021 17:35 greebo Assigned To => greebo
01.10.2021 17:35 greebo Status acknowledged => assigned
02.10.2021 05:04 greebo Changeset attached => DarkRadiant master a1cfd556
02.10.2021 05:04 greebo Changeset attached => DarkRadiant master 9a001ef6
02.10.2021 05:04 greebo Changeset attached => DarkRadiant master 9f8e7887
02.10.2021 05:04 greebo Changeset attached => DarkRadiant master 72bbf85f
02.10.2021 05:04 greebo Changeset attached => DarkRadiant master 334ae080
02.10.2021 05:04 greebo Changeset attached => DarkRadiant master a2805c0b
02.10.2021 05:05 greebo Target Version => 2.14.0
02.10.2021 05:05 greebo Status assigned => resolved
02.10.2021 05:05 greebo Resolution open => fixed
02.10.2021 05:05 greebo Fixed in Version => 2.14.0
02.10.2021 07:03 greebo Relationship added related to 0005768
02.04.2022 05:56 greebo Status resolved => closed