A Game scene with 3D models, skeletal animation, and mirror effect.
The bat model has skeletal animations that are created and embedded in the model as a combined animation.
Skeletal animation system is manually implemented and utilizes vertex blending and quaternion interpolation.
Tower model has alpha clipping implemented since it has transparent parts.
Mirror effect is implemented using stenciling.
The mirror in the scene has been designed as an ideal mirror, with no surface effects or distortion of the picture in the mirror.
Mirror’s surface can be modified by modulated with colors from textures to create surface effects.
Back-face culling is disabled for the bat model, tower model, and floor while enabled for the mirror and wall the mirror was on.
Uses fixed-axis rotation.
Program file can be downloaded here.
Requirements: DirectX 11 supported graphics card, Windows 7/8/8.1/10/11, Visual C++ Redistributable Packages for Visual Studio 2013(x86).
Control:
Left-click anywhere in the scene then hold left-click and drag the mouse to move the camera around in the scene.
Scroll up and down to zoom in and zoom out.
Press “p” on the keyboard to make the bat character perform animations.
Platform: Windows
Programming Language: C/C++, HLSL
Texture loading is implemented using DirectX TK library.
3D model loading is implemented using ASSIMP. ASSIMP loads 3D models and provides data loaded in its own format.
In order to make 3D models’ data loaded by ASSIMP easier to use, a wrapper for ASSIMP that parses data from ASSIMP’s format into a format that is easier to work with, handles model loading and animation processing has been manually created.