I have been unable to figure out how to add a texture to a mesh when using the mesh API. I assume adding a texture is possible as it is my understanding that the mesh API is used for drawing conveyor objects.
The mesh I am drawing is being drawn and shows the correct ambient and diffuse colors if I use fglDisable(GL_TEXTURE_2D). The example in the following question seems to use that to disable the texture rendering to display those colors:
https://answers.flexsim.com/questions/46673/how-to-use-mesh-api.html
I have tried using bindtexture, but it doesn't seem to display the provided texture. If anyone has any examples or tips on how to get the texture to show, then that would be appreciated.