Version: 2017.2
Importing Objects From Cinema 4D
Importing Objects From Cheetah3D

Importing Objects From 3D Studio Max

If you make your 3D objects in 3dsMax, you can save your .max files directly into your Project or export them into Unity using the Autodesk .FBX or other generic formats. Unity imports meshes from 3ds Max. Saving a Max file or exporting a generic 3D file type each has advantages and disadvantages see class-Mesh

  1. All nodes with position, rotation and scale. Pivot points and Names are also imported.
  2. Meshes with vertex colors, normals and one or two UV sets (see below).
  3. Materials with diffuse texture and color. Multiple materials per mesh.
  4. Animations.
  5. Bone based animations (see below).

To manually export to FBX from 3DS Max

  1. Download the latest fbx exporter from Autodesk website and install it.
  2. Export your scene or selected objects (File->Export or File->Export Selected) in .fbx format. Using default export options should be okay.
  3. Copy the exported fbx file into your Unity project folder.
  4. When you switch back into Unity, the .fbx file is imported automatically.
  5. Drag the file from the Project View into the Scene View.

Exporter options

Using default FBX exporter options (that basically export everything) you can choose:

Embed textures - this stores the image maps in the file, good for portability, not so good for file size

Default FBX exporter options (for fbx plugin version 2013.3)

Exporting Bone-based Animations

There is a procedure you should follow when you want to export bone-based animations:

  1. Set up the bone structure as you please.
  2. Create the animations you want, using FK and/or IK
  3. Select all bones and/or IK solvers
  4. Go to Motion->Trajectories and press Collapse. Unity makes a key filter, so the amount of keys you export is irrelevant
  5. “Export” or “Export selected” as newest FBX format
  6. Drop the FBX file into Assets as usual
  7. In Unity you must reassign the Texture to the Material in the root bone

When exporting a bone hierarchy with mesh and animations from 3ds Max to Unity, the GameObject hierarchy produced will correspond to the hierarchy you can see in “Schematic view” in 3ds Max. One difference is Unity will place a GameObject as the new root, containing the animations, and will place the mesh and material information in the root bone.

If you prefer to have animation and mesh information in the same Unity GameObject, go to the Hierarchy view in 3ds Max, and parent the mesh node to a bone in the bone hierarchy.

Exporting morph targets (blend shapes) from Max

  1. Ensure you have the Morpher Modifier applied to the export mesh with appropriate morph targets set up in the Channel List
  2. Animate keyframes on the Export mesh/modifier only if you require animation
  3. Check animation > Deformations, Skins if required and then Morphs in the FBX export dialogue

Exporting Two UV Sets for Lightmapping

3ds Max’ Render To Texture and automatic unwrapping functionality can be used to create lightmaps. Note that Unity has built-in lightmapper, but you might prefer using 3dsmax if that fits your workflow better. Usually one UV set is used for main texture and/or normal maps, and another UV set is used for the lightmap texture. For both UV sets to come through properly, the material in 3ds Max has to be Standard and both Diffuse (for main texture) and Self-Illumination (for lightmap) map slots have to be set up:

3ds Max 中的光照贴图的材质设置(使用自发光贴图)
3ds Max 中的光照贴图的材质设置(使用自发光贴图)

Note that if object uses a Shell material type, then current Autodesk’s FBX exporter will not export UVs correctly.

Alternatively, you can use Multi/Sub Object material type and setup two sub-materials, using the main texture and the lightmap in their diffuse map slots, like shown below. However, if faces in your model use different sub-material IDs, this will result in multiple materials being imported, which is not optimal for performance.

3ds Max 中的光照贴图的另一种材质设置(使用多维/子对象材质)
3ds Max 中的光照贴图的另一种材质设置(使用多维/子对象材质)

故障排除

If you have any issues with importing some models: ensure that you have the latest FBX plugin installed from Autodesk website or revert to FBX 2012.

Importing Objects From Cinema 4D
Importing Objects From Cheetah3D
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961