Giter Club home page Giter Club logo

latent-pose's Introduction

Latent Pose

A data-driven IK demo in Blender
Pose sampled from a VAE(Vposer) trained with CMU mocap data.

demo

My blog on this: Data-Driven IK In Character| 角色中的数据驱动反向动力学

Requirement

  • Blender 2.8+
  • python 3.6
    • pytorch 1.4.0
    • numpy 1.18
    • flask 1.1.2
    • tqdm 4.43

How to use

  1. Start server, run python server.py

  2. install blender plugin
    in Blender-Edit-Preference-Addons-Install, select latent-ik/latent-ik.py to install it.
    after installment, enable Latent-IK plugin

  3. Open latent-ik.blend
    Next you can move controllers, use short-cut Ctrl+P to update pose
    Also you can select the Armature and enable or disable some controller
    ui

How it works

A trained VPoser on CMU mocap data

How to train your own vposer

  1. download some bvh data into data/raw folder.
  2. open data/raw/extract_skeleton.blend, import any bvh, run script data/raw/extract_skeleont.py to extract skeleton definition
  3. run python -m data.extract_bvh_animation to extract bvh animation to joint's matrix into data/extracted
  4. run python -m data.prepate_training to convert bvh animation to axis-angle form for training.

Reference

latent-pose's People

Contributors

maajor avatar

Watchers

James Cloos avatar

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.