To load a model, you must pass the full path to the model file.
BasicOpenGLViewer.exe "<full path to model file>"
Important ! Some models may reference external files (e.g. textures).
All referenced files are assumed to be in the same directory as the model file.
If a model fails to load, the default 'error' model will be loaded.
If a texture fails to load, the default 'null' texture will be used.
The dev messages, located at the top-left of the application window, displays messages about the application initialization state (e.g. GLFW initialization, model and texture loading, shaders creation, etc.)
The controls, located at the top-center of the application window, displays all available controls and their associated key (e.g. Move forward, Reset camera, etc.).
The options allow you to change how the model is rendered. The options window can be dragged and resized.
| Draw Filled | Draw the model mesh |
| Draw Normals | Draw the model's normal vectors |
| Enable Lighting | Enable diffuse lighting |
| Use Texture | Enable textures |
| Wireframe Overlay | Enable wireframe overlay |
| Draw Bones | Draw skeleton bones, if any |
| Display Bone Names | Display skeleton bone names, if any |
| Draw Axis Helper | Display 3D unit axis (X,Y,Z) helper |
| Draw Grid Helper | Display 3D grid helper |
| Skin | Choose which mesh skin to display |
| Animate | Enable animation mode. When disabled, the model's bind pose is used. (only if the model has support for skeletal animation) |
| Animate # | Choose which animation to play. (only if the model has support for skeletal animation) |
| Animate Frame | The current animation frame. (only if the model has support for skeletal animation) |

