ComfyUI_DisplacementMapTools

ComfyUI_DisplacementMapTools
★ 3

位移贴图法线贴图图像扭曲徽标映射
将法线贴图转换为位移贴图,并用该位移图扭曲平面图像(如徽标),便于将徽标自然贴合非平面表面。
💡 将平面徽标自然贴合到有凹凸的模型或材质上。
🍴 1 Forks💻 Python🔄 2025-01-29
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/79aaff81621b
📦 requirements.txt
torch>=2.0.0
torchvision>=0.15.0
numpy>=1.22.0
Pillow>=9.0.0
📄 README

ComfyUI_DisplacementMapTools

These 2 nodes do something easy that I needed ComfyUI to do and I couldn’t find nodes that did.

Might add more stuff in the future, who knows.

  • Extract Displacement Map Node
  • This node accepts a Normal Map and outputs a Displacement Map. The Displacement Map cannot currently be previewed, but it’s there, trust me.

  • Displace Logo
  • Using the obtained Displacement Map, we can warp a planar image, like a logo, to adapt to the Displacement Map. Useful for placing logos on non flat stuff.