トップへ(mam-mam.net/)

Creating WebGL 3D Graphics with Three.js|Practical Examples, Camera Controls, OBJ Loading, and Game Demos

Japanese

Creating WebGL 3D Graphics with Three.js|Practical Examples, Camera Controls, OBJ Loading, and Game Demos

This page introduces how to render 3D graphics in WebGL using the JavaScript library “three.js,” along with practical sample code.
It covers major three.js features such as camera controls (OrbitControls, ArcballControls, TransformControls), materials, textures, shadows, water, sky, OBJ/MTL loading, 360° panoramas, mazes, carousels, and simple games.
The examples use three.js R145 and are built with the traditional JavaScript version rather than the module-based version.
This is recommended for anyone looking to add interactive 3D elements or dynamic backgrounds to their website.

three.js R145 can be downloaded from the link below:
https://github.com/mrdoob/three.js/tree/r145

From R148 onward, only the module version is provided, and it appears that R147 is the final release of the JavaScript (non‑module) version.
https://github.com/mrdoob/three.js/tree/r147

WebGL(three.js)