The mibox for mentalray is the same concept as RibBox for
Renderman.
In your maya 2009 scene create a polyCube primitive. Select the polyshape, open the frameLayout mentalray and select a mi file.
Now when you render this cube, you’ve got the mi file. It’s very interesting, now you can replace a very high mesh by a simple cube in maya UI. But it’s more interesting to replace this cube by an animated character. For simulated a crowd per exemple.
I wrote a python module to do this. mibox.py (python module need the procedure A7.goodPadding contain in goodpadding.mel
I created two definition writeMiBox and readMiBox. writeMiBox get the range to process and determine the bounding box of the selected
objects during the animation. Write an Xml file with this information. And bake the mesh and shading info into a mi file for each frame. Xml file and miDir Files are created at the same place.
Inside the miDir
Now use readMiBox to load the miBox. Select the Xml file and read it.
Left Soft Mesh High | Right miBox – in Maya User Interface
You can setup the start, end and offset animation in the channelBox
In renderView
In future, i post a video with an animated result.
Download 2010 :
mibox.py
goodpadding.mel
Download Maya 2011 :
Dario Ortisi say to me the script doesn’t work on Maya 2011.
I’ve modified the original script to support 2011.
You can fin d the new script here : mibox_2011
This script is great. Thank you very much.
thanks dear that’s what i want
I WOULD LIKE TO KNOW HOW CAN I RUN THE MIBOX PYTHON SCRIPT IN MAYA ,IF DON’T MIND ?U WILL HELP ME A LOT
THANKS
I can’t get it to run on maya 2009. apparently the python scrip is ipmorting a module (named files) which maya can’t find.
this is really cool, and looks easy to use! thanks!!
Sound Cool! But can’t run in maya 2010. Can let me know how to work? Thx!!!
Hi Marc,
i was trying to run your script but i think i canĀ“t instal it.Can you explian how you do it? I’m using Maya 2010
Thanks a lot
Manuel