Tools/comfyui_generate.py drives the local ComfyUI instance for generated textures and writes a sidecar with model, prompt, seed and workflow, so a generated asset can be regenerated or rejected instead of being an unexplained PNG. Models list and generation both verified against 127.0.0.1:8188. Stable Diffusion is not usable for flat skin swatches, and that is worth recording: three attempts produced an anatomical close-up twice and a leather-scale surface once. Skin detail is generated procedurally instead - tileable octave noise for pores, plus a strand sheet for hair - in Tools/generate_character_textures.py, with sidecars. Hair geometry exists (cap conforming to the head, weighted to the head bone, second material slot in Blender) but Unreal's import collapses the second material slot, so the cap renders with the skin material and reads as a bald skull. It is behind --hair and off; the next step is a separate skeletal mesh attached as a second component.
20 lines
326 B
JSON
20 lines
326 B
JSON
{
|
|
"tool": "Tools/generate_character_textures.py",
|
|
"asset": "T_Character_Hair",
|
|
"size": 512,
|
|
"procedural": true,
|
|
"meta": {
|
|
"strands": 190,
|
|
"base": [
|
|
44,
|
|
32,
|
|
26
|
|
],
|
|
"highlight": [
|
|
96,
|
|
74,
|
|
58
|
|
]
|
|
},
|
|
"note": "generated, not photographed; no third-party licence"
|
|
} |