After establishing paths to the resources through a call to setPaths, we can proceed to make the resources available to our program.
As in previous examples, we construct an image map (bmp file) as an instance of the class ImageMap, which comes with the Utils library. The constructor requires an absolute path to the folder holding the bitmap file and the name of the file.
Each of the Wavefront models is created as an instance of the class ObjModel, which also is part of the Utils library. Its class constructor also requires an absolute path to the folder holding the files (.obj and .mtl) and the name of the obj file.