Open xieleo5 opened 9 months ago
VMC data is sent at the very late stage of the pipeline, after all the 3D calculations have been finished and just before the 3D avatar and scene is about to be rendered to the screen. It merely sends out the bone positions and rotations regardless of whether MediaPipe is used or not. You can choose the hide the 3D avatar and scene under the VMC protocol option to save some CPU/GPU usage.
I've tried to read some of the code in this repo. The
MMD_SA.js
seems responsible for sending the VMC data and the data is read from the VRM model. So I guess the whole pipeline of ths app is:facemesh_lib.js
andmocap_lib_module.js
)Correct me if any step is wrong. I'm trying to figure out how the app control the 3D model using the landmarks from mediapipe. Also, is it possible to directly generate data for VMC protocol so that we can skip the movement of the model?