kevinbadi/blender-skills

polyhaven-material-swap

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

Vedi sorgente

Come usare

  1. Copia il comando e controlla il pacchetto prima di installarlo nel tuo ambiente agente.
  2. Controlla strumenti, credenziali e ambienti richiesti nel documento originale.
  3. Descrivi input e risultato desiderato; confronta l’output con le fonti.
npx skills add https://github.com/kevinbadi/blender-skills --skill polyhaven-material-swap

Prima di iniziare

  • L’installazione non include abbonamenti, quote API o accesso ai file.
  • Stelle e installazioni indicano attività, non un test indipendente di qualità o sicurezza.
Documento Skill originale

Contenuto dal repository con titoli, esempi, codice, tabelle, link e immagini preservati.

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
dallo stesso repository

Altri Skills

Tutti gli Skills