DarkRadiant: master 569653d1
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
greebo | greebo | master | 08.10.2021 05:00 | master b8b74b76 |
Affected Issues | 0005547: Bring texture coordinates closer to 0,0 | |||
Changeset | 0005547: New implementation of the face translation code with texture lock enabled. The new vertices after transformation are not yet known, but in this special case we can base our calculations on the old winding and apply the translation to each of the winding vertices. This way we can predict where the new vertices will be and calculate the texture projection in Face::translate(). Move algorithm to calculate the texture matrix from vertices to TextureProjection. |
|||
mod - radiantcore/brush/Face.cpp | Diff File | |||
mod - radiantcore/brush/TextureProjection.cpp | Diff File | |||
mod - radiantcore/brush/TextureProjection.h | Diff File | |||
mod - test/TextureManipulation.cpp | Diff File |