mMesh (3ds Max mesh to unityscript converter)

Hi,

Test version, something for my own testing learning, but maybe useful for someone else also…

This Maxscript converts your mesh into unity javascript source (which then re-creates the mesh in unity).
There are some limitations still, but if you have any ideas for this, let me know.

Download installation info:

Attached sample exported source from the plugin (for torus mesh)

661248–23650–$mMesh_torus.js (16.5 KB)

nice one,

maybe another nice idea would be to export max splines to Gizmo draw commands to easier create custom Gizmos in Unity3D.
Also a variation to your script could be a script that generates mesh colliders or tries to fit in automatically simplified primitives in a volume for colliders as that’s still something that is a pain to do in Unity.

Is it possible to obtain unencrypted version of maxscript? I’m using it for exporting meshes but missing UV 1 and 2 coordinated.

@mgear Can you PM me please? TY

pm sent.

Latest version has basic UV test export included.

TY,
yesterday I already managed to write exporter from scratch that handle verts, tris, normals, tangents, uv1 and uv2. I think I just forgot to add vertex colors to list. Will do it next time.
I will donate for sure cause there is some stuff that I’m interested in long term…

Yup, there’s no magic happening there - just dump values to text file. Thanks!