Rokoko / rokoko-studio-live-blender

Rokoko Studio Live plugin for Blender
GNU Lesser General Public License v3.0
326 stars 38 forks source link

Rokoko Blender Live Streaming Performance Lag #93

Closed B-Skizzle closed 2 years ago

B-Skizzle commented 2 years ago

This is more of a question than an issue. I know that the plugin has the ability to disable meshes to increase performance, but I noticed that for my particular purposes (using Blender's virtual reality feature to act out character movements while emboding that character), even when the character's mesh is disabled, the armature still lags to to copy what rokoko does. I figure it's because of the virtual reality feature, but do you know if there are any more optimizations that could be made to the plugin?

Darkblader24 commented 2 years ago

By lagging do you mean choppy animations or do you mean the delay between your movement and the armature moving? If you talk about about the delay, then you should be able to reduce it by choosing a JSON format without LZ4. You can do this by choosing the "Custom" live streaming option in Studio and changing the API there.

B-Skizzle commented 2 years ago

I mean the delay between my movement and the armature moving.

To choose a JSON format without LZ4, I can use the legacy studio, right?

Darkblader24 commented 2 years ago

Yes, both Studio versions 1 and 2 are compatible

B-Skizzle commented 2 years ago

Thank you! It sped up the performance by a lot.

Darkblader24 commented 2 years ago

This is great! Could you give me an estimate of what the delay was before and what it is now? It might be worth to make the non LZ4 protocol the default.

B-Skizzle commented 2 years ago

It had a delay of 1.5 seconds and then it dropped down to less than .5 seconds. It may seem small, but in VR that delay is enough to throw me off.

Darkblader24 commented 2 years ago

Yes, one second makes a huge difference when using VR. Thank you very much for letting me know!