That's it for the first chapter. In this chapter you've already learned a lot about the basic concepts that make up each Three.js scene and this should give you a good starting point for the next chapters. What you should remember from this chapter is the following:
You can find all the source code for the examples in this and the other chapters online. The best way to learn is to play around and experiment with these examples
In the Three.js project, you created a scene to which you added the objects (a geometry together with a material) that you wanted to render
The materials that you used defined what the objects looked like. Each material reacted in a different way to light sources
Rendering shadows is expensive and needs to be turned on for the renderer, for each object, and for each light
You can do easy animations by just changing the
position
and therotation
properties of the objects in the sceneStatistics and custom controls can be easily added with the two helper libraries and a couple of lines of JavaScript
In the next chapter we'll expand on the example that we've created here. You'll learn more about the most important building blocks that you can use in Three.js in the later chapters.