Code: Select all
C:\>meshmagick -help=tootle Use AMD Tootle to optimise mesh. Optimisation parameters: -vcachesize=N - specify the vertex cache size (omit to use default) -clockwise - treat clockwise faces as front-facing (default is CCW) -clusters=N - manually specify the number of clusters (default auto) -viewpoint=x/y/z - specify one or more viewpoints to judge overdraw Default is to generate viewpoints automatically
MeshMagick is available from the addons svn repository. You will need to use the CMake build (not the manual projects included in svn) in order to pick up the Tootle support, which is only supported on Windows at this time. You will also need to download Tootle.
To configure in CMake:
- Set a CMake variable TOOTLE_HOME to the location you installed Tootle
- If you're using an OGRE SDK, add a CMake variable OGRE_SDK pointing at the root
- If you're using an OGRE source build, set OGRE_SOURCE to the root of your OGRE source dir, and OGRE_BUILD to the root of your build directory. If you're building against OGRE 1.6 these will be the same folder, if you're building against OGRE 1.7+ then set OGRE_BUILD separately to the OGRE build dir you want to reference.
I welcome community review of this new feature, I can't promise to give any direct support to users (I'm doing this for a project and am just trying to address some of my own issues) but collaboration on enhancements / fixes is welcome.