ComfyTV/Inputgenerated

Load 3D Model(ModelLoaderStage)

Load 3D Model (class ModelLoaderStage) is an input node in the ComfyTV/Input category.

Model Loader Stage

materials
model
image
model
COMBO
material_bindings
STRING
ComfyTV

Description

Load 3D Model (class ModelLoaderStage) is an input node in the ComfyTV/Input category. It picks a 3D model from the server-side model library, attaches materials to the individual mesh parts of that model, and outputs the assembled asset for use by later stages of a ComfyTV graph.

The node uses a card-style widget in its own body rather than plain combo boxes: a thumbnail dropdown for choosing the model file, and a part-binding UI for mapping each mesh part to a material input slot. Both of those controls write into the node's inputs, so in normal use you configure the node through the card and leave the underlying widgets alone.

Inputs

InputTypeRequiredDefaultDescription
modelCOMBONo""Internal input/3d-relative path of the picked model.
materialsAUTOGROWYes-Set of material inputs, one per material slot used by the model.
material_bindingsSTRINGYes""Internal JSON map of mesh-part key to material input slot.

model

The relative path, under the server's input/3d directory, of the 3D model file to load. The option list is supplied by the server and is presented through the node's thumbnail dropdown, so you normally select a model by browsing the card rather than typing a path. The input is optional and defaults to an empty string, which leaves the node without a selected model until you pick one from the card.

materials

An auto-growing collection of material inputs. Each entry supplies one material that can be assigned to the model's mesh parts. Because the input is an AUTOGROW type, the number of visible material slots expands as you add materials, so a model with several distinct parts can receive a different material per part without a fixed upper limit being declared in advance. This input is required.

material_bindings

A JSON string mapping each mesh-part key to the material input slot that should be applied to it. The value is written by the part-binding UI in the node body and is not intended to be edited by hand; the UI keeps it in sync with the assignments you make on the card. It is required and defaults to an empty string, meaning no parts are bound.

Outputs

OutputTypeDescription
ModelCOMFYTV_MODELThe loaded 3D model with the configured material bindings applied.
ImageCOMFYTV_IMAGEAn image representation of the loaded model, suitable for previews or image-based downstream nodes.

Usage Notes

  • Configure the node from its card: choose the model from the thumbnail dropdown, then bind materials to mesh parts with the part-binding UI. Manually editing model or material_bindings risks breaking the mapping between the card and the stored values.
  • The model list comes from the server, so files must exist in the server-side input/3d directory before they can be selected.
  • Add one material per part before binding; materials grows on demand, and each slot you create becomes available as a target in the part-binding UI.
  • The image output is useful for thumbnail or preview branches, letting you inspect what was loaded without routing the full model through a 3D-aware node.

Comments

Sign in with GitHub to join the discussion.

Loading comments…