Nodes/Avatar Graph/Object Multires Unsubdivide
ComfyUI Node

Object Multires Unsubdivide

Stripping a subdivision level back off in Avatar Graph

By avatechai·Created 3 years ago·Updated 2 years ago· 264
Object Multires Unsubdivide
  • BPY_OBJ
  • BPY_OBJ
modifier

This is a niche node for a specific situation: you've got an object carrying a Multiresolution modifier - the one that stacks sculptable subdivision levels on top of a base mesh - and you want to reduce it by one level without simply throwing away the detail sculpted at the higher levels. Object Multires Unsubdivide does the algorithmic reverse of subdividing: it reconstructs a coarser base mesh from the current one.

How it works

This wraps Blender's object.multires_unsubdivide operator, which only does anything meaningful if the target object already has a Multires modifier with at least one subdivision level applied. Rather than deleting a level and losing whatever was sculpted there, it works backward through the topology to infer a lower-resolution version, folding detail back down a level rather than discarding it outright. It's the operator Blender itself warns can behave unpredictably on meshes that weren't cleanly subdivided to begin with - geometry generated by other nodes in this pack (segmentation-derived meshes, remeshed output) doesn't always have the tidy, evenly-subdivided topology this operation expects, so results can vary more here than they would on a mesh you built by hand from a simple base shape.

The inputs and outputs that matter

  • BPY_OBJ - the object to operate on. It needs an existing Multires modifier for this to do anything.
  • modifier - a string, empty by default. If the object has more than one Multires modifier (uncommon, but possible), this lets you name which one to target instead of relying on whichever is active.

Output is a single BPY_OBJ, the same object with one multires level removed.

How to install it

ComfyUI Manager, search "Avatar Graph" and install, or manually:

cd ComfyUI/custom_nodes
git clone https://github.com/avatechai/avatar-graph-comfyui

then pip install -r requirements.txt and restart. Needs Blender's bpy module, which ships only for Python 3.10.x - a dedicated conda environment on macOS/Linux, or Avatech's prebuilt Python-3.10 ComfyUI zip on Windows with the pack installed through Manager on top of it.

Common issues & troubleshooting

If the node loads but appears to do nothing, the most likely cause is that the object it received doesn't actually have a Multires modifier - this operator has nothing to reverse without one, and it won't add subdivision structure that isn't already there. Check whatever node upstream was supposed to apply a Multires modifier actually ran and produced the object you think it did.

Beyond that, a general bpy import failure at startup is the pack's Python-version pin, not this node specifically - confirm a clean Python 3.10.x environment with requirements.txt installed cleanly. And if the result comes out looking noisier or more distorted than expected, that's consistent with Blender's own documented behavior for this operator on meshes that weren't evenly subdivided in the first place - there isn't a clean fix beyond starting from geometry with more regular topology if you need a reliably clean unsubdivide.

Categoryblender

Inputs (2)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ
modifieroptSTRING

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ