GithubHelp home page GithubHelp logo

joss13aws / maya-retarget-blendshape Goto Github PK

View Code? Open in Web Editor NEW

This project forked from robertjoosten/maya-transfer-blend-shape

0.0 0.0 0.0 232 KB

Retarget your blendshapes between meshes with the same topology.

Home Page: https://robertjoosten.github.io/maya-retarget-blendshape/

License: GNU General Public License v3.0

AMPL 1.15% Python 98.85%

maya-retarget-blendshape's Introduction

maya-retarget-blendshape

Retarget your blendshapes between meshes with the same topology.

Click for video

Installation

  • Extract the content of the .rar file anywhere on disk.
  • Drag the retargetBlendshape.mel file in Maya to permanently install the script.

Usage

A button on the MiscTools shelf will be created that will allow easy access to the ui, this way the user doesn't need to worry about any of the code. If user wishes to not use the shelf button the following commands can be used.

Command line:

import retargetBlendshape
retargetBlendshape.convert(
  source,
  blendshape,
  target,
  scale=True, 
  rotate=True, 
  smooth=0, 
  smoothIterations=0,
  space=OpenMaya.MSpace.kObject,
)

Display UI:

import retargetBlendshape.ui
retargetBlendshape.ui.show()

Note

Retarget your blendshapes between meshes with the same topology. There are a few options that can be helpful to achieve the desired results.

  • Scaling your delta depending on the size difference between the source and the target vertex.
  • Rotating the delta depending on the normal difference between the source and the target vertex.
  • Smoothing based on the vertex size between the retarget mesh and the blendshape mesh.

maya-retarget-blendshape's People

Contributors

robertjoosten 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.