开源项目 PCG-AI 发布 PICG 框架,智能体可编辑程序化节点图生成三维资产
开源项目 PCG-AI 发布 PICG 框架,用可移植的 .pcg 节点图保存程序化三维资产,图内包含几何基本体与样条、布尔与倒角、地形高度场、散布实例化、材质 UV、子图和参数种子。
PICG 把程序化资产存成可移植 .pcg 图,并暴露 MCP 让智能体直接编辑节点图,读者可据此判断生成资产能否保留可编辑结构。
An AI agent can now build procedural 3D assets by editing real node graphs, not just generating a finished mesh that you can't easily change. 🧱
Meet PICG (Procedural Intelligent Content Generation), the framework behind the open-source PCG-AI project.
Its goal is to make procedural 3D content reusable across game engines while keeping the underlying construction process editable.
🧠 The key idea: the graph is the source of truth.
Instead of saving only an exported model, PICG stores an asset as a portable .pcg graph.
That graph can contain:
▪️ Geometric primitives and splines.
▪️ Boolean operations and bevels.
▪️ Terrain and heightfields.
▪️ Scattering and instancing.
▪️ Materials and UVs.
▪️ Reusable subgraphs.
▪️ Parameters, seeds, and component metadata.
Change the graph, and the asset can be rebuilt.
🤖 AI agents can manipulate the actual graph.
PICG exposes a local MCP server.
Compatible agents such as Codex and Cursor can:
▪️ Inspect available nodes.
▪️ Create and connect new operations.
▪️ Modify parameters.
▪️ Validate the graph.
▪️ Execute geometry generation.
▪️ Capture a preview.
▪️ Save the final procedural asset.
The agent works on the same graph visible in the editor.
🎮 What can it create?
The official examples include:
▪️ Buildings generated from city lots.
▪️ A procedural wooden cabin.
▪️ A spiral staircase.
▪️ Terrain with erosion and noise.
▪️ Hard-surface props and equipment.
The native execution engine is written in C++17, while the visual editor uses React and Three.js.
🧩 It can also use generative AI models.
PICG integrates optional Meshy and Tripo operations.
For example, you can generate a reference mesh from an image, then use procedural nodes for further editing and assembly.
Cloud generation calls are explicit and cached, reducing accidental repeat charges.
💻 Current platform support
▪️ Web editor: Available.
▪️ Unity integration: Available.
▪️ Unreal Engine: Planned.
▪️ Blender: Planned.
▪️ Godot: Planned.
The Unity runtime currently uses a same-machine sidecar service, rather than a completely standalone procedural runtime.
⚠️ Important distinction
PICG is not itself a new image-to-3D neural model.
It combines deterministic procedural construction with optional external AI services.
The bigger idea is turning AI-generated assets into reproducible, editable systems rather than disposable meshes.
GitHub:
github.com/DJ-Huang/PCG-AI
#ProceduralGeneration #Unity #MCP #GameDev
来源:CuteGuy☣️ · x.com