kevinbadi/blender-skills

polyhaven-material-swap

Cycle through multiple PolyHaven materials on a product and render each variant.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/kevinbadi/blender-skills --skill polyhaven-material-swap

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

PolyHaven Material Swap

Applies multiple PolyHaven PBR textures to the same object one by one and renders each — perfect for showing product finish variants (matte black, glossy white, brushed metal, marble, etc.).

How to Run

bash
node polyhaven-material-swap/scripts/polyhaven-material-swap.js --object Mesh_0 --textures "marble_01,brushed_metal,carbon_fiber" --output ~/Desktop/variants
node polyhaven-material-swap/scripts/polyhaven-material-swap.js --object Mesh_0 --preset metals --output ~/Desktop/metals

Options

OptionDescriptionDefault
--objectBlender object namerequired
--texturesComma-separated PolyHaven texture IDsrequired (or use --preset)
--outputOutput directory for rendered imagesrequired
--presetTexture set: metals, woods, stones, fabricsnone
--resolutionTexture resolution: 1k, 2k2k
--render-widthRender image width1920
--render-heightRender image height1080
--samplesRender samples64
--portBlender MCP port9876

Presets

  • metals — brushedmetal, rustymetal, paintedmetal02, corrugated_iron
  • woods — woodcabinetwornlong, plywood, barkbrown02, woodfloor
  • stones — marble01, concretewall003, rockface, gravelfloor02
  • fabrics — fabricpattern07, leatherred02, denimfabric, burlap01
来自同一仓库

更多 Skills

全部 Skills