MeshMagick is now part of the Ogre command line tools download. Updated download URL accordingly...
Today I'd like to announce the first official release of the versatile mesh
manipulation tool MeshMagick.
MeshMagick
MeshMagick is a mesh (and skeleton) manipulation tool for Ogre meshes (and skeletons). It allows to query interesting informations and to transform binary meshes (and skeletons) in many ways.
Are you as annoyed as I was when I started with Ogre? Robot and Ninja don't look into the same direction. The Ninja looks toward -Z, the Robot toward +X. Not anymore! With a single command you can change the direction the robot looks:
Code: Select all
> MeshMagick transform -rotate=90/0/1/0 robot.mesh
This rotates the robot mesh 90° along the Y-axis (0/1/0).
Similarly you can change the scale using the -scale option, or you can translate the mesh along a vector using -translate or you can even realign the mesh in its local coordinate system. Say you want to have the robot pivot point in the model center instead of at the model bottom like it is now. Just call:
Code: Select all
> MeshMagick transform -yalign=center robot.mesh
Transforms can be concatenated and are executed in order.
MeshMagick works directly on the binary mesh (and skeleton) without detour through XML. It allows to use different output file names and is ready for batch use via find or multiple input files (no wildcards).
MeshMagick can not only work as a stand-alone command line tool, but also be linked against your application in order to use transform or merge during your program's runtime. For instance is the merge tool used in Rastullahs Lockenpracht to support mixing mesh parts for characters (A character having a scale-mail shirt, chain greaves and leather bracers for instance)
For full information about how MeshMagick works and what tools are there beside transform please call
Code: Select all
> MeshMagick -help
A binary windows download is available as part of the Ogre command line tools available from the Ogre tools download page.
MeshMagick is free open source software released under the LGPL license. You can download its source code from Ogre's CVS repository under ogreaddons/meshmagick.
Future
I plan further useful tools inside MeshMagick and extension of the existing tools. The first tool to be added is the reorganise-tool, which will allow to reorganise buffers with a simple syntax and do other useful buffer-oriented operations like changing tangent semantics.
I'm also waiting for user input here, if you have a specific need for a new feature, please write about it and provide a real-life example about how this addition would be useful.
Bugs
This is the first official release, MeshMagick only saw limited testing so far. There are likely bugs left. If you encounter one, please notify me by posting in this thread. I will work on removing it then.