n the last chapter, we looked at how to draw basic shapes using OpenGL. Now that we have covered the basics, let's improve our objects by adding some textures to them so that the objects don't just look like a plain cube and sphere.
We can write our physics as we did last time, but when dealing with 3D objects, writing our own physics can become difficult and time consuming. To simplify the process, we will use the help of an external physics library to handle the physics and collision detection.
We will cover the following topics in this chapter:
- Creating the MeshRenderer class
- Creating the TextureLoader class
- Adding Bullet Physics
- Adding rigid bodies