Giter VIP home page Giter VIP logo

kinect-blender's Introduction

Introduction

This is a project to create a motion-capture plugin for Blender using the OpenNI library and a Microsoft Kienct.

Why?

There are a couple of other similar things out there. I don't like them because either:

  • They are not free software
  • They are not maintained and won't compile with currently-available versions of other libraries

Status

Currently there is a plugin for Blender that loads OpenNI and starts the skeleton tracker, but that's as far as I've got. The next step is to figure out a good way of mapping the OpenNI joints to the bones of an armature and then the co-ordinate transform from the OpenNI co-ordinate system to the Belnder system.

How to Build PyOpenNI

As of writing, the PyOpenNI repository on github only builds against Python 2.7. Here's an outline of how to build it for Python 3.2:

  • Get the github version
  • In the Python sources, fix all references to 'print' so that they are function-form (ie. parens around arguments)
  • That includes compilerFlags.py
  • In the C++ sources, change references to PyInt_Type to by PyLong_Type instead (or add an appropriate macro - typedefs don't work)
  • Run CMake as per the instructions
  • Edit CMakeCache.txt and change all references to python -> python3.2, python2.7 -> python3.2 and py27 -> py32
  • Run make
  • Copy lib/openni.so to /usr/lib/python3.2/lib-dynload

kinect-blender's People

Contributors

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