Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
appwiki:unity [2022/11/02 06:17] – [Pipeline Connection] ying | appwiki: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:// | ||
+ | * 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: | ||
Line 368: | 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, | - ObjectNameLOD1, | ||
- put all LOD object in a empty group called " | - put all LOD object in a empty group called " | ||
- if not detect, add LOD Group component in Unity object, drag each LOD component to LOD component slot. | - 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..> | ||
+ | - now you have Level of Detail property in 3ds max group noe, then click " | ||
+ | - set LOD0 as 50%-100%, LOD1 as 25%-50%, LOD2 as 0-25%; | ||