- 最后登录
- 2014-10-23
- 注册时间
- 2011-7-19
- 阅读权限
- 90
- 积分
- 81303
 
- 纳金币
- -1
- 精华
- 11
|
绝对强大的一个扩展,可以把max中的物体输出为unity3d中所用的js脚本文件,也就是说完全用代码来实现模型的导入和重现,其实用脚本直接生成模型本就是一个很强大的功能,下面是此插件具体的介绍:
![]()
Mesh transfer script from 3ds max to Unity.
It converts 3dsmax mesh to unityscript (javascript), so you have full control over the mesh creation.
And whats the point of it? To avoid these:
http://answers.unity3d.com/questions/61597/vertex-count-10-times-higher-in-unity.html
http://answers.unity3d.com/questions/37435/why-is-unity-got-more-vertices-than-3dsmax.html
Using this plugin you get less vertices on your model (compared to fbx imported model).
UPDATE#3 (16.08.2011)
Beta version released in the forum: http://forum.unity3d.com/threads/100857-mMesh-%283ds-Max-mesh-to-unityscript-converter%29?p=661248#post661248
Download max script/plugin: (tested on 3DsMax 2010 – 64bit)
http://www.mediafire.com/?aeshaa3gtaqdk5j
Installation: 3ds Max Script Installation/
- Copy “mMesh10.mse” to your 3ds Max scripts-folder (usually c:/program files/autodesk/3ds max 20xx/scripts/)
- Copy “mMesh10_Start.ms” to your 3ds Max scripts-folder (usually c:/program files/autodesk/3ds max 20xx/scripts/)
- Run the script from 3DSMax menu: Maxscript / Run script… browse for the script, select “mMesh10_Start.ms” and run it (this adds menu item)
- Now go to menu: Customize / Customise user interface..
- Go to “Toolbars” tab, Group: Main UI, Category: mMesh
- Drag the script from the cction list named “mMesh” to your toolbar (existing or create new)
Usage:
- Select 1 object (try simple box 1st)
- Press mMesh button, if you created one, or select “Maxscript/Run script.. select:”mMesh10_Start.ms”
- It ask for folder to save the unityscript, put on desktop for now
- Open the saved text file, copy paste the source to Unity javascript file
- Attach the script to empty game object
- Run.. (pause and zoom into the object, if its not in view)
Donations:
- If you find these scripts useful and especially if you use them for commercial probjects,
consider donating any amount to support future updates. Paypal donation button is there >
UPDATE#2 (old)
Test images: (teapot from Max to Unity, vertices count comparision)
ORIGINAL Teapot in Max: 2082 vertices
![]()
fbx imported model in Unity (2308 vertices)
![]()
mMesh imported model un Unity (2082 vertices, using planar UV here)
![]()
UPDATE#1 (old)
Test results:
- Currently it can “export” standard Max box with 8 vertices, while fbx export makes it 24 vertices.
- Torus knot, fbx export/import: 442 vertices, mMesh export/import: 396 vertices (saved 10% of vertices)
- Side effect: Some limitations with textured UV maps (?)
文中插件下载的地址可能无法访问, 可以在附件中下载! |
|