Coder Social home page Coder Social logo

bakeactionstoshapekeys's Introduction

Bake Actions To Shapekeys

A script to automate baking actions to shape keys with corrective smoothing. Intended for use with meshes with complicated facial rigs that need to be optimized for real-time usage (i.e. Unity).

Usage

BakeActionsToShapekeys_Demo.mov

Instructions

  • Select mesh objects and armature object last
  • Meshes should have Armature modifier named "Armature" (without quotes)
  • Link action you want to bake in the Action Editor
  • Run script

Manual method

  • Select the armature and link the action you want to bake
  • Select your mesh Armature modifier and Save as Shape Key
  • Disable your Armature modifier
  • Select the new shape key on your mesh
  • Save as Shape Key on Corrective Smooth modifier
  • Select your new shape key and rename to your action name
  • Repeat 200 times...

Gotchas

  • Make sure all the bones affected by your actions are on visible layers
  • You must have a Corrective Smooth modifier on all meshes (you can set the smoothing amount to 0.0 if you don't need it)
  • Make sure your timeline is on the keyframe you want to bake
  • You must be in Object mode when running the script

Works with Blender 3.3.1

Links

https://voxie3d.com

I make avatars for VRChat and ChilloutVR, sold on Gumroad and Booth:
https://app.gumroad.com/voxieavatars
https://voxie.booth.pm

License

GPLv3

bakeactionstoshapekeys's People

Contributors

v0xie avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

chill4stev

bakeactionstoshapekeys's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.