Table of Contents
Preface
Part 1: Getting Up and Running
1
Creating Your First 3D Scene with Three.js
Technical requirements
Getting the source code
Testing and experimenting with the examples
Exploring the HTML structure for Three.js applications
Rendering and viewing a 3D object
Setting up the scene
Adding lights
Adding the meshes
Adding an animation loop
Using lil-gui to control properties and make experimenting easier
Helper objects and util functions
Summary
2
The Basic Components that Make up a Three.js Application
Creating a scene
The basic functionality of a scene
How geometries and meshes are related
The properties and functions of a geometry
Functions and attributes for meshes
Using different cameras for different scenes
An orthographic ...
Get Learn Three.js - Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.