Rust implementations of the following 3D morphing algorithm:
- Kent J R, Carlson W E, Parent R E. Shape Transformation for Polyhedral Objects, Computer Graphics, 1992, 26(2):47~54
make
make run o1=<obj1> o2=<obj2>
morphing
USAGE:
morphing [FLAGS] [OPTIONS] <obj1> <obj2>
FLAGS:
-e, --edge Show edges only, no faces
-h, --help Prints help information
-s, --scale Scale models to the same scale
-p, --shpere All vertices are on the shpere, do not project back to the origin model
-V, --version Prints version information
OPTIONS:
-o, --output <output> Result model file (*.obj)
-r, --ratio <ratio> Morphing ratio [default: 0.5]
ARGS:
<obj1> Model file 1 (*.obj)
<obj2> Model file 2 (*.obj)