Skip to content

TexTools 1.4.3

Compare
Choose a tag to compare
@franMarz franMarz released this 08 Jun 03:21
· 173 commits to master since this release
7696cf5

UV LAYOUT
Additions:

  • Select zero area UV faces: aligned or coincidental UV edges or vertices that are not aligned or coincidental in the 3D mesh will be detected and selected if they make up a null UV face
  • Centralize: moves the islands as close as possible to the 0-1 space without introducing changes in the texture projection: i.e., moves the islands an integer magnitude. Having the UVs next to the 0-1 UV space domain is important for precision in the operations, layout organization and to save memory while working and in the saved assets

Fixes:

  • Rectify: Zero length edges on the UVs, if were part of the active face, were making the script crash
  • Fill tool: Re-establish previous functionality, allowing distortion of the UVs again
  • Mirror: Removed unnecessary "use_proportional_edit" argument; operate on faces instead of islands
  • Select Flipped: operate on faces instead of islands; this way it should be more useful in combination with Mirror for fixing flipped UVs
  • Randomize: Some operations won't happen from now on in case of empty selection
  • Better saving and restoration of the selection, especially when working in Vertex or Edge selection mode in 3D view, or if combining multiple selection modes.
  • Texel density set and get: the buttons were greyed out if entering edit mode without a selection (using the "active object fallback")

BAKING
Additions:

  • Added ability to choose the output color space for the texture per bake: sRGB or Linear (Non-Color)
  • New background color property in the preferences as a default, and in the Baking panel. Any solid, transparent or semi-transparent background is supported
  • Added 14 new bake modes for completion of the Principled BSDF possible channels: sss color, sss strength, transmission, transmission roughness, clearcoat, clearcoat roughness, sheen, sheen tint, anisotropic, anisotropic rotation, specular, specular tint, alpha and emission strength

Fixes:

  • Remove 256 max color limitation
  • Avoid possible problems if Vertex Colors was selected as baking target (possible since Blender 2.92)
  • For centain modes, baking is no further allowed (bake button disabled) if a required material or a Principled BSDF node is not present in some of the selected objects; a custom message is now displayed below the bake button informing on the matter
  • Remove data instead of objects for temporary bake objects: no more deletion info messages showing in console
  • Remove unnecessary use of user_clear() before data removal using do_unlink as an argument for remove(): no more showing of the alert "ID user decrement error" in console
  • There was a problem with the baking image not being reused if its source was a file. It is fixed now, so that re-baked textures nodes don't get unset and de-linked in the materials, and the texture itself can be saved while in the UV / Image Editor without specifying its path again

GENERAL

  • Fixed amiss use of is in several modules, causing SyntaxWarnings in the console
  • No more loading of unused modules and classes in several operators and in settings.py
  • Adjusted default padding: Padding affects some UV Layout operators besides the baking processes. In the Layout operators, a padding of 8 (previously, the default for textures => 1024) is usually too high, and in the bakes, it isn't needed to be as high either. It can be adjusted manually anyway in the TexTools panel, as always
  • bversion by Lamia: a more generic approach that will work even if the versioning policy changes prior to the 3.0.0 release