Model Viewer Overview
From C4 Engine Wiki
The Model Viewer tool module is used to preview entity models and import animations.
Contents |
Opening Models
The Model Viewer is opened by selecting Open Model from the Tools menu, or by typing model [path to model / name of model] in the command console. If the Open Model menu item is selected (or name of model is omitted from the console command), then a dialog will appear that lists all of the available model resources:
Model Viewer Layout
The Model Viewer has the layout shown below.
Tool Buttons
Animation
The animation list is used to select which animation is applied to the model. New animations can be added by clicking the Import button. Once imported, animations are stored in a sub-folder(s) of the main Data directory. Animations are imported from Collada .dae files stored within a sub-folder(s) of the Import directory.
The slider below the viewport controls what frame of animation is currently displayed. The two triangles beneath the frame slider restrict the range of animation frames when the animation is played using the Play button.
The Loop, Oscillate, and Reverse boxes control how the animation is looped and in what direction the animation is played.
Diagnostics
The Detail level bias slider allows you to preview any levels of detail that are available for the model.
The following table describes the other options that are controlled by the checkbox controls in the Diagnostics section.
| Option | Description |
| Show wireframe | Highlights the edges of the model. |
| Show normals | Highlights the normal vectors at each vertex. |
| Show tangents | Highlights the tangent vectors. |
| Show skeleton | Displays a wireframe view of the skeleton to which a model is rigged. |
| Show shadow extrusion | Displays the shadow volume extrusions. |
| Show bounding sphere | Displays a sphere bounding the extent of the model. |
| Freeze motion blur | Freezes the full-scene motion blur post-processing effect. |



