/clip2usdz

Primary LanguagePythonApache License 2.0Apache-2.0

Animation strip to USDZ converter

clip2usdz is a Python command line tool for converting an animation strip to USDZ.

Prerequisites

Animation strip

The animation strip image has to be organized into a grid with rows and columns.

Python Libraries

Executing the command line tool

Run clip2usdz.py --help for command line options. If no arguments are provided, the Running Girl asset is generated.

-h, --help     show this help message and exit
-r ROWS        Number of rows of the animation strip.
-c COLUMNS     Number of columns of the animation strip.
-d DURATION    Duration in seconds.
-i IMAGENAME   Use another image beside the included animation strip.
-t TIMESTAMPS  Number of time stamps used per second.
-f FLANK       Value used to simulate a step interpolation.

Assets

Running Girl


clip2usdz.py -r 1 -c 6 -d 1.0 -i RunningGirl.png

Guitar Player


clip2usdz.py -r 2 -c 3 -d 0.5 -i GuitarPlayer.png