【資料圖】
大家好,現在來為大家解答以上的問題。wowmodelviewer怎么導入已導出的裝備文件,wowmodelview這個很多人還不知道,現在讓我們一起來看看吧!
1、啟動:WowModelViewApp::OnInit()加載配置: WowModelViewApp::LoadSettings()初始化主界面ModelViewer::ModelViewer()初始化圖形, 載入MPQModelViewer::Init(), 得到文件列表加入樹控件里初始化數據庫ModelViewer::InitDatabase()瀏覽模型:ModelViewer::OnTreeSelect(wxTreeEvent &event)清除原有的資源ModelCanvas::clearAttachments(),TextureManager::clear()加載模型ModelViewer::LoadModel(const wxString fn)加載角色模型ModelCanvas::LoadCharModel(const char *fn)創建一個Model對象Model::Model(std::string name, bool forceAnim)初始化動畫模型Model::initAnimated(MPQFile &f)初始化模型資源Model::initCommon(MPQFile &f)頂點, 法線, 包圍盒, 紋理, 附件, 顏色, 透明度, 索引, 渲染批次排序骨骼, 頂點/紋理緩沖, 粒子系統, 條帶, 攝像機, 燈光, 動作重置可見區域ModelCanvas::ResetView()添加載入的模型Attachment::addChild(Displayable *disp, int id, int slot, float scale, float rot, Vec3D pos)更新主界面(菜單, 角色控制面板)更新模型控制面板ModelControl::UpdateModel(Attachment *a)更新動畫控制面板AnimControl::UpdateModel(Model *m)右鍵使用兼容模式打開就好了。
2、我使用的XP和7的兼容模式都可以。
本文到此分享完畢,希望對大家有所幫助。
關鍵詞:
責任編輯:Rex_29