# Unity 3D 0725 ## MMD 練習 ###### tags : `暑假` ### 環境建置 - Blender 2.93(版本如果是3.2, cats-blender-plugin在fix的時候會怪怪的, 建議用2.9) - Blender 插件 cats-blender-plugin : https://drive.google.com/file/d/1ULac5xwV43mJvDm3wGIBLtgiWbY7v9N5/view?usp=sharing blender_mmd_tools : https://drive.google.com/file/d/1ehtrfgSBRQa4jLDWM_17mPmZX9fsfnnC/view?usp=sharing - Unity 2020.3.33f1 - Unity 插件 UniVRM : https://drive.google.com/file/d/1UipLElkrdzCF1DStNiBVgfoom4EQgL9A/view?usp=sharing MeshDeleterWithTexture : https://booth.pm/ja/items/1501527 ### Blender - 把需要的插件下載進去 ![](https://i.imgur.com/bD8mPx3.png) - blender_mmd_tools 和 cats-blender-plugin ![](https://i.imgur.com/hiHV733.png) - 匯入模型 ![](https://i.imgur.com/JORDUzm.png) - 上色 ![](https://i.imgur.com/CnXSivk.png) - 修正 ![](https://i.imgur.com/oqIjMhU.png) - 匯出模型 ![](https://i.imgur.com/Ul2IYts.png) ------------------------------------------------------------------------------ ### Unity - 將Unity開啟後把插件都載入(直接點UniVRM和MeshDeleterWithTexture就會丟進去了) - 創個資料夾 - 把剛剛匯出的模型和其他的全都丟進去(ゆかり) ![](https://i.imgur.com/NK56Oij.png) ![](https://i.imgur.com/NzKhUCg.png) - 將模型設置為人類 - 點ゆかり ![](https://i.imgur.com/KTsGz5B.png) ![](https://i.imgur.com/yma7elZ.png) - 人類骨架 - 順序會從下到上排定(屁股 -> 脊椎 -> 胸部 -> 頭) - 若骨架放的正確 ![](https://i.imgur.com/ZczIvfU.png) - 不正確(通常在Blender fix 後就會自動排好) ![](https://i.imgur.com/N0hXOEm.png) - 上色 - 更改Location 和 Naming ![](https://i.imgur.com/5cYVQxT.png) - 會創建一個materials的資料夾 ![](https://i.imgur.com/2WQDHnS.png) - 裡面會是各個部位的色彩球(之後就可以按照自己的喜好去更改) ![](https://i.imgur.com/Wvim0Ek.png) - Ex : 更改上色方式 (Before) ![](https://i.imgur.com/nzkq8U8.png) (After) ![](https://i.imgur.com/Adv151G.png) - Ex : 雙面上色(Cull Mode 改成off) 簡單講就是衣服內外都會上色(圖片不太好截) ![](https://i.imgur.com/5joKe34.png) - 輸出模型(VRM) ![](https://i.imgur.com/hIWglY1.png) :::info vt的東西想下禮拜再做,大概先這樣 (https://drive.google.com/file/d/1maz6PbNMjZQtUBVE1MMt8KigJKZzhHym/view?usp=sharing) :::