dita最佳实践指南_艺术资产–最佳做法指南

dita最佳实践指南

Unity支持来自各种程序或来源的纹理3D模型。 该简短指南由游戏美术师和Unity开发人员共同整理,以帮助您创建在Unity项目中可以更好,更高效地工作的资产。 这将在适当时候合并到文档中 (Unity supports textured 3D models from a variety of programs or sources. This short guide has been put together by games artists with developers at Unity, to help you create assets that work better and more efficiently in your Unity project. This will be incorporated into the documentation in due course)

规模和单位 (Scale & Units)

  • Set your system and project units  for your software to work consistently with Unity e.g. Metric.

    为软件设置系统和项目单元,使其与Unity等Metric保持一致

      Set your system and project units  for your software to work consistently with Unity e.g. Metric.

      为软件设置系统和项目单元,使其与Unity等Metric保持一致

      Files & Objects

      文件和对象

      • Name objects in your scene sensibly and uniquely – this can help you locate and troubleshoot specific meshes in your project:

        合理唯一地命名场景中的对象 -这可以帮助您在项目中查找特定的网格并对其进行故障排除:

      • With big projects in your 3D application, consider having a working file outside your Unity project directory – this can often avert time consuming updates and importing unnecessary data.

        对于3D应用程序中的大型项目,请考虑在Unity项目目录之外有一个工作文件–这通常可以避免耗时的更新并导入不必要的数据。

      Sensibly named objects help you find stuff quickly

      合理命名的对象可帮助您快速查找内容

      Mesh

      网眼

      • Optimise your geometry if it has too many polygons – many character models will need to be intelligently optimised or even rebuilt by an artist esp if sourced/built from:

        如果多边形过多,则可以优化您的几何图形–许多角色模型将需要智能地优化,甚至需要艺术家(尤其是从以下来源/构建的模型)进行重建:

          Stairway to framerate heaven

          通往天堂的阶梯

          The method you use to construct objects can have a massive affect on the number of polygons, especially when not optimised. Observe the same shape mesh : 156 triangles (right) vs 726 (left). 726 may not sound like a great deal of polygons, but if this is used 40 times in a level, you will really start to see the savings. A good rule of thumb is often to start simple and add detail where needed. It’s always easier to add polygon than take them away.

          用于构造对象的方法会对多边形的数量产生巨大影响,尤其是在未优化的情况下。 观察相同形状的网格: 156个三角形(右)对726 (左)。 726听起来可能不像很多多边形,但是如果在某个级别中使用40次,您将真正开始看到节省的地方。 一个好的经验法则通常是从简单开始,并在需要的地方添加细节。 添加多边形总是比删除多边形容易。

          贴图 (Textures)

          Textures are more efficient and don’t need rescaling at build time if authored to specific texture sizes – e.g a power of two – up to 4096×4096 pixels, e.g. 512×512 or 256×1024 etc.  (2048×2048 is the highest on many graphics cards/platforms) there is lots of expertise online for creating good textures, but some of these guidelines can help you get the most efficient results from your project:

          如果针对特定的纹理尺寸(例如2的幂)进行创作,则纹理的效率更高,并且不需要在构建时进行缩放,最大可达4096×4096像素,例如512×512或256×1024等(2048×2048最高在许多图形卡/平台上,有很多在线专业知识可以创建良好的纹理,但是其中一些准则可以帮助您从项目中获得最有效的结果:

          • Working with a Hi-res source file outside your unity project can be good working practice (such as a PSD or Gimp file – you can always downsize from source but not the other way round).

            在您的统一项目之外使用高分辨率源文件 可能是一种很好的工作方式(例如PSDGimp文件–您始终可以从源文件中缩小尺寸,但反之则不行)。

          • Use the texture resolution output you require in your scene (e.g. save a copy – such as a 256×256 optimised PNG or a TGA file for example) you can make a judgement based on where the texture will be seen and where it is mapped.

            使用场景中所需的纹理分辨率输出 (例如,保存副本–例如256×256优化的PNG或TGA文件),您可以基于将在哪里看到纹理以及将其映射到哪里做出判断。

          • Store your output texture files together in your Unity project for example: \Assets\textures

            将输出纹理文件一起存储在Unity项目中,例如: \ Assets \ textures

          • Make sure your 3D working file is referring to the same textures for consistency when you save/export.

            保存/导出时,请确保3D工作文件引用的纹理相同,以确保一致性。

          • Make use of the available space in your texture, but be aware of different materials requiring different parts of the same texture can end up using loading that texture multiple times.

            充分利用纹理中的可用空间 ,但是请注意,需要相同纹理的不同部分的不同材料最终可能会多次加载该纹理而最终消失。

          1 texture (left) vs 3 textures (right)

          1个纹理(左)与3个纹理(右)

          • Make use of tiling textures (which seamlessly repeat) then you can use better resolution repeating over space.

            利用平铺纹理 (无缝重复),然后可以在空间上使用更好的分辨率重复。

          Tiling textures ftw

          平铺纹理

          • Unity takes care of compression for the output platform, so unless your source is already a JPG of the correct resolution it’s better to use a lossless format for your textures.

            Unity负责输出平台的压缩 ,因此,除非您的源已经是正确分辨率的JPG,否则最好对纹理使用无损格式。

          Window Tax

          Do you need ALL those windows?

          您需要所有这些窗户吗?

          用料 (Materials)

          • Organise and name the materials in your scene – this way you can find and edit your materials in Unity more easily when they’ve imported

            组织命名场景中的材质-这样,您可以在导入材质时更轻松地在Unity中查找和编辑材质

          • You can choose to create materials in Unity from either:

            您可以选择从Unity中创建材料:

            • <modelname>-< material name> or:

              <型号名称>-< 材料名称>

            • <texture name> – make sure you are aware of which you want.

              < 纹理名称> –确保您知道想要哪个。

          • Settings for materials in your native package will not all be imported to unity:

            本机包中的材料设置不会全部导入为统一的:

              Settings for materials in your native package will not all be imported to unity:

              本机包中的材料设置不会全部导入为统一的:

            进出口 (Import/Export)

            Unity can use two types of files: Saved 3D application files and Exported 3D formats – which you decide to use can be quite important:

            Unity可以使用两种类型的文件: 保存的3D应用程序文件导出的3D格式-您决定使用的格式可能非常重要:

            保存的应用程序文件 (Saved application files)

            Unity can import, through conversion:  Max, Maya, Blender, Cinema4D, Modo, Lightwave & cheetah3D files, e.g. .MAX, .MB, .MA etc.

            Unity可以通过转换导入:Max,Maya,Blender,Cinema4D,Modo,Lightwave和cheetah3D文件,例如.MAX,.MB,.MA等。

            http://unity3d.com/support/documentation/Manual/HOWTO-importObject.html

            http://unity3d.com/support/documentation/Manual/HOWTO-importObject.html

            Advantages:

            优点:

              Disadvantages:

              缺点:

              • A licensed copy of that software must be installed on all machines using the Unity project

                该软件的许可副本必须使用Unity项目安装在所有机器上

              导出的3D格式 (Exported 3D formats)

              Unity can also read FBX, OBJ, 3DS, DAE & DXF files – for a general export guide you can refer here:

              Unity还可以读取FBX,OBJ,3DS,DAE和DXF文件-有关常规导出指南,您可以在这里参考:

              http://unity3d.com/support/documentation/Manual/HOWTO-exportFBX.html

              http://unity3d.com/support/documentation/Manual/HOWTO-exportFBX.html

              Advantages:

              优点:

                Disadvantages:

                缺点:

                  角色与动画 (Characters & Animation)

                  Coming soon!

                  快来了!

                  翻译自: https://blogs.unity3d.com/2011/09/02/art-assets-best-practice-guide/

                  dita最佳实践指南

                  • 0
                    点赞
                  • 0
                    收藏
                    觉得还不错? 一键收藏
                  • 0
                    评论
                  评论
                  添加红包

                  请填写红包祝福语或标题

                  红包个数最小为10个

                  红包金额最低5元

                  当前余额3.43前往充值 >
                  需支付:10.00
                  成就一亿技术人!
                  领取后你会自动成为博主和红包主的粉丝 规则
                  hope_wisdom
                  发出的红包
                  实付
                  使用余额支付
                  点击重新获取
                  扫码支付
                  钱包余额 0

                  抵扣说明:

                  1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
                  2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

                  余额充值