appwiki:unity

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
appwiki:unity [2022/11/02 05:56] – [Pipeline Connection] yingappwiki:unity [2023/06/18 17:12] (current) – [Pipeline Connection] ying
Line 1: Line 1:
 +====== Unity Hub as tool to install old Visual Studio community edition ======
 +
 +  * install old visual studio community edition become hard and hard, now you need microsoft account, join their free dev essential, dig through page of outdated link, found only allow you download latest community edition
 +    * https://visualstudio.microsoft.com/vs/older-downloads/
 +  * while with unity hub, it auto find correct community edition that works with the unity version
 +    * Unity 2022 = visual studio community edition 2019
 +    * Unity 2018 = visual studio community edition 2017
 +    * Unity 5.3.1 = visual studio community edition 2015
 +
 ====== Python for Unity ====== ====== Python for Unity ======
  
Line 352: Line 361:
  
 ====== Pipeline Connection ====== ====== Pipeline Connection ======
 +
 +  * Maya to fbx to Unity:
 +    * copy texture set to unity first, so unity knows where is texture
 +    * then send fbx, or copy fbx to unity
 +    * then unity will correctly show texture with fbx
 +    * Note, for unit, maya 1 unit is 1cm, Unity 1 unit is 1meter, so either you build in maya in real scale to avoid scale issue
 +      * for one-off case, in unity asset browser, select fbx item, and in right inspector panel, set sale factor to 100 (most case)
 +      * once for all solution, in Maya, set preference unit to meter, then you have to deal with clipping plane of default cameras
 +      * another once for all solution, in fbx export, set Adv options > unit > uncheck auto, file units converted to meter
 +      * best solution, model real world size in Maya, that is cm, so build a cube that is 100 unit as reference. (grid = 120,50)
  
   * Unity to FBX:   * Unity to FBX:
 +    * ref: https://learn.unity.com/tutorial/the-3ds-max-to-unity-pipeline-recorded-learn-live-session?uv=2019.2&projectId=5d646655edbc2a001fcf41b3#5eed6b8fedbc2a001fbbdafc
     * install package: FBX Exporter     * install package: FBX Exporter
-    * setup FBX export integration+    * setup FBX export integration (need to redo per project base for the config to work)
       - in Project Setting, FBX Export tab, choose 3D application to integration (or set manually with browse)       - in Project Setting, FBX Export tab, choose 3D application to integration (or set manually with browse)
       - click Install Unity Integration, choose project folder as "install the integration"       - click Install Unity Integration, choose project folder as "install the integration"
       - wait for 3d app to open in background, and close project setting       - wait for 3d app to open in background, and close project setting
-      - (after move project folder, click Run Component update for refresh relative path)+      - (Run Component update for update old unity fbx plugin)
     * export outline object as linked fbx prefab     * export outline object as linked fbx prefab
       - right click menu on object > Convert to FBX linked prefab       - right click menu on object > Convert to FBX linked prefab
Line 367: Line 387:
       - file > export > export to Unity (support animation), model only with no animation       - file > export > export to Unity (support animation), model only with no animation
       - now, unity window got updated.       - now, unity window got updated.
-      - for LOD+      - for LOD (setup in unity)
         - ObjectNameLOD0 is the object         - ObjectNameLOD0 is the object
         - ObjectNameLOD1, OBjectNameLOD2 is the lod auto linked object name         - ObjectNameLOD1, OBjectNameLOD2 is the lod auto linked object name
-  * 3DS Max to Unity:+        - put all LOD object in a empty group called "ObjectName_LOD_Group", unity will auto detect that 
 +        - if not detect, add LOD Group component in Unity object, drag each LOD component to LOD component slot. 
 +      - for LOD (setup in 3ds max) 
 +        - in the group node, go utilites tab, More..>Level of Detail 
 +        - now you have Level of Detail property in 3ds max group noe, then click "Create New set" to loadd its children LODs 
 +        - set LOD0 as 50%-100%, LOD1 as 25%-50%, LOD2 as 0-25%; 
  
  • appwiki/unity.1667368589.txt.gz
  • Last modified: 2022/11/02 05:56
  • by ying