Record & replay VirtualMotionCapture motions with lightweight data format
You need VirtualMotionCapture with OSC motion sender enabled. More specifically you'll need paid version of VirtualMotionCapture.
- Run
vmcrec.exe -o [output file name]
(on Windows). It listens VMC protocol on port39539
. - Launch VirtualMotionCapture. Check
Enable OSC motion sender
fromSettings
. Note that you'll need paid version of VirtualMotionCapture that supports OSC motion sender. vmcrec.exe
starts recording motions and generate dump file.- In order to stop recording, type Ctrl-C from your keyboard on
vmcrec.exe
console. This will generate resulting output file.
- Run
vmcrec.exe -i [input file name] --replay
(on Windows). It parses input file and re-send UDP packet using VMC protocol to port39539
. WIP
-p <port number>
... port number to listen VMC data.39539
by default.-o <output file name>
... Output file name to generate.--replay
... Start replaying dump file. Must use with-i
option.-i <input file name>
... Input file name to replay.
You need Cmake and Visual Studio with C++ environment installed. You don't need Unity nor UniVRM to build vmcrec. There is a CMakeLists.txt file which has been tested with Cmake on Windows. For instance in order to generate a Visual Studio 10 project, run cmake like this:
> mkdir build; cd build
> cmake -G "Visual Studio 10" ..