In the previous chapter, we covered framebuffers, renderbuffers, and the steps required to interact with a 3D application using picking. In this chapter, we will bring together all of the concepts we've learned so far to build a 3D virtual car showroom. In the development of this demo application, we will use models, lights, cameras, animation, colors, textures, and more. We will also learn how to integrate these elements with a simple yet effective graphical user interface.
In this chapter, you will learn to do the following:
- Put together all of the architecture we've developed throughout this book
- Create a 3D virtual car showroom application using our architecture
- Import car models from Blender into a WebGL scene
- Set up several light sources
- Create robust shaders to handle multiple materials
- Learn about the OBJ and MTL file formats
- Program...