Introduction to 3D Graphics and Games
Lee Stemkoski · Apress eBooks · 2018
This chapter will introduce some of the 3D graphics capabilities of LibGDX. Along the way, you’ll learn about the concepts and classes necessary to describe and render a three-dimensional scene. To simplify and streamline this process, you’ll both adapt some old classes and write some new classes to accomplish the various tasks involved. Next, to understand 3D movement, you’ll create a simple interactive demo that enables players to control both an object within the scene and the camera viewing the scene. Finally, you’ll create the game Starfish Collector 3D, shown in Figure 16-1, which once again features a turtle on a quest to collect all the starfish that it can. For simplicity, this game will actually use 2.5D techniques: the game will render three-dimensional graphics, while the underlying gameplay (movement and collisions) will occur in two dimensions.