Td Pop Familyのロゴ

Td Pop Family

組織
TouchDesigner
td-pop-family

POPネットワーク — パーティクル、geometryCOMPのライフサイクル、フィードバック、フォース、インスタンシング。GPUでポイント操作を構築するときに使います。

概要

公開者TouchDesigner
リポジトリTDMCPSkills
スキル名td-pop-family
スター
42
フォーク
1
同梱ファイル
2
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    TouchDesignerがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Td Pop Family」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/TouchDesigner/TDMCPSkills/tree/main/skills/td-pop-family
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TouchDesigner/TDMCPSkills.git /tmp/TDMCPSkills
mkdir -p .claude/skills
cp -r /tmp/TDMCPSkills/skills/td-pop-family .claude/skills/td-pop-family
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでTd Pop Familyを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にTd Pop Familyを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Td Pop Familyは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

POP Networks

GPU-accelerated point operations. POPs replace SOPs for 3D geometry with massively parallel GPU compute. See reference.md for operator decision tree and attribute reference.

Core Concepts

  • Points with attributes: P (position), N (normal), Color, Tex, custom
  • GPU-resident: all data stays on GPU, downloading to CPU causes stalls
  • Memory model: unmodified input attributes pass by reference (zero-copy)
  • Points alone don't render — need Point Primitives (set Connectivity on generators)
  • Rendering: POPs in geometryCOMPs, rendered by renderTOP. MATs read POP attributes
  • Data sourcing: POPs can exist in any COMP (baseCOMP, etc.) for data extraction without rendering
  • GPU→CPU cost: poptoCHOP and poptoDAT copy data from GPU to CPU — can be heavy for large point counts

geometryCOMP Setup

  1. Create geometryCOMP
  2. Delete auto-created torus immediately
  3. Build POP chain inside, end with nullPOP
  4. Set display=true render=true on output nullPOP
  5. Material: place MAT inside geometryCOMP, reference as ./mat_name. See td-mat-family skill
  6. For instancing: see td-geometry-instancing skill

Feedback Simulation

feedbackPOP has 1 input (reset/initial geometry). Loop back from output null is automatic.

  • Lifecycle: initializepulse (reset) → startpulse (begin playback) → play (pause/resume)
  • particlePOP same lifecycle — also requires initializepulse then startpulse to reset and run
  • Reinit after attribute changes: pulse_parameter with initializepulse then startpulse
  • Conservative initial forces: start low (gravity ~0.1-0.2, damping ~0.98)
  • forceradialPOP planar force — creates soft repulsion, not hard bounces. Use mathmixPOP for floor collision (see reference.md)

GLSL POP

  • glslPOP — default choice, one attribute class, supports multi-pass
  • glsladvancedPOP — only when needed: multi-class read/write, index buffer (I[]), extra outputs. See td-glsl-shaders/glsladvancedPOP.md for buffer allocation, output count control, and pitfalls
  • Set computedat to textDAT name, list output attributes in outputattrs
  • Custom attributes — use the attr sequence: attr0name=color, attr0type=color. GLSL buffer is auto-declared as Color (capital C, matching POP attribute name). Write as Color[idx] = vec4(...). Do NOT manually declare an SSBO — it compiles but writes to an unmapped buffer
  • Attribute must exist before writing — outputattrs only grants write access to attributes that already exist on the points. To write a new attribute: either create it with the attr sequence on the glslPOP itself, or place an attributePOP upstream to initialize it. Then list it in outputattrs explicitly
  • writeonly caveat — with default outputaccess=writeonly, attributes listed in outputattrs that aren't written in the shader may get zeroed
  • TDPerlinNoise() NOT available — write custom noise or use sampler input
  • Multi-pass: Passes=N, prevPassOutput=ON for iterative solvers
  • vec not const for uniforms — const sequence recompiles shader on every value change. Use vec for runtime parameters (see td-glsl-shaders skill)
  • Prefer built-in POPs over trivial glslPOP — operations like texture lookup + math (abs, multiply, add) can use lookuptexturePOP → mathmixPOP chain instead of custom GLSL

Common Patterns

  • Basic point cloud: gridPOP → noisePOP → nullPOP
  • Particle sim: sourcePOP → feedbackPOP → [forces] → nullPOP
  • Built-in particles: pointgeneratorPOP → particlePOP → [forces/bounce] → nullPOP
  • Spatial interaction: neighborPOP adds Nebr/NumNebrs for flocking/collision
  • SOP conversion: soptoPOP → attributePOP → nullPOP
  • Copy/instance: copyPOP (simple) or glslcopyPOP (custom per-copy transform, see below)

GLSL Copy POP

glslcopyPOP copies source geometry N times with a custom GLSL transform per copy. See reference.md for full shader API.

  • Inputs: input 0 = source geometry, input 1 = template points (optional, determines copy count)
  • Shader in docked DAT only — write to <name>_ptCompute, never a separate textDAT (TDCopyIndex breaks). Delete unused _vertCompute and _primCompute docked DATs if not writing vert/prim shaders
  • Key functions: TDCopyIndex(), TDTemplate_P(), TDTemplate_AttribName(), TDIn_P()

Attributes

  • See reference.md for full attribute list (reserved, common, particlePOP-specific)
  • Component access: P.x, P.y, P.z (preferred) or P(0), P(1), P(2). Use .x/.y/.z for readability
  • User-defined: lowercase first letter to avoid conflicts with Derivative attrs
  • Debug values: inspect_values(path) returns pointAttributes[name].values — sampled point values per attribute. max_points=100 default (cap 10000), even-spaced stride when over cap. attributes=["P","Cd"] to filter. Type strings: float3, int, float (TD doesn't expose color/dir semantics — infer from name)

Pitfalls

  • Locked nullPOP breaks POP cook loops — cachePOPs keep cooking even when active=false, creating dependency loops in iterative POP pipelines. Place a nullPOP after the cachePOP and lock it (op.lock = True). The locked null holds stable geometry and breaks the cook chain. See td-glsl-shaders/glsladvancedPOP.md for the full cache feedback pattern
  • Default torus not deleted — renders instead of your chain
  • No display/render flags on output null — nothing renders
  • feedbackPOP not reinitialized after attribute changes — stale attribute schema
  • Avoid SOPs inside geometryCOMPs — use POP equivalents (spherePOP not sphereSOP)
  • copyPOP too heavy — N vertices × M particles. Use instancing instead for many copies
  • GPU download stalls — use delayed=True in Python for POP data access
  • lookuptexturePOP defaults wrong — lookupindexattr0/1 default to P(0)/P(1) (world position), NOT Tex(0)/Tex(1). Explicitly set to Tex coords when sampling by UV
  • normalPOP tangents for PBR — set tang=alwayscompute when using pbrMAT. Without tangents, PBR lighting fails
  • Point vs vertex attributes for materials — glslPOP writes point attributes. pbrMAT/phongMAT read Tex as vertex attributes. Use attributeconvertPOP (convertop=pointtovert, inputattrs=Tex) to convert before the output null. Also disable spherePOP's built-in vertex Tex (texture=none) to avoid conflicts
  • mathmixPOP/mathcombinePOP sequences start empty — vec/comb sequence pars don't exist until you add blocks: n.par.comb.sequence.numBlocks = 2. Must do this before setting comb0oper etc. Also combNscopea/b/result stay disabled until that block's combNoper is set — set opers first, scopes in a second pass
  • forceradialPOP Global Force multiplier defaults to 0 — globforce* values do nothing until globforcemult is set (e.g. gravity: globforcey=-6, globforcemult=1). Same trap with windspeed*/windspeedmult
  • rectanglePOP size is sizeu/sizev, NOT sizex/y/z/w despite get_help showing those as components. Setting sizex silently does nothing. Same U/V naming on other 2D primitives with UV semantics — always verify live pars with get_parameters(include_defaults=true) before trusting get_help's components list
  • POP render color attr = Color (float4), NOT Cd — SOP→POP trap. attributePOP value params are attr0value0..3. constantMAT applypointcolor=1 renders point AND primitive Color
  • Filled POP geometry invisible from one side — set MAT cullface=neither; default backface-culls primitives whose winding faces away

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Td Pop Family」では何ができますか?

POPネットワーク — パーティクル、geometryCOMPのライフサイクル、フィードバック、フォース、インスタンシング。GPUでポイント操作を構築するときに使います。

TypingMindでTd Pop Familyを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Td Pop Familyはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにTd Pop Familyをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/TouchDesigner/TDMCPSkills/tree/main/skills/td-pop-familyを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Td Pop Familyを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Td Pop Familyで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもTd Pop Familyを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Td Pop Family」は無料ですか?

TouchDesignerがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇