With some experience building our own triangle meshes, let’s turn our attention to those that have been built for us by artists working with modeling software. These meshes are typically organized into a model - a collection of triangle meshes and transformations that collectively define a complex 3D shape.
Like our earlier examples, we’ll start from a starter project with our assets pre-loaded. In addition, we’ll include the ICamera
interface and the CirclingCamera
we created in the lesson on Lights and Cameras, and the Terrain
class and IHeightMap
interface from our exploration of Heightmap Terrain. It is also preloaded with public-domain content assets, including a heightmap from Wikimedia and a ground texture from arikel’s on OpenGameArt’s [Seamless Textures]https://opengameart.org/content/seamless-textures).
You can find the starter project here: https://github.com/ksu-cis/model-starter.