Code Monkey home page Code Monkey logo

mayaimporterbvh's Introduction

BVH Importer Script

By Jeroen Hoolmans

License

BVH Importer script for Maya. Copyright (C) 2012 Jeroen Hoolmans

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Introduction

When working with motion capture data you may come across .bvh files. These files are BioVision Hierarchy files (http://research.cs.wisc.edu/graphics/Courses/cs-838-1999/Jeff/BVH.html) that hold skeletal information and frame by frame animation.

This script is used to directly import the .bvh files and create a joint structure when needed. No need to load this file inside of MotionBuilder or equivalent and export it to a Maya supported format like FBX.

Installation

Since this is a python script you can easily run the script from a python tab inside the script editor. But if you are frequently using this script I recommand installing the script in the Maya scripts folder.

Windows:

C:\Users\<username>\Documents\maya\<version>\scripts\

Mac OSX:

/Users/Shared/Autodesk/maya/<version>/scripts/

Linux:

/home/<username>/maya/<version>/scripts/

When the script is in place, launch or restart Maya. Go to your script editor, open a Python tab and run the following code:

import bvh_importer
bvh_importer.BVHImporterDialog()

Enjoy!

Contribution

Helping me develop this script even further is highly appreciated!

Some ways of contributing:

  • Report any bugs by going to Issues.
  • Request features at Issues, click 'New Issue' then add the label 'feature request'.

Developers can Fork this repo at GitHub

  • Create a new branch called 'feature name'.
  • Make your changes.
  • Do a Pull Request and get some coffee!

Contact

Any questions related to this script can also be posted at Issues. I will get to you as soon as possible!

mayaimporterbvh's People

Contributors

jhoolmans avatar

Watchers

Vladimir Minkin 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.