๐ท Subdivide Mesh (RDAWG)
Add detail to a mesh without losing the shape
- mesh
- subdivided_mesh
- info
A low-poly mesh is fine for a game engine, but it renders like a jewel and smooths like sandpaper. RDAWG3DSubdivideMesh is the pack's mesh-upscaling node: it subdivides triangles into more triangles, giving you a denser surface to work with. You'd reach for it when a mesh is too coarse to render smoothly, to prep geometry for smoothing or remeshing, or just to give an analysis node more to chew on.
It's the mirror image of Simplify Mesh - one cuts triangles, the other grows them. Both are about making a mesh match the job.
How it works
Two subdivision schemes from Open3D, applied subdivisions times in a row:
- loop (default) - Loop subdivision: each triangle splits into four, with new vertices placed along the edges using a smoothing scheme. The result is a denser and rounder surface - it's an approximation, so sharp edges soften. Great for organic shapes.
- linear - midpoint subdivision: each triangle splits into four with new vertices exactly at edge midpoints. The count goes up but the geometry doesn't round off, so it preserves the original shape while giving you more triangles. Better for mechanical/angular work where you don't want the shape to drift.
Each pass quadruples the triangle count, so one subdivision turns a 10k-triangle mesh into 40k, and two passes into 160k. That growth is exponential and it's the main thing to watch.
The inputs that matter
- subdivisions - 1 to 4, default 1. One is usually plenty; two if you need serious density. Past two, you're burning memory for a mesh you'll likely simplify again.
- method -
loopfor smooth/organic,linearto keep the shape crisp.
Outputs: subdivided_mesh (MESH) and info (STRING) with before/after vertex and face counts.
A natural pair: Subdivide โ Smooth. Subdivide to get density, then Taubin-smooth to clean up the facets - or just use loop, which smooths as it subdivides.
Install
Part of the RDAWG 3D Pack. ComfyUI Manager (search "RDAWG 3D Pack (CUDA 12.8 + PyTorch 2.9.0)") or:
cd ComfyUI/custom_nodes
git clone https://github.com/rdawgemfl/rdawg_3D_pack
cd rdawg_3D_pack
python install.py
Open3D 0.19.0+ required at import (pip install open3d>=0.19.0, or python download_open3d.py on Windows). Python 3.11 recommended. Mind the installer's torch 2.9.0+cu128 pin if you already have a working install.
Where people get burned
- Triangle explosion - 4x per pass, compounded. Two or three subdivisions on a big mesh can take you into millions of triangles and stall the graph. Check the info output and step back if needed.
- Sharp edges melting - that's Loop doing its job. If you need hard edges, use
linear, or subdivide and then work carefully with Smooth. - Subdividing a mesh you're about to simplify - it happens. Don't subdivide and simplify in the same pass; pick the density you actually need.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| mesh | MESH | โ | |
| subdivisions | INT | 11โ4 | โ |
| method | COMBO | loop | 2 options: linear, loop |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| subdivided_mesh | MESH | โ |
| info | STRING | โ |