Three.js Cookbook
上QQ阅读APP看书,第一时间看更新

Chapter 1. Getting Started

In this chapter, we'll cover the following recipes:

  • Getting started with the WebGL renderer
  • Getting started with the Canvas renderer
  • Getting started with the CSS 3D renderer
  • Detecting WebGL support
  • Setting up an animation loop
  • Determining the frame rate for your scene
  • Controlling the variables used in the scene
  • Setting up a local web server with Python
  • Setting up a local web server with Node.js
  • Setting up a local web server using Mongoose
  • Solving cross-origin-domain error messages in Chrome
  • Solving cross-origin-domain error messages in Firefox
  • Adding keyboard controls
  • Loading textures asynchronously
  • Loading models asynchronously
  • Loading models asynchronously with progress
  • Loading other resources asynchronously with progress
  • Waiting until resources are loaded
  • Dragging a file from the desktop to the scene