Skillpedia
برمجة عامة48k · #4683

3d-games

ما الذي تفعله

يساعد هذا الوكيل على فهم المبادئ الأساسية لإنشاء ألعاب ثلاثية الأبعاد. يشرح كيف يُرسم المشهد على الشاشة، وكيف تُنشأ التأثيرات البصرية باستخدام «المظللات» (shaders)، وكيف تُحاكى الفيزياء والتصادمات، وكيف تعمل الكاميرات والإضاءة.

متى تستخدمها

  • ✓عندما تتعلم تطوير الألعاب ثلاثية الأبعاد.
  • ✓عندما تريد فهم طريقة إنشاء رسوم الألعاب.
  • ✓عندما تحسّن أداء لعبة ثلاثية الأبعاد.

رابط المهارة

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/game-development/3d-games/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/game-development/3d-games/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“كيف تعمل عملية عرض الرسوم ثلاثية الأبعاد في اللعبة؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تشرح المهارة خطوات عملية العرض، من تحويل الأجسام حتى عرضها على الشاشة. كما تشرح تقنيات تجعل الألعاب أسرع وأكثر جاذبية بصرياً.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

3D Game Development

Principles for 3D game systems.


1. Rendering Pipeline

Stages

1. Vertex Processing → Transform geometry
2. Rasterization → Convert to pixels
3. Fragment Processing → Color pixels
4. Output → To screen

Optimization Principles

Technique Purpose
Frustum culling Don't render off-screen
Occlusion culling Don't render hidden
LOD Less detail at distance
Batching Combine draw calls

2. Shader Principles

Shader Types

Type Purpose
Vertex Position, normals
Fragment/Pixel Color, lighting
Compute General computation

When to Write Custom Shaders

  • Special effects (water, fire, portals)
  • Stylized rendering (toon, sketch)
  • Performance optimization
  • Unique visual identity

3. 3D Physics

Collision Shapes

Shape Use Case
Box Buildings, crates
Sphere Balls, quick checks
Capsule Characters
Mesh Terrain (expensive)

Principles

  • Simple colliders, complex visuals
  • Layer-based filtering
  • Raycasting for line-of-sight

4. Camera Systems

Camera Types

Type Use
Third-person Action, adventure
First-person Immersive, FPS
Isometric Strategy, RPG
Orbital Inspection, editors

Camera Feel

  • Frame-rate-independent smoothing; test camera collision and teleports
  • Collision avoidance
  • Look-ahead for movement
  • FOV changes for speed

5. Lighting

Light Types

Type Use
Directional Sun, moon
Point Lamps, torches
Spot Flashlight, stage
Ambient Base illumination

Performance Consideration

  • Real-time shadows are expensive
  • Bake when possible
  • Shadow cascades for large worlds

6. Level of Detail (LOD)

LOD Strategy

Distance Model
Near Full detail
Medium Reduced detail based on measured visual error
Far Low-detail mesh or billboard when visually appropriate

7. Anti-Patterns

❌ Don't ✅ Do
Mesh colliders everywhere Simple shapes
Real-time shadows on mobile Baked or blob shadows
One LOD for all distances Distance-based LOD
Unoptimized shaders Profile and simplify

Remember: 3D is about illusion. Create the impression of detail, not the detail itself.

When to Use

Use when implementing or profiling a 3D rendering pipeline, shaders, colliders, cameras, lighting or level-of-detail transitions.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Verification

Treat tables as design starting points, not guarantees. Prototype the selected mechanic, test accessibility and recovery paths, and measure frame timing, memory and behavior on target hardware before claiming completion. Store submission and licensing requirements must be checked against current official platform documentation.

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

ما هو «rendering pipeline»؟

هو المسار الذي تمر به بيانات اللعبة ثلاثية الأبعاد لتتحول إلى صورة تراها على الشاشة، عبر مراحل مثل معالجة الرؤوس وتلوين البكسلات.

ما هي «shaders»؟

هي برامج صغيرة تتحكم في طريقة رسم الأجسام ثلاثية الأبعاد، فتحدد الألوان والملمس وتأثيرات الإضاءة، وتتيح مظاهر مميزة مثل الماء والنار والرسوم الكرتونية.

لماذا تُستخدم أشكال بسيطة لكشف التصادمات بدلاً من النماذج المعقدة؟

استخدام أشكال بسيطة مثل المكعبات أو الكرات لكشف التصادمات أسرع وأكفأ بكثير للحاسوب، مما يتيح للعبة أن تعمل بشكل أفضل، حتى لو بدت الأجسام معقدة بصرياً.

التفاصيل

الوصف الأصلي من المؤلف

3D game development principles. Rendering, shaders, physics, cameras.

repo: sickn33/agentic-awesome-skills

الشعبية

نجوم GitHub
48k
الترتيب
#4683
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة