{"id":88,"date":"2011-08-15T01:48:41","date_gmt":"2011-08-14T22:48:41","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=88"},"modified":"2013-01-14T00:28:10","modified_gmt":"2013-01-13T21:28:10","slug":"wip-3dsmax-to-unity-mesh-maker","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2011\/08\/15\/wip-3dsmax-to-unity-mesh-maker\/","title":{"rendered":"WIP: 3ds Max to Unity Mesh(update#3)"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"107\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2011\/08\/15\/wip-3dsmax-to-unity-mesh-maker\/mmesh1intro\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh1intro.jpg?fit=680%2C589&amp;ssl=1\" data-orig-size=\"680,589\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"mmesh1intro\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh1intro.jpg?fit=680%2C589&amp;ssl=1\" class=\"alignnone size-full wp-image-107\" title=\"mmesh1intro\" alt=\"\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh1intro.jpg?resize=680%2C589\" width=\"680\" height=\"589\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh1intro.jpg?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh1intro.jpg?resize=300%2C259&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<p>Mesh transfer script from 3DS Max to Unity.<br \/>\nIt converts 3DSMax mesh to unityscript (javascript), so you have full control over the mesh creation.<\/p>\n<p><strong>And whats the point of it?<\/strong> To avoid these:<br \/>\n<a href=\"http:\/\/answers.unity3d.com\/questions\/61597\/vertex-count-10-times-higher-in-unity.html\" target=\"_blank\">http:\/\/answers.unity3d.com\/questions\/61597\/vertex-count-10-times-higher-in-unity.html<\/a><br \/>\n<a href=\"http:\/\/answers.unity3d.com\/questions\/37435\/why-is-unity-got-more-vertices-than-3dsmax.html\" target=\"_blank\">http:\/\/answers.unity3d.com\/questions\/37435\/why-is-unity-got-more-vertices-than-3dsmax.html<\/a><\/p>\n<p>Using this plugin you\u00a0 get less vertices on your model (compared to fbx imported model).<\/p>\n<p><strong>UPDATE#3<\/strong> (16.08.2011)<br \/>\nBeta version released in the forum: <a href=\"http:\/\/forum.unity3d.com\/threads\/100857-mMesh-%283ds-Max-mesh-to-unityscript-converter%29?p=661248#post661248\" target=\"_blank\">http:\/\/forum.unity3d.com\/threads\/100857-mMesh-%283ds-Max-mesh-to-unityscript-converter%29?p=661248#post661248<\/a><\/p>\n<p><strong>Download max script\/plugin:<\/strong> (tested on 3DsMax 2010 &#8211; 64bit)<br \/>\n<a href=\"http:\/\/www.mediafire.com\/?aeshaa3gtaqdk5j\" target=\"_blank\">http:\/\/www.mediafire.com\/?aeshaa3gtaqdk5j<\/a><\/p>\n<p>*New: <strong>MaxScript Source<\/strong> (unencrypted) : 0.5eur [digishop id=&#8221;9&#8243;]<\/p>\n<p><strong>Installation: <\/strong><strong>3ds Max Script Installation<\/strong>\/<br \/>\n&#8211; Copy &#8220;mMesh10.mse&#8221; to your 3ds Max scripts-folder (usually c:\/program files\/autodesk\/3ds max 20xx\/scripts\/)<br \/>\n&#8211; Copy &#8220;mMesh10_Start.ms&#8221; to your 3ds Max scripts-folder (usually c:\/program files\/autodesk\/3ds max 20xx\/scripts\/)<br \/>\n&#8211; Run the script from 3DSMax menu: Maxscript \/ Run script&#8230; browse for the script, select &#8220;mMesh10_Start.ms&#8221; and run it (this adds menu item)<br \/>\n&#8211; Now go to menu: Customize \/ Customise user interface..<br \/>\n&#8211; Go to &#8220;Toolbars&#8221; tab, Group: Main UI, Category: mMesh<br \/>\n&#8211; Drag the script from the cction list named &#8220;mMesh&#8221; to your toolbar (existing or create new)<\/p>\n<p><strong>Usage:<\/strong><br \/>\n&#8211; Select 1 object (try simple box 1st)<br \/>\n&#8211; Press mMesh button, if you created one, or select &#8220;Maxscript\/Run script.. select:&#8221;mMesh10_Start.ms&#8221;<br \/>\n&#8211; It ask for folder to save the unityscript, put on desktop for now<br \/>\n&#8211; Open the saved text file, copy paste the source to Unity javascript file<br \/>\n&#8211; Attach the script to empty game object<br \/>\n&#8211; Run.. (pause and zoom into the object, if its not in view)<\/p>\n<p><strong>Donations<\/strong>:<br \/>\n&#8211; If you find these scripts useful and especially if you use them for commercial probjects,<br \/>\nconsider donating any amount to support future updates. Paypal donation button is there &gt;<\/p>\n<p><strong>UPDATE#2 (old)<br \/>\nTest images:<\/strong> (teapot from Max to Unity, vertices count comparision)<\/p>\n<p><strong>ORIGINAL<\/strong> Teapot in Max: <span style=\"text-decoration: underline;\">2082 vertices<\/span><br \/>\n<a href=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_original.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"98\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2011\/08\/15\/wip-3dsmax-to-unity-mesh-maker\/mmesh_original\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_original.jpg?fit=681%2C518&amp;ssl=1\" data-orig-size=\"681,518\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"mmesh_original\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_original.jpg?fit=681%2C518&amp;ssl=1\" class=\"alignnone size-full wp-image-98\" title=\"mmesh_original\" alt=\"\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_original.jpg?resize=681%2C518\" width=\"681\" height=\"518\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_original.jpg?w=681&amp;ssl=1 681w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_original.jpg?resize=300%2C228&amp;ssl=1 300w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/a><\/p>\n<p><strong>fbx imported model in Unity<\/strong> (<span style=\"text-decoration: underline;\">2308 vertices<\/span>)<br \/>\n<a href=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_fbxteapot.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"97\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2011\/08\/15\/wip-3dsmax-to-unity-mesh-maker\/mmesh_fbxteapot\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_fbxteapot.jpg?fit=680%2C534&amp;ssl=1\" data-orig-size=\"680,534\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"mmesh_fbxteapot\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_fbxteapot.jpg?fit=680%2C534&amp;ssl=1\" class=\"alignnone size-full wp-image-97\" title=\"mmesh_fbxteapot\" alt=\"\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_fbxteapot.jpg?resize=680%2C534\" width=\"680\" height=\"534\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_fbxteapot.jpg?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_fbxteapot.jpg?resize=300%2C235&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n<p><strong>mMesh imported model un Unity<\/strong> (<span style=\"text-decoration: underline;\">2082 vertices<\/span>, using planar UV here)<br \/>\n<a href=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_mmeshteapot.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"99\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2011\/08\/15\/wip-3dsmax-to-unity-mesh-maker\/mmesh_mmeshteapot\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_mmeshteapot.jpg?fit=680%2C424&amp;ssl=1\" data-orig-size=\"680,424\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"mmesh_mmeshteapot\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_mmeshteapot.jpg?fit=680%2C424&amp;ssl=1\" class=\"alignnone size-full wp-image-99\" title=\"mmesh_mmeshteapot\" alt=\"\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_mmeshteapot.jpg?resize=680%2C424\" width=\"680\" height=\"424\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_mmeshteapot.jpg?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh_mmeshteapot.jpg?resize=300%2C187&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n<p><strong>UPDATE#1 (old)<br \/>\nTest results:<\/strong><br \/>\n&#8211; Currently it can &#8220;export&#8221; standard Max box with 8 vertices, while fbx export makes it 24 vertices.<br \/>\n&#8211; Torus knot, fbx export\/import: 442 vertices, mMesh export\/import: 396 vertices (saved 10% of vertices)<br \/>\n&#8211; Side effect: Some limitations with textured UV maps (?)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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\u00a0 get less vertices on your model [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":107,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3,26],"tags":[27,21,18,5,28,758],"class_list":["post-88","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-unity3d","category-wip","tag-3ds-max","tag-editor-script","tag-javascript","tag-mesh","tag-plugin","tag-wip"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mmesh1intro.jpg?fit=680%2C589&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-1q","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/88","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=88"}],"version-history":[{"count":18,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/88\/revisions"}],"predecessor-version":[{"id":92,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/88\/revisions\/92"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/107"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}