@bottobot/td-mcp
Version:
TouchDesigner MCP Server v2.8.0 - 21 MCP tools, 629 operators with clean parameter data, 69 Python API classes, 14 tutorials, 32 workflow patterns. Includes version system, experimental techniques KB, core tool enhancements, and experimental build support
1,052 lines • 29.2 kB
JSON
{
"name": "Quantize POP",
"id": "quantize_pop",
"category": "POP",
"subcategory": "Experimental",
"description": "The Quantize POP takes any attribute of its input, quantizes the values to integers or any step size, or it converts values to logical 0 or 1 values, and then outputs the resuting values to the same attribute, any other existing attribute or a new attribute. It operates on either point, vertex or primitive attributes.",
"parameters": [
{
"name": "P",
"label": "Attribute Class",
"description": "Configure Attribute Class for the operator",
"type": "menu",
"options": [
{
"label": "Point",
"value": "point",
"description": ""
},
{
"label": "Vertex",
"value": "vertex",
"description": ""
},
{
"label": "Primitive",
"value": "primitive",
"description": ""
},
{
"label": "1",
"value": "1",
"description": ""
},
{
"label": "2",
"value": "2",
"description": ""
},
{
"label": "3",
"value": "3",
"description": ""
},
{
"label": "4",
"value": "4",
"description": ""
},
{
"label": "Off",
"value": "off",
"description": ""
},
{
"label": "Floor",
"value": "floor",
"description": ""
},
{
"label": "Round",
"value": "round",
"description": ""
},
{
"label": "Ceiling",
"value": "ceiling",
"description": ""
},
{
"label": ">",
"value": "gt",
"description": ""
},
{
"label": ">=",
"value": "gteq",
"description": ""
},
{
"label": "==",
"value": "eq",
"description": ""
},
{
"label": "!=",
"value": "neq",
"description": ""
},
{
"label": "<=",
"value": "lteq",
"description": ""
},
{
"label": "<",
"value": "lt",
"description": ""
},
{
"label": "Automatic",
"value": "auto",
"description": ""
},
{
"label": "Float",
"value": "float",
"description": ""
},
{
"label": "Int",
"value": "int",
"description": ""
},
{
"label": "P",
"value": "P",
"description": ""
},
{
"label": "N",
"value": "N",
"description": ""
},
{
"label": "Color",
"value": "Color",
"description": ""
},
{
"label": "Color.i012",
"value": "Color.i012",
"description": ""
},
{
"label": "Tex",
"value": "Tex",
"description": ""
},
{
"label": "PointScale",
"value": "PointScale",
"description": ""
},
{
"label": "LineWidth",
"value": "LineWidth",
"description": ""
},
{
"label": "float",
"value": "float",
"description": ""
},
{
"label": "double",
"value": "double",
"description": ""
},
{
"label": "int",
"value": "int",
"description": ""
},
{
"label": "uint",
"value": "uint",
"description": ""
},
{
"label": "dir",
"value": "dir",
"description": ""
},
{
"label": "dbl dir",
"value": "ddir",
"description": ""
},
{
"label": "1",
"value": "1",
"description": ""
},
{
"label": "2",
"value": "2",
"description": ""
},
{
"label": "3",
"value": "3",
"description": ""
},
{
"label": "4",
"value": "4",
"description": ""
},
{
"label": "New Attribute Default Value",
"value": "newattrdefaultval1",
"description": ""
},
{
"label": "New Attribute Default Value",
"value": "newattrdefaultval2",
"description": ""
},
{
"label": "New Attribute Default Value",
"value": "newattrdefaultval3",
"description": ""
},
{
"label": "New Attribute Default Value",
"value": "newattrdefaultval4",
"description": ""
},
{
"label": "sRGB",
"value": "srgb",
"description": "sRGB color space, with sRGB transfer function. Considered an SDR color space with respect to Reference White."
},
{
"label": "sRGB - Linear",
"value": "srgblinear",
"description": "Linear srgblinear - sRGB color space, with linear transfer function. Considered an SDR color space with respect to Reference White."
},
{
"label": "Rec.601 (NTSC)",
"value": "rec601ntsc",
"description": "Rec.601 with NTSC primaries color space, with Rec.601 transfer function. Considered an SDR color space with respect to Reference White."
},
{
"label": "Rec.709",
"value": "rec709",
"description": "Rec.709 color space, with Rec.709 (same as Rec.2020) transfer function. Considered an SDR color space with respect to Reference White."
},
{
"label": "Rec.2020",
"value": "rec2020",
"description": "Rec.2020 color space, with Rec.2020 (same as Rec.709) transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "DCI-P3",
"value": "dcip3",
"description": "P3 dcip3 - DCI-P3 color space, with D65 white point and 2.6 gamma transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "DCI-P3 (D60)",
"value": "dcip3d60",
"description": "P3 (D60) dcip3d60 - DCI-P3 \"D60 sim\" color space, with D60 white point, and 2.6 gamma transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "Display-P3 (D65)",
"value": "displayp3d65",
"description": "P3 (D65) displayp3d65 - Display-P3 color space, with D65 white point, and sRGB gamma transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "ACES2065-1",
"value": "aces2065-1",
"description": "1 aces2065-1 - ACES 2065-1 (also known as ACES AP0) color space, with a linear gamma transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "ACEScg",
"value": "acescg",
"description": "ACEScg (also known as ACES AP1) color space, with a linear gamma transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "Passthrough",
"value": "passthrough",
"description": "When selected, the color values will be used as-is in the operation, without any modification or attempt to convert them into the Working Color Space."
},
{
"label": "Default For Color Space",
"value": "default",
"description": "Will use either the SDR or the HDR Reference White, based on the color space selected."
},
{
"label": "Standard (SDR)",
"value": "sdr",
"description": "Will treat the Parameter Color Space as SDR for it's reference white value."
},
{
"label": "High (HDR)",
"value": "hdr",
"description": "Will treat the Parameter Color Space as HDR for it's reference white value."
}
]
},
{
"name": "attrclass",
"label": "Attribute Class",
"description": "Configure Attribute Class for the operator",
"type": "menu",
"options": [
{
"label": "Point",
"value": "point",
"description": ""
},
{
"label": "Vertex",
"value": "vertex",
"description": ""
},
{
"label": "Primitive",
"value": "primitive",
"description": ""
}
]
},
{
"name": "point",
"label": "Point",
"description": "Configure Point for the operator",
"type": "menu",
"options": [
{
"label": "Point",
"value": "point",
"description": ""
},
{
"label": "Vertex",
"value": "vertex",
"description": ""
},
{
"label": "Primitive",
"value": "primitive",
"description": ""
}
]
},
{
"name": "group",
"label": "Group",
"description": "Configure Group for the operator",
"type": "string"
},
{
"name": "inputattrscope",
"label": "Input Attribute Scope",
"description": "Configure Input Attribute Scope for the operator",
"type": "string"
},
{
"name": "parsize",
"label": "Parameter Size",
"description": "Configure Parameter Size for the operator",
"type": "menu",
"options": [
{
"label": "1",
"value": "1",
"description": ""
},
{
"label": "2",
"value": "2",
"description": ""
},
{
"label": "3",
"value": "3",
"description": ""
},
{
"label": "4",
"value": "4",
"description": ""
}
]
},
{
"name": "1",
"label": "1",
"description": "Configure 1 for the operator",
"type": "menu",
"options": [
{
"label": "1",
"value": "1",
"description": ""
},
{
"label": "2",
"value": "2",
"description": ""
},
{
"label": "3",
"value": "3",
"description": ""
},
{
"label": "4",
"value": "4",
"description": ""
}
]
},
{
"name": "quantize",
"label": "Quantize",
"description": "Configure Quantize for the operator",
"type": "menu",
"options": [
{
"label": "Off",
"value": "off",
"description": ""
},
{
"label": "Floor",
"value": "floor",
"description": ""
},
{
"label": "Round",
"value": "round",
"description": ""
},
{
"label": "Ceiling",
"value": "ceiling",
"description": ""
},
{
"label": ">",
"value": "gt",
"description": ""
},
{
"label": ">=",
"value": "gteq",
"description": ""
},
{
"label": "==",
"value": "eq",
"description": ""
},
{
"label": "!=",
"value": "neq",
"description": ""
},
{
"label": "<=",
"value": "lteq",
"description": ""
},
{
"label": "<",
"value": "lt",
"description": ""
}
]
},
{
"name": "off",
"label": "Off",
"description": "Configure Off for the operator",
"type": "menu",
"options": [
{
"label": "Off",
"value": "off",
"description": ""
},
{
"label": "Floor",
"value": "floor",
"description": ""
},
{
"label": "Round",
"value": "round",
"description": ""
},
{
"label": "Ceiling",
"value": "ceiling",
"description": ""
},
{
"label": ">",
"value": "gt",
"description": ""
},
{
"label": ">=",
"value": "gteq",
"description": ""
},
{
"label": "==",
"value": "eq",
"description": ""
},
{
"label": "!=",
"value": "neq",
"description": ""
},
{
"label": "<=",
"value": "lteq",
"description": ""
},
{
"label": "<",
"value": "lt",
"description": ""
}
]
},
{
"name": "quantstep",
"label": "Value Step",
"description": "Configure Value Step for the operator",
"type": "string"
},
{
"name": "quantoffset",
"label": "Value Offset",
"description": "Configure Value Offset for the operator",
"type": "string"
},
{
"name": "quantcompare",
"label": "Value Compare",
"description": "Configure Value Compare for the operator",
"type": "string"
},
{
"name": "castto",
"label": "Cast to",
"description": "Configure Cast to for the operator",
"type": "menu",
"options": [
{
"label": "Automatic",
"value": "auto",
"description": ""
},
{
"label": "Float",
"value": "float",
"description": ""
},
{
"label": "Int",
"value": "int",
"description": ""
}
]
},
{
"name": "auto",
"label": "Automatic",
"description": "Configure Automatic for the operator",
"type": "menu",
"options": [
{
"label": "Automatic",
"value": "auto",
"description": ""
},
{
"label": "Float",
"value": "float",
"description": ""
},
{
"label": "Int",
"value": "int",
"description": ""
}
]
},
{
"name": "outputattrscope",
"label": "Output Attribute Scope",
"description": "Configure Output Attribute Scope for the operator",
"type": "menu",
"options": [
{
"label": "P",
"value": "P",
"description": ""
},
{
"label": "N",
"value": "N",
"description": ""
},
{
"label": "Color",
"value": "Color",
"description": ""
},
{
"label": "Color.i012",
"value": "Color.i012",
"description": ""
},
{
"label": "Tex",
"value": "Tex",
"description": ""
},
{
"label": "PointScale",
"value": "PointScale",
"description": ""
},
{
"label": "LineWidth",
"value": "LineWidth",
"description": ""
},
{
"label": "float",
"value": "float",
"description": ""
},
{
"label": "double",
"value": "double",
"description": ""
},
{
"label": "int",
"value": "int",
"description": ""
},
{
"label": "uint",
"value": "uint",
"description": ""
},
{
"label": "dir",
"value": "dir",
"description": ""
},
{
"label": "dbl dir",
"value": "ddir",
"description": ""
},
{
"label": "1",
"value": "1",
"description": ""
},
{
"label": "2",
"value": "2",
"description": ""
},
{
"label": "3",
"value": "3",
"description": ""
},
{
"label": "4",
"value": "4",
"description": ""
},
{
"label": "New Attribute Default Value",
"value": "newattrdefaultval1",
"description": ""
},
{
"label": "New Attribute Default Value",
"value": "newattrdefaultval2",
"description": ""
},
{
"label": "New Attribute Default Value",
"value": "newattrdefaultval3",
"description": ""
},
{
"label": "New Attribute Default Value",
"value": "newattrdefaultval4",
"description": ""
}
]
},
{
"name": "overrideautoattr",
"label": "Override Automatic Attribute",
"description": "Configure Override Automatic Attribute for the operator",
"type": "string"
},
{
"name": "newattrtype",
"label": "New Attribute Type",
"description": "Configure New Attribute Type for the operator",
"type": "menu",
"options": [
{
"label": "float",
"value": "float",
"description": ""
},
{
"label": "double",
"value": "double",
"description": ""
},
{
"label": "int",
"value": "int",
"description": ""
},
{
"label": "uint",
"value": "uint",
"description": ""
},
{
"label": "dir",
"value": "dir",
"description": ""
},
{
"label": "dbl dir",
"value": "ddir",
"description": ""
}
]
},
{
"name": "float",
"label": "float",
"description": "Configure float for the operator",
"type": "menu",
"options": [
{
"label": "float",
"value": "float",
"description": ""
},
{
"label": "double",
"value": "double",
"description": ""
},
{
"label": "int",
"value": "int",
"description": ""
},
{
"label": "uint",
"value": "uint",
"description": ""
},
{
"label": "dir",
"value": "dir",
"description": ""
},
{
"label": "dbl dir",
"value": "ddir",
"description": ""
}
]
},
{
"name": "attrnumcomps",
"label": "New Attribute Number of Components",
"description": "Configure New Attribute Number of Components for the operator",
"type": "menu",
"options": [
{
"label": "1",
"value": "1",
"description": ""
},
{
"label": "2",
"value": "2",
"description": ""
},
{
"label": "3",
"value": "3",
"description": ""
},
{
"label": "4",
"value": "4",
"description": ""
}
]
},
{
"name": "newattrdefaultval",
"label": "New Attribute Default Value",
"description": "Configure New Attribute Default Value for the operator",
"type": "menu",
"options": [
{
"label": "New Attribute Default Value",
"value": "newattrdefaultval1",
"description": ""
},
{
"label": "New Attribute Default Value",
"value": "newattrdefaultval2",
"description": ""
},
{
"label": "New Attribute Default Value",
"value": "newattrdefaultval3",
"description": ""
},
{
"label": "New Attribute Default Value",
"value": "newattrdefaultval4",
"description": ""
}
]
},
{
"name": "newattrdefaultval1",
"label": "New Attribute Default Value",
"description": "Configure New Attribute Default Value for the operator",
"type": "menu",
"options": [
{
"label": "New Attribute Default Value",
"value": "newattrdefaultval1",
"description": ""
},
{
"label": "New Attribute Default Value",
"value": "newattrdefaultval2",
"description": ""
},
{
"label": "New Attribute Default Value",
"value": "newattrdefaultval3",
"description": ""
},
{
"label": "New Attribute Default Value",
"value": "newattrdefaultval4",
"description": ""
}
]
},
{
"name": "bypass",
"label": "Bypass",
"description": "Configure Bypass for the operator",
"type": "string"
},
{
"name": "delinputattrs",
"label": "Delete Input Attributes",
"description": "Configure Delete Input Attributes for the operator",
"type": "string"
},
{
"name": "parmcolorspace",
"label": "Parameter Color Space",
"description": "Configure Parameter Color Space for the operator",
"type": "menu",
"options": [
{
"label": "sRGB",
"value": "srgb",
"description": "sRGB color space, with sRGB transfer function. Considered an SDR color space with respect to Reference White."
},
{
"label": "sRGB - Linear",
"value": "srgblinear",
"description": "Linear srgblinear - sRGB color space, with linear transfer function. Considered an SDR color space with respect to Reference White."
},
{
"label": "Rec.601 (NTSC)",
"value": "rec601ntsc",
"description": "Rec.601 with NTSC primaries color space, with Rec.601 transfer function. Considered an SDR color space with respect to Reference White."
},
{
"label": "Rec.709",
"value": "rec709",
"description": "Rec.709 color space, with Rec.709 (same as Rec.2020) transfer function. Considered an SDR color space with respect to Reference White."
},
{
"label": "Rec.2020",
"value": "rec2020",
"description": "Rec.2020 color space, with Rec.2020 (same as Rec.709) transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "DCI-P3",
"value": "dcip3",
"description": "P3 dcip3 - DCI-P3 color space, with D65 white point and 2.6 gamma transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "DCI-P3 (D60)",
"value": "dcip3d60",
"description": "P3 (D60) dcip3d60 - DCI-P3 \"D60 sim\" color space, with D60 white point, and 2.6 gamma transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "Display-P3 (D65)",
"value": "displayp3d65",
"description": "P3 (D65) displayp3d65 - Display-P3 color space, with D65 white point, and sRGB gamma transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "ACES2065-1",
"value": "aces2065-1",
"description": "1 aces2065-1 - ACES 2065-1 (also known as ACES AP0) color space, with a linear gamma transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "ACEScg",
"value": "acescg",
"description": "ACEScg (also known as ACES AP1) color space, with a linear gamma transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "Passthrough",
"value": "passthrough",
"description": "When selected, the color values will be used as-is in the operation, without any modification or attempt to convert them into the Working Color Space."
}
]
},
{
"name": "srgb",
"label": "sRGB",
"description": "Configure sRGB for the operator",
"type": "menu",
"options": [
{
"label": "sRGB",
"value": "srgb",
"description": "sRGB color space, with sRGB transfer function. Considered an SDR color space with respect to Reference White."
},
{
"label": "sRGB - Linear",
"value": "srgblinear",
"description": "Linear srgblinear - sRGB color space, with linear transfer function. Considered an SDR color space with respect to Reference White."
},
{
"label": "Rec.601 (NTSC)",
"value": "rec601ntsc",
"description": "Rec.601 with NTSC primaries color space, with Rec.601 transfer function. Considered an SDR color space with respect to Reference White."
},
{
"label": "Rec.709",
"value": "rec709",
"description": "Rec.709 color space, with Rec.709 (same as Rec.2020) transfer function. Considered an SDR color space with respect to Reference White."
},
{
"label": "Rec.2020",
"value": "rec2020",
"description": "Rec.2020 color space, with Rec.2020 (same as Rec.709) transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "DCI-P3",
"value": "dcip3",
"description": "P3 dcip3 - DCI-P3 color space, with D65 white point and 2.6 gamma transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "DCI-P3 (D60)",
"value": "dcip3d60",
"description": "P3 (D60) dcip3d60 - DCI-P3 \"D60 sim\" color space, with D60 white point, and 2.6 gamma transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "Display-P3 (D65)",
"value": "displayp3d65",
"description": "P3 (D65) displayp3d65 - Display-P3 color space, with D65 white point, and sRGB gamma transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "ACES2065-1",
"value": "aces2065-1",
"description": "1 aces2065-1 - ACES 2065-1 (also known as ACES AP0) color space, with a linear gamma transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "ACEScg",
"value": "acescg",
"description": "ACEScg (also known as ACES AP1) color space, with a linear gamma transfer function. Considered an HDR color space with respect to Reference White."
},
{
"label": "Passthrough",
"value": "passthrough",
"description": "When selected, the color values will be used as-is in the operation, without any modification or attempt to convert them into the Working Color Space."
}
]
},
{
"name": "parmreferencewhite",
"label": "Parameter Reference White",
"description": "Configure Parameter Reference White for the operator",
"type": "menu",
"options": [
{
"label": "Default For Color Space",
"value": "default",
"description": "Will use either the SDR or the HDR Reference White, based on the color space selected."
},
{
"label": "Standard (SDR)",
"value": "sdr",
"description": "Will treat the Parameter Color Space as SDR for it's reference white value."
},
{
"label": "High (HDR)",
"value": "hdr",
"description": "Will treat the Parameter Color Space as HDR for it's reference white value."
}
]
},
{
"name": "default",
"label": "Default For Color Space",
"description": "Configure Default For Color Space for the operator",
"type": "menu",
"options": [
{
"label": "Default For Color Space",
"value": "default",
"description": "Will use either the SDR or the HDR Reference White, based on the color space selected."
},
{
"label": "Standard (SDR)",
"value": "sdr",
"description": "Will treat the Parameter Color Space as SDR for it's reference white value."
},
{
"label": "High (HDR)",
"value": "hdr",
"description": "Will treat the Parameter Color Space as HDR for it's reference white value."
}
]
}
],
"experimental": true,
"sourceFile": "Experimental-Quantize_POP.htm",
"parsedAt": "2025-08-08T03:03:59.195Z"
}