شعار Td Pop Family

Td Pop Family

مؤسسة
TouchDesigner
td-pop-family

شبكات POP — الجسيمات ودورة حياة geometryCOMP والتغذية الراجعة والقوى والإنشاء المتكرر. استخدمها عند إنشاء عمليات نقاط على GPU.

نظرة عامة

الناشرTouchDesigner
المستودعTDMCPSkills
اسم المهارةtd-pop-family
النجوم
42
التفريعات
1
الملفات المرفقة
2
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 2

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها TouchDesigner على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Td Pop Family في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/TouchDesigner/TDMCPSkills/tree/main/skills/td-pop-family
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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

فعّل Td Pop Family في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Td Pop Family تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Td Pop Family بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف 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

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Td Pop Family؟

شبكات POP — الجسيمات ودورة حياة geometryCOMP والتغذية الراجعة والقوى والإنشاء المتكرر. استخدمها عند إنشاء عمليات نقاط على GPU.

لماذا تستخدم Td Pop Family على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Td Pop Family عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Td Pop Family في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/TouchDesigner/TDMCPSkills/tree/main/skills/td-pop-family. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Td Pop Family؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Td Pop Family؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Td Pop Family معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Td Pop Family مجانية؟

نشرها TouchDesigner على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇