What problem does it solve?
This Skill addresses the challenge of asset loading in Three.js projects, providing tools for efficient and error-free loading of GLTF, textures, images, models, and managing loading progress.
Core Features & Use Cases
- GLTF/GLB Loading: Supports loading common 3D formats with detailed control over animations, cameras, and asset info.
- Texture Loading: Offers robust texture loading with options for color space, wrapping, filtering, and anisotropic filtering.
- HDR/EXR Loading: Handles high dynamic range and EXR formats for environment maps and skyboxes.
- Caching: Implements built-in and custom caching solutions for managing asset loads.
- Error Handling: Provides fallbacks, retries, and timeouts to ensure robust asset loading.
- Performance Tips: Offers advice on using compressed formats, progressive loading, and enabling cache for performance.
- Use Case: Streamline the process of loading models and textures into Three.js scenes for real-time 3D applications.
Quick Start
Load a GLTF model into your scene using the threejs-loaders skill with the command: loadGLTF('model.glb')