Community编程与开发github.com

cloudai-x/threejs-fundamentals

Three.js场景搭建、相机、渲染器、Object3D层级结构、坐标系。适用于设置3D场景、创建相机、配置渲染器、管理对象层级或处理变换。

threejs-fundamentals 是什么?

该技能提供了Three.js核心基础功能的全面指南,涵盖场景搭建、相机配置、渲染器设置、Object3D层级管理和坐标系操作。它帮助开发者快速掌握从零开始构建3D应用所需的全部基础组件,包括透视相机和正交相机的区别、渲染器的多种配置选项(如抗锯齿、阴影)、对象在层级树中的父子关系管理,以及世界坐标系和局部坐标系的变换操作。该技能适用于任何基于Three.js的开发环境(包括Web应用、Node.js后端等),通过清晰的代码示例和最佳实践说明,让开发者能够高效构建可交互的3D场景。其核心价值在于提供从理论到实践的完整映射,减少因API不熟悉或坐标系误解导致的调试时间,是学习Three.js和日常开发中不可或缺的参考工具。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/cloudai-x/threejs-skills/tree/main/skills/threejs-fundamentals

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

threejs-fundamentals 是做什么的?

Three.js场景搭建、相机、渲染器、Object3D层级结构、坐标系。适用于设置3D场景、创建相机、配置渲染器、管理对象层级或处理变换。

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

cloudai-x/threejs-animation

Three.js animation - keyframe animation, skeletal animation, morph targets, animation mixing. Use when animating objects, playing GLTF animations, creating procedural motion, or blending animations.

cloudai-x/threejs-geometry

Three.js geometry creation - built-in shapes, BufferGeometry, custom geometry, instancing. Use when creating 3D shapes, working with vertices, building custom meshes, or optimizing with instanced rendering.

cloudai-x/threejs-interaction

Three.js interaction - raycasting, controls, mouse/touch input, object selection. Use when handling user input, implementing click detection, adding camera controls, or creating interactive 3D experiences.

cloudai-x/threejs-lighting

Three.js lighting - light types, shadows, environment lighting. Use when adding lights, configuring shadows, setting up IBL, or optimizing lighting performance.

cloudai-x/threejs-loaders

Three.js asset loading - GLTF, textures, images, models, async patterns. Use when loading 3D models, textures, HDR environments, or managing loading progress.

cloudai-x/threejs-materials

Three.js materials - PBR, basic, phong, shader materials, material properties. Use when styling meshes, working with textures, creating custom shaders, or optimizing material performance.

cloudai-x/threejs-postprocessing

Three.js post-processing - EffectComposer, bloom, DOF, screen effects. Use when adding visual effects, color grading, blur, glow, or creating custom screen-space shaders.

cloudai-x/threejs-shaders

Three.js shaders - GLSL, ShaderMaterial, uniforms, custom effects. Use when creating custom visual effects, modifying vertices, writing fragment shaders, or extending built-in materials.

cloudai-x/threejs-textures

Three.js textures - texture types, UV mapping, environment maps, texture settings. Use when working with images, UV coordinates, cubemaps, HDR environments, or texture optimization.

相关技能