Coder Social home page Coder Social logo

hassanabbas92 / rjretargetblendshape Goto Github PK

View Code? Open in Web Editor NEW

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

0.0 1.0 0.0 211 KB

Retarget your blendshapes between meshes with the same topology.

Home Page: https://robertjoosten.github.io/rjRetargetBlendshape/

License: GNU General Public License v3.0

Python 100.00%

rjretargetblendshape's Introduction

rjRetargetBlendshape

Retarget your blendshapes between meshes with the same topology.

Click for video

Installation

Copy the rjRetargetBlendshape folder to your Maya scripts directory:

C:\Users<USER>\Documents\maya\scripts

Usage

Command line:

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

Display UI:

import rjRetargetBlendshape.ui
rjRetargetBlendshape.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.

rjretargetblendshape's People

Contributors

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