/tdmcp-skills:td-geometry-instancingfrom TDMCP Skills
Configures geometryCOMP instancing in TouchDesigner: data sources (CHOP/DAT/TOP/POP), transforms, rotation-to-vector, color, and texture per instance.
Ships in TDMCP Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Render one piece of geometry many times with per-instance transforms, colors, and textures via geometryCOMP instancing.
instanceop accepts any operator family — pick based on data characteristics:
instancefirstrow=namesnullPOP and reference point attributes with P(0)/P(1)/P(2) (position), attrib_name(i), etc. No poptoCHOP round-trip, no GPU→CPU cost. e.g. instancetop=null_positions, instancetx=P(0), instancety=P(1), instancetz=P(2)Split sources: instancetop (translate), instancerop (rotate), instancesop (scale). instanceop is the default fallback. Each accepts a POP directly — use P(n)/attrib syntax in the channel selectors.
instancing = true, instanceop = data source OPinstancecountmode = oplength (auto-detect, default)instancefirstrow = names for DAT headers. Must be lowercaseinstanceactive — per-instance on/off channelEach group has an OP override + X/Y/Z channel selectors:
instancetop, instancetx/ty/tzinstancerop, instancerx/ry/rzinstancesop, instancesx/sy/szinstancepop, instancepx/py/pzinstancerottoop, instancerottox/y/zinstancerotupop, instancerotupx/y/zinstxord (default: SRT), instrord (default: rx ry rz = intrinsic xyz)Channel selectors map to CHOP channel names or DAT column headers.
Orient instances along a direction vector instead of Euler angles.
instancerottoforward — local axis to align. Default -Z. Set posy for tubes/cylindersinstancerottoorder — rottoxform (default), rotaterotto, rottorotateinstancerottoop + instancerottox/y/z — direction sourceinstancerotupop + instancerotupx/y/z — up vector (needed when direction is co-linear with default up)Scale caveat: instancesy may not apply correctly in all instancerottoorder modes. Fall back to Euler angles if needed.
To align Y-axis geometry (tube) with direction (dx, dy, dz), with default instrord (intrinsic xyz):
rx = atan2(dz, sqrt(dx² + dy²)), ry = 0, rz = atan2(-dx, dy)Changing instrord changes which formula is correct. Use functionCHOP(atan2) + mathCHOP(chanop=len) for compiled computation.
instancecolorop + instancer/g/b/a, instancecolormode = none/op/constantinstancetexcoordop + instanceu/v/w, instancetexs (TOP array), instancetexindexop + instancetexindexinstanceop, instancefirstrow=namesinstanceopinstancetop/instanceop, channels P(0)/P(1)/P(2). No poptoCHOPinstanceop (only if channels needed elsewhere)instanceop, pixel data drives transformsinstancefirstrow not set — first row treated as header or vice versa"Names" silently becomes wrong entryinstanceop — no data source = no instances../sibling won't work. Use parent shortcut expressions: {"expr": "parent.Shortcut.op('chop_name')"}What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
touchdesigner, geometry-instancing, instanceop, pop-instancing
npx claudepluginhub touchdesigner/tdmcpskills --plugin tdmcp-skills19 skills in this plugin
/td-build-planningPlan TouchDesigner builds — scout networks, decide operators, allocate positions, phase work. Use before any multi-operator build./td-chop-familyBuild CHOP chains for audio, LFOs, animation, and data-driven control. Use when creating CHOPs or driving parameters from CHOPs./td-colabCollaborative mode — you're a thinking partner in TouchDesigner, not a builder. Load when you're sliding into auto-building or need to reset the collaborative frame./td-comp-architectureComponent design — baseCOMPs, extensions, custom parameters, parent shortcuts, modularity. Use when creating COMPs or structuring projects./td-dat-familyDAT operations — table data, Python callbacks, parameter execute, CHOP execute. Use when creating or populating any DAT./td-generalCore TouchDesigner conventions and the skill map — workflow phases, naming, paths, tool preferences, universal pitfalls. Load FIRST on any TouchDesigner task, before any other td- skill.Other plugins' skills for the same job