Skip to content

Scripts and plugins for Autodesk MotionBuilder

License

Notifications You must be signed in to change notification settings

musterchef/OpenMoBu

 
 

Repository files navigation

Downloads

OpenMoBu code repository!

It's a set of C++ and Python code for Autodesk MotionBuilder that I have developed while taking part in several projects. Another big set of plugins and scripts for Autodesk MotionBuilder you can find in MoPlugs repository.

Please post issues and feature requests to this github repository issues section

MoPlugs


Note! Please have a look at the repository Wiki pages for more information about setup and scripts/plugins

Introduction webinars

Installation Package

There are some ready to use installation packages, you can find them in a "Release" section of the repository.

Binaries

If you want to install manually or copy just updated binary, you can find precompiled binaries in the "bin" folder.

To setup custom plugins and scripts path, please, try a configuration application - https://github.com/Neill3d/MoBu_ConfigApp

How to compile

Note! Some old Projects and MoBu solution are created in VisualStudio 2010, the latest projects I've developed in VS 2013.

  1. Specify env variables with the path to your motionbuilder folder
  • ADSK_MOBU_2010_64
  • ADSK_MOBU_2011_64
  • ADSK_MOBU_2012_64
  • ADSK_MOBU_2013_64
  • ADSK_MOBU_2014_64
  • ADSK_MOBU_2015_64
  • ADSK_MOBU_2016_64
  • ADSK_MOBU_2017_64
  1. On my machine I have put 32 bits version of MoBu into the 64 bits folders. They share the same files except folders bin/win32 and bin/x64.

  2. For supporting older version of MoBu in different projects I'm using these pre-defines

  • OLD_FBEVALUATE_LOCALTIME - MoBu 2010 doesn't support recieving system and local time from the evaluation variable FBEvaluateInfo
  • OLD_FBTIME_SETFRAME - in old SetFrame function (MoBu 2010) you need to specify a bool parameter as an argument
  • OLD_FBTIME_GETFRAME
  • OLD_SCENE_EVENTS - There some new events in new version of MoBu like attach/detach component from FBScene
  • OLD_FBTREE - in old tree control you don't have several function to work with a checkboxes
  • OLD_FBAPP_FILERENDER
  • OLD_FIND_MODEL_BY_NAME - in old MoBu version we have different function name to get objects by name. Old version FBFindModelsByName, new version - FBFindModelByLabelName
  • OLD_DOCK_POSITION
  • OLD_OPENGL_HEADER - starting from MoBu 2011 we need to specify fbsdk-opengl header separately
  • OLD_FBMATH
  • OLD_CONSTRAINT_MANAGER
  1. You should know that each dll plugin project has a resource with version information.

  2. After compiling release version of the plugin, there is a command to copy file into the installation folder.

copy "$(ADSK_MOBU_2011_64)\bin$(Platform)\plugins$(ProjectName).dll" "..\bin_2011$(Platform)\plugins$(ProjectName).dll"

  1. I'm using one MotionCodeLibrary for compiling all the projects. In each project I have added a relative path to that folder. Right now this library is a colletion of header and source files, it's not a static or dynamic library. That means to compile your project you should not only include needed headers but also add corresponding source code files to your project.

Special Thanks

Big thanks to Les Androids Associes! They gave me a permission to share my development to the public.

Contact

Sergei Solokhin (Neill3d) e-mail to: [email protected]

http://neill3d.com/en/

About

Scripts and plugins for Autodesk MotionBuilder

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 82.9%
  • Python 8.5%
  • GLSL 5.4%
  • C 2.0%
  • C# 0.9%
  • Inno Setup 0.2%
  • CMake 0.1%