Search Unity

3ds max - Multiple Meshes into 1 - Help

Discussion in 'Formats & External Tools' started by etomp10291, May 13, 2011.

  1. etomp10291

    etomp10291

    Joined:
    Jan 11, 2010
    Posts:
    108
    I have a 20k vehicle model built in 3ds max. After building i have many different pieces. Now I have them grouped in max. But that does not combine multiple objects into single when exported.

    When i exported to unity, it created a bunch of seperate meshes and materials.

    How do I combine multiple meshes into single meshes?? Quickest route. I tried converting to editable poly and then using attach, but this will take forever.

    Is there a faster way or a plugin that can help??

    Thanks!
     
  2. etomp10291

    etomp10291

    Joined:
    Jan 11, 2010
    Posts:
    108
    Also, using attach distorted some objects like the tires....
     
  3. larvantholos

    larvantholos

    Joined:
    Oct 29, 2009
    Posts:
    668
    Depends what kind of combine. Tho, editable poly as you suggested above, would be the quickest :) you just need to use select by name, instead of just selecting everything manually. You could also do a boolean operation, which would combine them, altho might be unstable and give you unpredictable results.

    Note, even if they are one object, if your using multiple materials on the object, its going to create multiple materials when imported into unity, theres no way around that - you can bake your textures into a single texture map however, if you don't need specific affects from the multiple textures.
     
  4. makan

    makan

    Joined:
    Jan 8, 2011
    Posts:
    342
    You can use attach list and you should check out maxscript help for attach the objects much faster for example $.editablepoly.attach $box01 $ ....
     
  5. etomp10291

    etomp10291

    Joined:
    Jan 11, 2010
    Posts:
    108
    Thanks for the help!
     
  6. etomp10291

    etomp10291

    Joined:
    Jan 11, 2010
    Posts:
    108
     
  7. Gundark

    Gundark

    Joined:
    Feb 27, 2011
    Posts:
    45
    In 3dsmax you should use collapse. It's the quickest and simplest way, and you won't have problems with multiple maps, but it is adviseble only for the nonmoving parts.
     
    Last edited: May 13, 2011
  8. larvantholos

    larvantholos

    Joined:
    Oct 29, 2009
    Posts:
    668
    If they are all the same material, when you import it into unity it will set the same material on all of them. Otherwise you'll have multiples, you can still manually fix this in unity, but your best bet is if you only need that one material, select them all, select an empty material slot, rename it so you know what it is, and does, and select everyone in your scene that needs this one material, and use the apply to selection and say yes to apply to all selected objects.
     
  9. GameLvr

    GameLvr

    Joined:
    Mar 22, 2009
    Posts:
    115
    As the others have said, use Attach to combine the static meshes. Once attached, you can let max do an auto unwrap and bake a large textures with all of the multi-subObject materials on it. you will get some loss of detail, but it makes handling the mesh lots easier inside Unity. The reason you got distortion of some objects is probably due to linking where one of the parent objects has a non-uniform scale on it.
     
  10. pixellegolas

    pixellegolas

    Joined:
    Apr 10, 2011
    Posts:
    223
    To merge multiple meshes to one so you also skip the pollies inside you have to use BOOLEAN. BOOLEAN will merge and delete everything inside so it becomes one solid object. ATTACH only "groups" the meshes into a mesh but you still have all the polys inside still shown
     
  11. JGattes

    JGattes

    Joined:
    Nov 18, 2015
    Posts:
    10
    pixellegolas, after more than 4 years your answer still proved useful to me. You are correct: only Boolean really solves the issue in the way people would more often desire. Many thanks for that remark.