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

Chapter 2. Creating a 3D World Globe and Visualizing Open Data

In this chapter, we're going to use the example of a 3D-rendered globe to explain a number of core Three.js concepts. We'll show you how to build this example step by step and explain the following features provided by Three.js:

  • Three.js provides a number of easy ways to control the camera. In this example, we'll show you how you can use the orbit camera control.
  • Through the use of textures, we can quickly enhance the look of the simple meshes that are rendered. In this example, we'll show you how to use simple and advanced textures to transform a simple sphere into an object that looks like the earth.
  • We'll also dive a little bit deeper into lighting. In this example, you'll see how ...

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