Skip to content

partaevil/UVBorderDistanceTextureGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Blender UV Border Distance Texture Generator

This Blender Python script generates a texture map representing the distance from the borders of UV islands for one or more selected mesh objects. The output is a grayscale image where white areas are furthest from a UV edge (typically the center of a UV island) and black areas are at or near the UV island edges or outside them.

Example of result.

Requirements

Maybe needed install some package at system

sudo pacman -S python-scipy # or your package manager

How to Use

  1. donwload and unzip script (or just download this script (or just copy paste))
  2. open blender
  3. go to scripting tab (or open text editor window)
  4. Text -> Open... -> Choise file (or create new and copy paste)
  5. Select mesh object(s)
  6. Run script. Should in project appear new image (image datablock) that ends with "_uv_distance" (Circle_and_7_others_combined_uv_distance or Plane.003_uv_distance)

Configuration

All settings are controlled by modifying the TextureGenConfig.

config = TextureGenConfig()
config.resolution = 1024*4  
config.falloff_rate = 3.0   
config.smoothness = 1.2     
# etc... check script

About

Blender script for generation of UV border distance texture

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages