Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

1.5 KB
Raw Blame
{
  "id": "mesh-smoother",
  "name": "Mesh Smoother",
  "type": "process",
  "entry": "processor.py",
  "version": "1.0.0",
  "author": "three.ws Forge",
  "description": "Smooths mesh vertices to reduce sharp artifacts (e.g. zipper triangles from AI-generated meshes) using Taubin smoothing.",
  "nodes": [
    {
      "id": "smooth",
      "name": "Smooth",
      "input": "mesh",
      "output": "mesh",
      "params_schema": [
        {
          "id": "iterations",
          "label": "Iterations",
          "type": "int",
          "default": 5,
          "min": 1,
          "max": 50,
          "tooltip": "Number of smoothing passes. More iterations = smoother result but may lose fine details."
        },
        {
          "id": "lambda_",
          "label": "Smoothing Strength",
          "type": "float",
          "default": 0.5,
          "min": 0.1,
          "max": 1.0,
          "step": 0.05,
          "tooltip": "Controls how far each vertex moves toward its neighbours per iteration. Lower = more conservative."
        },
        {
          "id": "mode",
          "label": "Mode",
          "type": "select",
          "default": "taubin",
          "options": [
            { "value": "taubin",    "label": "Taubin (volume-preserving)" },
            { "value": "laplacian", "label": "Laplacian (stronger, may shrink)" }
          ],
          "tooltip": "Taubin alternates positive/negative steps to prevent mesh shrinkage. Laplacian is simpler but tends to shrink the mesh over many iterations."
        }
      ]
    }
  ]
}