用maya打開一個場景,選擇OgreMax導出.scene文件。
選擇MayaExporter導出.material文件,將這個material文件替換掉OgreMax導出的material文件。
成功!
OgreMayaExporter安裝使用方法:
1)復制 ogreExporter.mll 到你的Maya 插件目錄(例如 C:\Program Files\Alias\Maya7.0\bin\plug-ins)
2)復制Ogre dlls到你的maya安裝目錄(例如: C:\Program Files\Alias\Maya7.0\bin)
3)復制 ogreExporter.mel到 你的maya腳本目錄(例如: C:\Documents and Settings\user\My Documents\maya\6.5\scripts)
4)如果已經(jīng)存在一個userSetup.mel 在你的腳本文件目錄中,那么追加一行 source ogreExporter.mel;
如果不存在userSetup.mel文件,就把userSetup.mel文件復制到腳本目錄中