web-3d-asset-pipeline

bởi openai

Chuẩn bị và tối ưu hóa tài sản 3D cho game trình duyệt. Sử dụng khi người dùng yêu cầu công việc xuất GLB hoặc glTF, bao gồm dọn dẹp và xuất trong Blender, va chạm hoặc LOD…

npx skills add https://github.com/openai/plugins --skill web-3d-asset-pipeline

Web 3D Asset Pipeline

Overview

Use this skill for shipped 3D assets, not runtime scene code. The default output format for browser 3D work in this plugin is GLB or glTF 2.0. The goal is predictable runtime assets, not whatever the DCC tool happened to export first.

This guidance is engine-agnostic and can serve Three.js, React Three Fiber, Babylon.js, or PlayCanvas.

Use This Skill When

  • the task is about GLB or glTF shipping format
  • the task is about model cleanup, texture packaging, compression, LOD, or collision proxies
  • the runtime stack is already chosen and the remaining problem is asset quality or size

Do Not Use This Skill When

  • the task is about scene, camera, renderer, or game-loop structure
  • the task is purely about React versus vanilla Three.js routing
  • the user is still deciding between runtime engines

Default Pipeline

  1. Author and clean the source asset in a DCC tool such as Blender.
  2. Export to GLB or glTF 2.0.
  3. Optimize with glTF Transform.
  4. Validate naming, pivots, transforms, material reuse, and texture budgets.
  5. Add collision proxies, LOD strategy, and baked-lighting assumptions as needed.
  6. Ship the optimized asset and load it with engine-native GLTF support.

Format Rules

  • Default shipping format: GLB or glTF 2.0.
  • Do not treat FBX, OBJ, or DCC-native formats as the long-term runtime contract.
  • Apply or normalize transforms before shipping.
  • Keep units, pivots, and orientation conventions consistent across the whole asset set.

Optimization Rules

  • Use glTF Transform for pruning, deduplication, simplification, and packaging.
  • Use geometry compression intentionally.
    • Draco is a valid option when decode cost and compatibility fit the runtime.
    • Meshopt is often a strong default for web delivery.
  • Compress textures deliberately.
    • Use KTX2 or BasisU when the runtime stack supports it.
    • Use WebP or AVIF where they make sense in the broader asset pipeline.
  • Reuse materials and textures where possible to cut memory and draw-call cost.

Runtime-Ready Asset Rules

  • Keep model hierarchy names stable and meaningful.
  • Set pivots and origins for gameplay interaction, not just for DCC convenience.
  • Author explicit collision proxies for physics-heavy scenes.
  • Decide whether lighting is dynamic, baked, or hybrid before final export.
  • Plan LODs for large environments or repeated props.
  • Keep texture resolution proportional to on-screen use, not source-art ambition.

Common Failure Modes

  • Shipping raw DCC exports without cleanup
  • Too many unique materials
  • Texture sizes far above visible need
  • Missing collision proxies
  • Scale or pivot mismatches between assets
  • Runtime code compensating for asset mistakes that should be fixed upstream

References

  • Three.js stack: ../../references/threejs-stack.md
  • React Three Fiber stack: ../../references/react-three-fiber-stack.md
  • GLB loader starter: ../../references/gltf-loading-starter.md
  • Rapier starter: ../../references/rapier-integration-starter.md
  • 3D asset pipeline reference: ../../references/web-3d-asset-pipeline.md
  • Alternative engines: ../../references/alternative-3d-engines.md

Thêm skills từ openai

release
openai
Cắt một bản phát hành Symphony bằng cách tăng phiên bản đã cam kết, đưa nó vào, gắn thẻ commit đã hợp nhất, và xác minh quy trình phát hành Burrito. Sử dụng khi được yêu cầu…
signing-entitlements
openai
Kiểm tra các vấn đề về chứng thực, quyền hạn, hardened runtime và Gatekeeper cho ứng dụng macOS. Sử dụng khi được yêu cầu chẩn đoán lỗi ký mã, thiếu quyền hạn,…
building-ai-agent-on-cloudflare
openai
Xây dựng các tác tử AI trên Cloudflare bằng Agents SDK với quản lý trạng thái, WebSockets thời gian thực, tác vụ theo lịch trình, tích hợp công cụ và trò chuyện…
epigraphdb-skill
openai
Gửi các yêu cầu API EpiGraphDB nhỏ gọn cho ontology, tài liệu, MR, gen-thuốc và bằng chứng hỗ trợ đường dẫn. Sử dụng khi người dùng muốn tóm tắt EpiGraphDB ngắn gọn.
runtime-behavior-probe
openai
Lập kế hoạch và thực hiện các cuộc điều tra hành vi thời gian chạy với các tập lệnh thăm dò tạm thời, ma trận xác thực, kiểm soát trạng thái và báo cáo ưu tiên phát hiện. Chỉ sử dụng khi…
deep-security-scan
openai
Sử dụng khi người dùng yêu cầu quét bảo mật Codex sâu, toàn diện, nhiều lượt hoặc giảm sai lệch trên toàn kho lưu trữ hoặc phạm vi đường dẫn cụ thể. Chạy lặp lại các lượt độc lập…
define-security-policy
openai
Xác định, xem xét hoặc cập nhật hướng dẫn SECURITY.md cho một kho lưu trữ hoặc thành phần. Sử dụng khi người dùng muốn làm rõ những gì Codex Security nên xem xét, những gì nằm ngoài phạm vi…
validation
openai
Sử dụng khi Codex đã ở trong giai đoạn xác thực của một cuộc quét bảo mật hoặc người dùng yêu cầu rõ ràng để xác định liệu một hoặc nhiều phát hiện bảo mật ứng viên…