Skillpedia
الحركة والرسوم المتحركة75k · #2694

threejs-world-generation

ما الذي تفعله

هذه المهارة توجّه إنشاء عوالم ثلاثية الأبعاد في المتصفح، فيها تضاريس وبيئات ومسارات كاميرا. وهي موجهة لمن يصنع بيئات سينمائية ثلاثية الأبعاد ويريد عالمًا قابلًا للتحرير بدلًا من لقطات مسطحة.

متى تستخدمها

  • ✓عندما تريد بيئة ثلاثية الأبعاد، مثل منظر طبيعي تتحرك فيه الكاميرا.
  • ✓عندما تحتاج إلى عالم قابل للتكرار بمعالم وتضاريس ثابتة.
  • ✓عندما تخطط لتحسين عالم من أجل تصيير عالي الجودة باستخدام سير عمل أصول الإنتاج.

رابط المهارة

https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/threejs-world-generation/SKILL.md

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

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

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

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

استخدم هذه المهارة لمساعدتي: https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/threejs-world-generation/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

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

“ابنِ وادياً ثلاثي الأبعاد فيه نهر وقرية، وحلّق بالكاميرا عبره.”

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

كيف تعمل

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

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

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

Three.js World Generation

For production meshes and Blender assembly, also read 3d-asset-generation. Three.js remains the semantic interactive/blockout renderer; Blender is the production renderer when the brief calls for dense reference-grade scenery.

The production handoff must include target dimensions for imported assets, semantic scatter exclusion zones, terrain-following water/path geometry, landmark visibility policy, camera clearance, and global/regional/walk review frames. These are world-spec contracts, not manual Blender cleanup notes.

Create a persistent scene graph, not a sequence of unrelated 2D shots. Preserve the user's explicit constraints, infer missing construction details separately, establish the global terrain first, and refine selected regions without disturbing the world-wide spatial contract.

Choose the fidelity tier explicitly

  • blockout: procedural primitives, vertex colors, semantic/layout validation, fast iteration. Never call this production-quality, reference-grade, or visually equivalent to WorldClaw.
  • production: licensed local GLTF/GLB catalogs, a minimum eight-model palette across four semantic categories, three PBR terrain layers, asset provenance, walk-level repetition review, and no primitive landmark fallback.

For a hero video or any reference showing populated textured environments, use production. If its catalog/material/provider requirements cannot be met, stop at preflight or the asset gate. Do not render a blockout as the final deliverable.

Read first

  • Read references/worldclaw-principles.md when planning or explaining the coarse-to-fine method.
  • Read references/world-spec.md before authoring a world_spec or calling threejs_world.
  • Read hyperframes-core, hyperframes-animation, and hyperframes-animation/adapters/three.md before editing the emitted workspace.
  • Read threejs-loaders, threejs-materials, threejs-textures, threejs-lighting, and threejs-postprocessing for production-tier work.

Route the request

  • Use the animation pipeline for design-led, explanatory, abstract, or music-led world films.
  • Use the cinematic pipeline for trailer-like mood, dramatic reveals, or source-plus-world edits.
  • Choose HyperFrames when the deliverable is the code-native Three.js world. Choose Blender for reference-grade hero rendering and FFmpeg only to package Blender's numbered frames and approved audio. Record that choice at proposal; do not silently switch after approval.
  • Keep this as a capability inside existing pipelines. Do not create a new pipeline merely because a scene is 3D.

Workflow

1. Separate intent from completion

Record two lists before planning:

  • explicit_constraints: only facts the user supplied.
  • inferred_details: scale, region coverage, terrain operators, densities, palette refinements, and camera details added to make the world executable.

Never smuggle an inferred landmark, biome, or story beat into the explicit list.

2. Plan globally

Author one shared world_spec containing:

  • world scale, terrain resolution, elevation range, and seed;
  • semantic regions with normalized centers, radii, landform operators, palette, and scatter recipes;
  • atmosphere and lighting shared across all regions;
  • explicit landmarks with stable IDs and world-space placement;
  • a complete camera path with time, position, target, and field of view.

Prefer 3-7 regions. Each region must contribute a distinct silhouette, surface read, or functional role.

3. Build the terrain foundation

For production, first call threejs_asset_catalog to install rights-safe catalogs under projects/<id>/assets/3d/catalogs/<catalog-id>/. Record source, license, archive hash, model inventory, and every selected model in the asset manifest. Then call threejs_world with quality_tier: "production" and the installed catalog paths.

from tools.graphics.threejs_world import ThreeJSWorld

result = ThreeJSWorld().execute({
    "operation": "build",
    "world_spec": world_spec,
    "output_path": "projects/<id>/hyperframes",
    "duration_seconds": 60,
    "render_mode": "cinematic",
    "quality_tier": "production",
    "asset_catalog_paths": ["projects/<id>/assets/3d/catalogs/kenney-nature-kit"],
})

Treat world.json, world-spec.js, world-runtime.js, and world-report.json as editable assets. Do not flatten them into a video until the assets

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

هل تنتج مشاهد بجودة الصورة الفوتوغرافية فورًا؟

لا. تنص المهارة على أن وضع blockout مخصص لفحوص التخطيط السريعة وليس بجودة الإنتاج، أما وضع الإنتاج فيحتاج إلى نماذج ثلاثية مرخصة.

هل أستطيع تغيير العالم بعد إنشائه؟

نعم. تصف المهارة العالم بأنه قابل للتحرير، مع بنية مشهد متسقة تبقى ثابتة.

ماذا يحتاج وضع الإنتاج؟

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

التفاصيل

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

Build deterministic, editable, free-viewpoint Three.js worlds from text or structured briefs. Use for cinematic 3D terrain, semantic regions, procedural biomes, explicit landmarks, environmental scattering, camera fly-throughs, world diagnostics, or requests for a real 3D environment rather than generated 2D footage. Integrates OpenMontage's threejs_world tool with HyperFrames; do not use for a single isolated 3D object or a flat parallax scene.

repo: calesthio/OpenMontage

الشعبية

نجوم GitHub
75k
الترتيب
#2694
الترخيص
AGPL-3.0
آخر تحديث
28‏/10‏/2026

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

0

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

التعليقات

  • …

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

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