O'Reilly logo

Three.js Essentials 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

We've seen a lot of concepts of Three.js in this chapter. The most important points to remember are as follows:

  • We can create a good-looking earth by just starting with a basic THREE.SphereGeometry object.
  • Three.js provides a large number of camera controls for use. In this chapter, we used the OrbitControls property to quickly support the zoom and pan functions for our scene.
  • There are different types of textures available. In this chapter, we used a map texture that renders an image on top of an object. Also, we used a normal texture to define detailed heights, and finally, a specular map for reflections.
  • Besides the perspective camera, Three.js also provides an orthographic camera that renders objects the same size regardless of their distance ...

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