原地址:http://game.ceeger.com/Manual/HOWTO-ImportObjectMax.html

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 .FBXformat. Saving them in the original .max format is recommended.

如果你是在3D软件中制作的物体那么你可以直接保存为.max格式放到你的工程目录下或者使用Autodesk .FBX格式导入到Unity中。推荐使用.max格式。

Unity currently imports from 3ds Max 
能够从 3ds Max导入unity的资源

  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
    网格模型包含顶点颜色,法线,一到两个uv集。
  3. Materials with diffuse texture and color. Multiple materials per mesh. 
    材质包含贴图以及漫反射颜色,以及单个网格的多维材质。
  4. Animations. 
    动画 。
  5. Bone based animations
    基于骨骼动画

To manually export to FBX from 3DS Max
从3DS MAX手动导出FBX格式资源到Unity

  1. Download the latest fbx exporter from Autodesk website and install it. 
    Autodesk官网下载最新版本的fbx导出插件并安装。
  2. Export your scene (File->Export or File->Export Selected) in .fbx format. Using default export options should be okay. 
    使用.fbx格式导出你的场景 (File->Export or File->Export Selected) ,使用默认的导出设置就可以。
  3. Move the exported fbx file into your Unity project folder. 
    将导出的fbx文件放置到你的工程目录资源文件夹下。
  4. When you switch back into Unity, the .fbx file is imported automatically. 
    当你切换会Unity程序时.fbx文件会自动导入到Unity中。
  5. Drag the file from the Project View into the Scene View. 
    从工程面板将.fbx.文件拖拽到场景中。

Exporter options 导出选项

Using default FBX exporter options (that basically export everything) should be okay in all cases.

使用默认的FBX导出设置(基本上导出一切)是一个不错的选择。

Default FBX exporter options (for fbx plugin version 2009.3)

默认FBX导出设置(2009.3版本FBX插件)

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 
    选择所有的骨骼和IK解算器。
  4. Go to Motion->Trajectories and press Collapse. Unity makes a key filter, so the amount of keys you export is irrelevant 
    转到Motion(运动)->Trajectories(轨迹)面板下执行Collapse(塌陷)。Unity会自动过滤关键帧,因此导出逐帧动画也没有关系。
  5. "Export" or "Export selected" as newest FBX format 
    使用刚刚安装的FBX插件导出全部场景或者选择物体为fbx格式。
  6. Drop the FBX file into Assets as usual 
    将导出的FBX文件放置到资源文件夹下。
  7. In Unity you must reassign the Texture to the Material in the root bone 
    返回Unity你必须在根骨骼中从新指定材质中的贴图资源。

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.

当从3dsmax导出带有骨骼层级和动画的网格物体到Unity时,游戏物体的层级顺序会和你在3ds max大纲视图中看到的一样,唯一的不同就是unity会将游戏物体,骨骼以及动画,网格和材质信息放置到一个新的跟根层级下面。

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.

如果你希望在unity中保持在3dsmax大纲视图中所看到的那样的层级关系,可以将你的网格物体(模型)作为根骨骼的子物体。

Exporting Two UV Sets for Lightmapping 导出2个UV集用于光照贴图

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的渲染到纹理和自动展开UV功能能用来创建光照贴图。注意Unity内置光照贴图工具,但是在你的工作流程中也许你觉得3dsmax更适合你。通常一个UV集用来定位主要的颜色贴图,或者法线贴图,另一个UV集用来定位光照贴图。

Material setup for Lightmapping in 3ds Max, using self-illumination map

材质设置:光照贴图指定到自发光通道

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

注意如果物体用了壳材质,那么使用Autodesk的FBX插件将无法正确的导出UVs。

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.

作为选择,你可以使用多维子材质,就像下图这样使用两个子材质,分别在两个不同的贴图通道中指定漫反射贴图和光照贴图。如果你的模型面上使用了多个材质ID那么导出时会生成多个材质球。不过这样的做法从优化角度来说十分消耗性能。

Alternate Material setup for Lightmapping in 3ds Max, using multi/sub object material

3ds Max中使用多维子材质来设置光照贴图。

Troubleshooting 故障排除

If you have any issues with importing some models: ensure that you have the latest FBX plugin installed. It can be downloaded Autodesk website.

如果你在导出模型的时候遇到一些小问题: 确保你的系统中安装了最新版本的FBX插件。你可以在Autodesk的官网下载FBX插件。

页面最后更新:2010-09-16

从3D Studio Max导入物体 Importing Objects From 3D Studio Max的更多相关文章

  1. 从maya导入物体 Importing Objects From Maya

    原地址:http://game.ceeger.com/Manual/HOWTO-ImportObjectMaya.html Unity natively imports Maya files. To ...

  2. 【3D动画建模设计工具】Maxon Cinema 4D Studio for Mac 20.0

    图标 Icon   软件介绍 Description Maxon Cinema 4D Studio R20 ,是由德国公司Maxon Computer一款适用于macOS系统的3D动画建模设计工具,是 ...

  3. 在android studio中导入github下载的工程

    1.从Github中下载工程压缩包,并将其解压到本地 2.修改文件 假设,解压后的文件目录如下: (1)修改配置文件  xx\build.gradle // Top-level build file ...

  4. Android如何使用so文件和Android studio中导入so

    Android中使用so文件: 做一个PDF阅读的功能,找到一个开源的库,mupdf.下载的是网上编译好的so库,导入到自己项目中的时候一直报错Java.lang.UnsatisfiedLinkErr ...

  5. Android Studio中导入第三方库

    之前开发Android都是使用的eclipse,近期因为和外国朋友Timothy一起开发一款应用,他是从WP平台刚切换使用Android的,使用的开发环境时Android Studio,为了便于项目的 ...

  6. 怎样将android studio项目导入eclipse

    如今,越来越多的开源项目都是用android studio来开发的,所以源码都与eclipse有所不同. 以下是将android studio项目导入eclipse的一般步骤: 1. 先解压项目: 2 ...

  7. 解决 RecyclerView 在Android Studio已经导入情况下还无法实例引用问题

    系统:Windows 10 IDE::android studio 1. 问题:RecyclerView 在Android Studio已经导入情况下还无法实例引用问题 由于RecyclerView是 ...

  8. android studio 自动导入包

    android studio 自动导入包 一.Android studio 的导单个包的快捷键是Alt+Enter (需要选中要导入包的类名再按快捷键才起作用): 二.Android studio 可 ...

  9. Android studio中导入第三方类库

    常常在github上看到一些好用的框架,但是对于一个新手怎样在android studio上导入去总会遇到各种麻烦,索性来研究下第三方类库怎样在android studio上导入. 以我在github ...

随机推荐

  1. C#程序双击运行之后,界面不显示,但是在任务管理器有进程(一个winform找bug之旅)

    最近客户端又出了奇葩事情:http://q.cnblogs.com/q/43038/ 如这篇博问一样.我的一个客户的电脑上程序打开了,进程也有了,就是界面窗体出不来!!! 我是win7是开发机,三四台 ...

  2. PuTTY 中文教程

    PuTTY 中文教程 更新记录 2006-11-29初步完成想写的这些东西 2007-06-11PuTTY 的最新版本到了0.6:修改了一下 SSH 隧道:添加了 SSH 反向隧道:添加了用 SSH ...

  3. 说说oracle中的面向对象与面向集合

    这一篇算是对近期自己学习的一个心得总结 一.oracle的面向对象 SQL是面向集合的这个大家都知道,但是不可否认现在的oracle中有很多地方都体现着面向对象的思维.(这也算是各大语言殊途同归的一个 ...

  4. Linux 编辑器

    vim编辑器 vi作为Unix上的一个编辑器,一直广受欢迎.之后GUN将其移植到开源世界中,经过开发人员对其进行了改善,被称为vi improved,就是现在的vim.为了方便使用,几乎所有的Linu ...

  5. Android实现KSOAP2访问WebService

    Android实现KSOAP2访问WebService 开发工具:Andorid Studio 1.3 运行环境:Android 4.4 KitKat 代码实现 写一个工具类来给主界面使用,作用是使用 ...

  6. gcc 创建库及使用

    gcc -shared hello.c -o libhello.so gcc -o test test.c -L库所在目录 -l库名

  7. [DHCP服务]——一个验证DHCP原理实验(VMware)

    大致实验拓扑图 DHCP Server端的配置 1. 安装DHCP # yum -y install dhcp 2. 拷贝配置文件 # /dhcpd.conf.sample /etc/dhcp/dhc ...

  8. 在windows下使用vs2013编译和调试mysql源代码

    1. 准备工作 1)OS:win10 + VS2013 2)mysql 源码(windows版):mysql-5.6.25.zip 3)perl tool:ActivePerl-5.16.3.1604 ...

  9. vbs操作txt文本文件常用方法(函数)

    创建文件 dim fso, f set fso = server.CreateObject("Scripting.FileSystemObject") set f = fso.Cr ...

  10. U盘安装 Windows XP 原版 ISO 的几点心得

    虽然我一直致力于推动最新操作系统的部署,劝说周围朋友尽快淘汰 Windows XP,但还是难免有一些老电脑.老朋友的电脑,坚持要使用 XP 系统. 这里有几点使用U盘安装 Windows XP 原版 ...