跳到正文
CuteGuy☣️· @cutetoxicguy · X·· 17 天前精选AI 评分78

comfyui_pcg 将 Houdini 风格程序化建模带入 ComfyUI

AI 导读

独立早期版本 comfyui_pcg 为 ComfyUI 带来 Houdini 风格的程序化建模工作流,可生成岩石、地形瓦片和模块化城市部件,并导出 GLB/OBJ 几何。

推荐理由

comfyui_pcg把程序化建模与生成式工作流接入同一节点图,并提供可编辑几何、纹理投射和导出路径,适合评估其早期实用性。

正文 · 原文

🪨 You can build procedural rocks, terrain tiles and modular city pieces inside ComfyUI, then export actual geometry.

comfyui_pcg brings a Houdini-inspired modelling workflow to the node graph: primitives, attributes, scatter, copy-to-points, loops, image operations and a 3D viewport with transform handles.

The package currently documents more than 400 nodes. Its geometry work runs on the CPU; image nodes can use CUDA through PyTorch. The introductory workflows do not require downloading an AI model.

🛠️ Included examples cover:

▪️ Rock assets with LODs, baked textures and collision geometry.
▪️ A 4×4 tiled world with roads, terrain maps and instance data.
▪️ A modular city kit and material library.
▪️ UV operations and GLB/OBJ export.

The interesting connection to generative workflows comes afterward. You can render depth, normals and IDs from the geometry, feed those into a conditioning workflow, then project a generated image back onto the mesh's UVs.

That gives you an editable structural starting point for image generation and a route back to a textured object.

🧩 This is an independent early release, not SideFX Houdini inside ComfyUI. Some modelling features remain incomplete, including viewport point/face selection. Expressions can also behave differently when a workflow runs headlessly through the API.

Wrangle nodes execute Python on the ComfyUI machine; their guard is not a sandbox, so inspect unfamiliar workflows before running them.

Apache 2.0 code, illustrated documentation and small tutorial graphs make this an approachable place to try procedural modelling alongside AI tools.

github.com/fedrov/comfyui_pcg

#ComfyUI #ProceduralGeneration #3DModeling #TechnicalArt

来源:CuteGuy☣️ · x.com