mgear-dev / animbits

Animation Tools
MIT License
1 stars 3 forks source link

Animbits: New anim gpu cache manager #11

Closed jdrese closed 5 years ago

jdrese commented 5 years ago

Anim cache manager

The animation GPU cache manager is a simple animation tool that allows animators to create a GPU cache representation of their rigs in the scene

Key points

miquelcampos commented 5 years ago

@jdrese thanks for this!
The specifications looks perfect!

jdrese commented 5 years ago

Thanks for the title @miquelcampos forgot about that :P

jdrese commented 5 years ago

Hello @miquelcampos

I've merged the first version into master so you can give it a shot. The things that are on the task list are still to do but I will create separate tickets for those after your feedback to close this issue and the branch as well. Let me know.

This are important ENV variables

MGEAR_CACHE_MANAGER_CACHE_DESTINATION (where you want the cache to go) MGEAR_CACHE_MANAGER_MODEL_GROUP (Maya group name containing the render shapes) MGEAR_CACHE_MANAGER_RIG_ATTRIBUTE (Maya attribute existing on rigs to help the cache_manager find the rigs. Default is "is_rig" from mGear)

Cheers

miquelcampos commented 5 years ago

Hi @jdrese I will check it today and deploy a beta version inside the studio to test with production assets. I will let you know ASAP how is going :) Thanks!

miquelcampos commented 5 years ago

@jdrese

Is a little thing but, We need to add a check and auto-load for the gpuCache Plugin # Warning: Unknown object type: gpuCache #

jdrese commented 5 years ago

You are correct. This check was only added when generating the cache but forgot to add it as well when reading the caches