O'Reilly logo

Learning Three.js: The JavaScript 3D Library for WebGL by Jos Dirksen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter we've discussed all of the standard geometries that Three.js has to offer. As you've seen, there are a whole lot of geometries that you can use right out of the box. The most important subjects to remember from this chapter are the following:

  • Experiment with the geometries that are available. Use the examples in this chapter to get to know the properties that you can use to customize the standard set of geometries available from Three.js.
  • When starting with geometries, choose an appropriate material. Don't go directly for the complex materials, but start in a simple way with a MeshBasicMaterial with wireframe set to true, or a MeshNormalMaterial. That way you'll get a much better picture of the true shape of the geometries. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required