MorphableAnimatedModel

Code written in Java, requires jMonkeyEngine API.

Makes it possible to morph an animated 3D model between a series of shapes.

I can load an animated (or non animated) model and add keyframes to it which are versions of the same model (non animated) with displaced vertices.

It is possible to addKeyFrameBefore and addkeyFrameAfter and then control the morphing in real time, while the animation is playing, through an input floating point variable morphPosition from 0.0 to 2.0.

0.0 is at the point in the morph of the first added before-keyframe, 1.0 is at the original model and 2.0 is at the last added after-keyframe. According to the morphPosition, the models vertices positions are interpolated between the keyframes.

This was originally made as an attempt to visualize how it could look if objects were to move in ana and kata, the four dimensional directions, as it would be perceived in three dimensions.

I had to modify the class SkinNode in jMonkeyEngine to make this work. Added function updateInfluenceOffsets(Geometry morphedSkin).

Watch in high quality