Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aspect-preserving texture fitting now working
Abandoned the original plan to calculate the required scale factors in TextureProjection::fitTexture(); this turned out to be non-trivial as it would require a calculation involving the effective aspect ratio of the selected face in texture space. Instead, this is done very simply at the GUI level by propagating the calculated scale factor from the fitted axis to the non-fitted axis, in the same way a user might achieve this effect manually by copy-pasting scale values between the respective numeric entry fields.
- Loading branch information
Matthew Mott
committed
Jul 27, 2021
1 parent
b099c7d
commit 58a3efa
Showing
2 changed files
with
21 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters