日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

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

發(fā)布時(shí)間:2024/3/26 编程问答 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 dita最佳实践指南_艺术资产–最佳做法指南 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

dita最佳實(shí)踐指南

Unity支持來(lái)自各種程序或來(lái)源的紋理3D模型。 該簡(jiǎn)短指南由游戲美術(shù)師和Unity開(kāi)發(fā)人員共同整理,以幫助您創(chuàng)建在Unity項(xiàng)目中可以更好,更高效地工作的資產(chǎn)。 這將在適當(dāng)時(shí)候合并到文檔中 (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)

規(guī)模和單位 (Scale & Units)

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

    為軟件設(shè)置系統(tǒng)和項(xiàng)目單元,使其與Unity等Metric保持一致

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

      為軟件設(shè)置系統(tǒng)和項(xiàng)目單元,使其與Unity等Metric保持一致

      Files & Objects

      文件和對(duì)象

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

        合理唯一地命名場(chǎng)景中的對(duì)象 -這可以幫助您在項(xiàng)目中查找特定的網(wǎng)格并對(duì)其進(jìn)行故障排除:

      • 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.

        對(duì)于3D應(yīng)用程序中的大型項(xiàng)目,請(qǐng)考慮在Unity項(xiàng)目目錄之外有一個(gè)工作文件–這通常可以避免耗時(shí)的更新并導(dǎo)入不必要的數(shù)據(jù)。

      Sensibly named objects help you find stuff quickly

      合理命名的對(duì)象可幫助您快速查找內(nèi)容

      Mesh

      網(wǎng)眼

      • 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:

        如果多邊形過(guò)多,則可以優(yōu)化您的幾何圖形–許多角色模型將需要智能地優(yōu)化,甚至需要藝術(shù)家(尤其是從以下來(lái)源/構(gòu)建的模型)進(jìn)行重建:

          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.

          用于構(gòu)造對(duì)象的方法會(huì)對(duì)多邊形的數(shù)量產(chǎn)生巨大影響,尤其是在未優(yōu)化的情況下。 觀察相同形狀的網(wǎng)格: 156個(gè)三角形(右)對(duì)726 (左)。 726聽(tīng)起來(lái)可能不像很多多邊形,但是如果在某個(gè)級(jí)別中使用40次,您將真正開(kāi)始看到節(jié)省的地方。 一個(gè)好的經(jīng)驗(yàn)法則通常是從簡(jiǎn)單開(kāi)始,并在需要的地方添加細(xì)節(jié)。 添加多邊形總是比刪除多邊形容易。

          貼圖 (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:

          如果針對(duì)特定的紋理尺寸(例如2的冪)進(jìn)行創(chuàng)作,則紋理的效率更高,并且不需要在構(gòu)建時(shí)進(jìn)行縮放,最大可達(dá)4096×4096像素,例如512×512或256×1024等(2048×2048最高在許多圖形卡/平臺(tái)上,有很多在線專業(yè)知識(shí)可以創(chuàng)建良好的紋理,但是其中一些準(zhǔn)則可以幫助您從項(xiàng)目中獲得最有效的結(jié)果:

          • 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).

            在您的統(tǒng)一項(xiàng)目之外使用高分辨率源文件 可能是一種很好的工作方式(例如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.

            使用場(chǎng)景中所需的紋理分辨率輸出 (例如,保存副本–例如256×256優(yōu)化的PNG或TGA文件),您可以基于將在哪里看到紋理以及將其映射到哪里做出判斷。

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

            將輸出紋理文件一起存儲(chǔ)在Unity項(xiàng)目中,例如: \ Assets \ textures

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

            保存/導(dǎo)出時(shí),請(qǐng)確保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.

            充分利用紋理中的可用空間 ,但是請(qǐng)注意,需要相同紋理的不同部分的不同材料最終可能會(huì)多次加載該紋理而最終消失。

          1 texture (left) vs 3 textures (right)

          1個(gè)紋理(左)與3個(gè)紋理(右)

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

            利用平鋪紋理 (無(wú)縫重復(fù)),然后可以在空間上使用更好的分辨率重復(fù)。

          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負(fù)責(zé)輸出平臺(tái)的壓縮 ,因此,除非您的源已經(jīng)是正確分辨率的JPG,否則最好對(duì)紋理使用無(wú)損格式。

          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

            組織命名場(chǎng)景中的材質(zhì)-這樣,您可以在導(dǎo)入材質(zhì)時(shí)更輕松地在Unity中查找和編輯材質(zhì)

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

            您可以選擇從Unity中創(chuàng)建材料:

            • <modelname>-< material name> or:

              <型號(hào)名稱>-< 材料名稱> 或 :

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

              < 紋理名稱> –確保您知道想要哪個(gè)。

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

            本機(jī)包中的材料設(shè)置不會(huì)全部導(dǎo)入為統(tǒng)一的:

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

              本機(jī)包中的材料設(shè)置不會(huì)全部導(dǎo)入為統(tǒng)一的:

            進(jìn)出口 (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應(yīng)用程序文件導(dǎo)出的3D格式-您決定使用的格式可能非常重要:

            保存的應(yīng)用程序文件 (Saved application files)

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

            Unity可以通過(guò)轉(zhuǎn)換導(dǎo)入: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:

            優(yōu)點(diǎn):

              Disadvantages:

              缺點(diǎn):

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

                該軟件的許可副本必須使用Unity項(xiàng)目安裝在所有機(jī)器上

              導(dǎo)出的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文件-有關(guān)常規(guī)導(dǎo)出指南,您可以在這里參考:

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

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

              Advantages:

              優(yōu)點(diǎn):

                Disadvantages:

                缺點(diǎn):

                  角色與動(dòng)畫 (Characters & Animation)

                  Coming soon!

                  快來(lái)了!

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

                  dita最佳實(shí)踐指南

                  總結(jié)

                  以上是生活随笔為你收集整理的dita最佳实践指南_艺术资产–最佳做法指南的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

                  如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。