threejs-core-scene-graph
OfficialMaster Three.js scene graphs with best practices.
AuthorOpenAEC-Foundation
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Managing complex Three.js scenes requires clear structure of Object3D hierarchies, correct parent-child relationships, and reliable traversal. It also covers pitfalls like reparenting with add() vs attach(), disposal management, and matrix update patterns that can lead to subtle rendering bugs if ignored.
Core Features & Use Cases
- Comprehensive reference for Object3D, Scene, Group, Mesh, and Layers, including traversal, coordinate conversion, and hierarchy management.
- Demonstrates safe reparenting with attach(), proper disposal patterns, and layer-based visibility to optimize rendering.
- Provides practical examples of hierarchical scene construction, reparenting scenarios, debugging helpers, and anti-patterns.
Quick Start
Create a simple scene with a parent Group and a child Mesh, then reparent the child to another Group using attach() to preserve its world position.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: threejs-core-scene-graph Download link: https://github.com/OpenAEC-Foundation/Three.js-Claude-Skill-Package/archive/main.zip#threejs-core-scene-graph Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.