2012/02/23ã3DCGãã¼ã«ã¨Unityã«ããã²ã¼ã éçºå®è·µã»ããã¼ãã¬ãã¼ãããã®ï¼ï¼ã»ã¬éçºäºä¾
ããã»ããã¼ããï¼ã¶æã»ã©ãã£ã¦ãã¾ãã¾ãããããªãã¨ããæå¾ã®è¨äºãæ¸ãããã§ãã
第ï¼é¨ã¯ãã»ã¬ã§ã®äºä¾ã
Autodesk Areaã®mayaã³ã©ã ãé£è¼ããã¦ãããã»ã¬ã®ç¯å³¶æ§ã®è¬æ¼ã§ãã
読んで触ってよくわかる!Mayaを使いこなす為のAtoZ
â»åèè¨äºããã£ã¡ã®ã»ããããããããããã
â Unityã§iPhoneåãã²ã¼ã ãä½ãï¼
- iPhone4ã§3Dã»ã»ã»ç¹å¾´ãæé©åã®æ¹æ³
- ã·ã¼ã³ç®¡ç
- ã²ã¼ã ã¨ã³ã¸ã³ã¨ã³ã³ãã³ãå·¥å¦
âトーンマッピング参考
âブルーム参考
â ãµã³ãã«ã²ã¼ã
FPSãmayaâiPhone4ç¨ã«æé©åãã¦ããã
- ã«ã¡ã©ã«è¿ãè ãã¦ã¯ã¬ã¬ï¼æ¦å¨ï¼ã«ã¯æ³ç·ãããã
- ã©ã¤ãã¯Unityã®ã©ã¤ããããç¼ããã¿ãé常ã«ç¶ºéºã
- ã©ã¤ããããã¯ããªã¢ã«ã¿ã¤ã ã«åãæ¿ãã¦ãããã©ã¤ããã«ã¼ã使ç¨ã
- ãã©ã°ãæ°´ãæµãããªã©ã®è¡¨ç¾
- å°é¢ã®ã¢ãã«ããã®ã¾ã¾ã³ãªã¸ã§ã³ã¨ãã¦ä½¿ç¨ã
âライトマップ参考
ã©ã¤ããã«ã¼ãã¯ãã®ã»ããã¼ã®第1回記事ã§è§¦ãã¦ã¾ãã
æ¦å¨ãã¦ã¯ã¬ã¬ã¨ãã©ããªã²ã¼ã ã ãã¨æãã¾ããï¼ã»ã¬ãããï¼ã»ã»ã»ç»é¢åçãªãã¨ããããããªãã§ããã
æé©åã¯ãUnityã®ããã¥ã¢ã«ã«æ¸ãã¦ãããã¨ãæ£ããã
- ãã ãå ·ä½ä¾ãå°ãªãã
- iPhone3Gãããããã¼ã¹ã«ãã¦ã風ãªã®ã§ãä»ã¨ãªã£ã¦ã¯ã¹ããã¯ãä½ãæ©ç¨®åãã®æé©åæ¹æ³ããã
â iPhone4ã®ç¹å¾´
- ãã¯ã¹ãã£ã大ãã使ããï¼
- Unityã®ã©ã¤ãããããæå¹ã綺éºï¼
- ãµã³ãã«ã²ã¼ã ã®ã·ã¼ã³ã ã¨ã1024Ã1024ã5æ使ç¨ã
- ããããé ç¹ã«ã©ã¼ã使ããªãã
- Unityã«ã·ã§ã¼ããç¡ãã
- ã¬ã¤ã¤ã¼åããããã¯ã¹ãã£ãããã大ããª1æã®ãã¯ã¹ãã£ãæå¹ã
- åæ§ã«ã¿ã¤ãªã³ã°ãããããã¿ãã¨è²¼ãã®ãæå¹ãï¼ãµã³ãã«ã®å°é¢ã§ã¯2048Ã2048ï¼
- ã©ã¤ããç¼ããã¾ããã«ã©ã¼ãã¯ã¹ãã£1æãæé«ï¼ï¼
- Unityã®AnisoLevelãä¸ãã¦ãã³ã¹ããç¡ãã
- ç°æ¹æ§ãã£ã«ã¿ãªã³ã°ã®å¤ï¼ã¿ããã§ããã
- é ç¹æ³ç·ãããããªãã»ããããã
- ããããããã®è¨å®é ç®ãç¡ãã
- 代ããã«ãåè¿°ã®AnisoLevelã6ãããã«ä¸ãã¦ãOKã
- ã©ã¤ããããã®æ°å¤ã¯ããã©ã«ãã§3ã¨ãã
â参考:異方性フィルタリング
â参考:ミップマップ
å
¨ã¦éè¦ãªæ
å ±ï¼
AnisoLevelã¨ããã©ããªå¤åãåºãã®ãããããã£ã¦ãªãã§ãã
ï¼ãã¶ããã¯ã¹ãã£ã®ãã£ã«ã¿ãªã³ã°ã®ãããå
·åã ã¨æãã®ã ãã©ï¼
å®éæ°å¤å
¥ãã¦è©¦ãã¦ã¿ãªãã¨ããã¾ãããã
Retinaディスプレイã¯ãé«è§£å度ã®ããã¢ã³ããããªãã¦ã綺éºã
ï¼Retinaã¯iPhone4以éæ¡ç¨ããã¦ãããã£ã¹ãã¬ã¤æ¹å¼ãæ°ããiPadã§ãï¼
- Unityã®ã¨ãã£ã¿ã§ãã£ããã¨è¦ãããã¯ã¹ãã£ã¯ãããããµã¤ãºã大ããããã
- âï¼æ®µé大ãããä¸ããã»ããããã
â æé©åã§æ³¨ç®ããç¹
- DrawCallæ°ã»ã»ã»å°ãªãã»ã©ããï¼
- -
200以ä¸â15fps
100â30fps
50â60fps
- -
- ãããªã¢ã«ã®æ°ãå°ãªãï¼âUnityã®stutsã§æ å ±è¦ããã
- ãã¯ã¹ãã£ã®æ°ãå°ãªãï¼âæµç¨ãå¢ããã
- ã©ã¤ããããã使ãã°ããããªã«æ°ã«ãªããªãã
- ã¢ãã©ã¹ï¼ãã¯ã¹ãã£ãã¾ã¨ããï¼ï¼
DrawCallæ°ã¯æç»ã®åæ°ã ã¨æãã®ã§ãããããã¯æ¸ããã°åç´ã«è»½ããªãã¾ãã
ãã¯ã¹ãã£ã¾ã¨ãããã¨ã¢ãã©ã¹ã£ã¦å¼ã¶ã®ããã¾ããããã ããã
- Batchæ°
- Unityã§èªåçã«ã¾ã¨ãããããªãã¸ã§ã¯ãã®æ°
- åããªããã®ã¯Staticã«ãã¦ããã¨ãã¾ã¨ããããã
- å®è¡æã«ãConvinedMeshã¨ãã¦æ°ã確èªã§ããã
- Batchæ°ãå¤ããã°ãããã¾ã¨ã¾ã£ã¦ããè¯ããã¼ã¿ãâDrawCallãæ¸ãï¼
- éã«å¤ããã¦ãéããªããâ50以ä¸ããããæ°100ã¨ãã¯å¤ãããã
Unityã®ããã¥ã¢ã«ã«ãããIn Summary, Convine!ãï¼ã¨ã«ããã¾ã¨ããï¼ï¼ã¨æ¸ãã¦ããããã§ãww
- ãµã³ãã«ãã¼ã¿ã§ã¯â¦
- 1500ã4000ããªãããã®åä½ã§ã¾ã¨ãã¦ããï¼
- ã¾ã¨ãããæ©ããªã£ãã
- DrawCallãæ¸ããBatchãæ¸ãã
- ãã ããã¶ã¤ãã¼ã管çããããããã«ãå ¨é¨ã¾ã¨ããå¿ è¦ã¯ãªãã
- å¾æ¥éããmayaã§ã¬ã¤ã¢ã¦ãããã
- Unityã§ãã¬ããåãã¦é ç½®ããã®ã¯ãiPhoneåãã§ã¯ãªãããï¼
â é ç¹æ°
- ããªã´ã³æ°ããããé ç¹æ°ãéè¦
- 50000é ç¹ãããã§ï¼ããã¯ãããåä½ã®è©±ã ã¨æããï¼
- æ³ç·ãå°ãªããã½ããã¨ãã¸ãæå¹ã
- UVé ç¹ããªãã¹ããã£ã¤ããã
- ã©ã¤ãããããç¼ãä»ããå¾ã¯ãæ³ç·ãæ¨ã¦ãã°ããã
- Normalizeãã®ãã§ãã¯ããNoneãã«ããã
ãã®ã¸ãã¯ãåãä»å¥ä»¶ã§ãã£ã¦ãæºå¸¯æ©ã®ã¹ããã¯ã¨ã»ã¼åçã§ãããããªã´ã³æ°ãããé ç¹æ°ã
UVãæ³ç·ãåãç®ãããã¨ããã§é ç¹ãå¢ãã¦ãã¾ãã®ã§ããããé¿ãããã¼ã¿ä½ããå¿
è¦ã
â ä½ãéãã®ãï¼
- ãªã¢ã«ã¿ã¤ã ã©ã¤ãã£ã³ã°
- ã©ã¤ãããããç¼ãä»ããã»ããããã
- æç»é¢ç©ãå°ãããã°ããªã¢ã«ã¿ã¤ã ã§ãæå¹ãç»é¢è¿ãã«æ¥ãªãããã«ã
- ï¼ããããåä¸ãããªã¢ã«ã«ï¼3æ以ä¸ã®ãã¯ã¹ãã£ãè²¼ãã¨éãã
- ã«ã©ã¼ãæ³ç·ãã¹ããã¥ã©ã¼ã®ã»ããã§ãã§ã«éãã
- ã¹ããã¥ã©ã¯ã«ã©ã¼ãããã®ã¢ã«ãã¡å¤ã«å ¥ããã¨ãã§è§£æ±ºã§ããã
- ãã©ã°ã¯ï¼
- ããã§ããªãããã«ãªã³ã°ã¯å¿ è¦ã
- åéæã¯ï¼ç¸å¤ãããï¼å±éºï¼
- ãã£ã«ã¬ã¼ããä½ãã
- é¢ç©ãéãåãããå°ããããã¨ãçµæ§è¡ããã大ãããªããã°ã
- ãã³ãã¹ã«ã¼ï¼CutOutï¼ã¯éãï¼
âカリングについてãæè¿ã¯ãé®è½ãèªåçã«æ¤åºããOcclusion Cullingãªãã¦ææ³ãããã¾ãããåºæ¬ã¯æåè¨å®ã§ãã
âãã£ã«ã¬ã¼ãåèè¨äºï¼ピクセルフィルレート
â æ©ãããæ¹æ³ï¼ï¼
- ã¾ãã¯ã«ãªã³ã°ï¼ï¼
- ãããã¯å£ã¨ãã§é®ã£ã¦ãé ããè¦ããªããã工夫ãã
- ã¹ããã³ã°ãªãã¸ã§ã¯ããå°ãªãã
- ã¸ã§ã¤ã³ãæ°ãå°ãªãã
- 親åé¢ä¿ããã¯ãã¹ããã³ã°ã®æ¹ãè¯ãã
- (mayaã§ããã¨ï¼1skinClusterã1ãããªã¢ã«ããã¹ãï¼
- ã©ã¤ããããã使ãã°ããã¼ããªã´ã³ã§ã綺éºã«AOï¼ã¢ã³ãã¨ã³ãã»ãªã¯ã«ã¼ã¸ã§ã³ï¼ãå ¥ãã
- ã©ã¤ãããããªãã©ã¤ããããããããã
- ãããã¯50000é ç¹ãããã§ä½æãã¦ããã
- ã³ãªã¸ã§ã³æãã¯ããªãã®ã§ãå°é¢ã®ããªã¨ãã¯æãåã£ã¦æ¸ããã¦ãOKã
- 空
- Unityã®SkyBoxã¯ç¶ºéºãªã®ã§ä½¿ãããã®ã ãã©ãã¢ãã¤ã«ã ã¨åé¡ãããããã
- Texå§ç¸®ãæ±ããâãããSkyBoxã«ãããã®ãããã¾ãã¡ãããµãã
- DrawCall6使ãï¼ç«æ¹ä½ï¼âãããããã¾ãã¡ããããããªãã§ãã
- å¾æ¥éãã®çãã¤ããæ¹æ³ã§ã
- ãã¡ã¼ã¯ãªãããåé¡ã«ãªãã
- ã«ã¡ã©ãè¤æ°ç¨æãã¦ããã£ã©ç¨ãã¡ã¤ã³ãã¹ã«ã¤ç¨ãã¨ã¯ãªããã®å¤ãåããã
- ã½ã¼ãã®åé¡
- æ¨ã¨ããåéæã®ãã®ã¯ãæç»é ããããããªãç¨åº¦ã«ã¾ã¨ããã
- 確ãåéæãªãã¸ã§ã¯ãã¯ãStaticå ¥ãã¦ãã¾ã¨ã¾ããªãã
âアンビエント・オクルージョン参考
âãã¡ã¼ã¯ãªããã¯é ãã®ãªãã¸ã§ã¯ããæç»ããªããéã«æåã®ãªãã¸ã§ã¯ããæ¶ãã®ã¯ãã¢ã¯ãªããã§ãã
ã¹ããã³ã°ã®ä»¶ããæºå¸¯æ©ã§ããç´é¢ããåé¡ã§ãã
ã¹ãã³æ°ããããªã¢ã«æ°ã¯ããã©ã¼ãã³ã¹ã«ç´çµããã®ã§ããªãã¹ãå°ãªãã
ãªããªãã¡ã«ãã®ãé¢ç¯æ§é ã§ã¯ãªããã¹ãã³ã§å¦çãã¡ããã¾ãã
â ã¾ã¨ã
- iPhone4ãªãã3Dã¯ãã®ã¾ã¾çµæ§åºãã
- ãã ããã¡ãã£ã¨ãããã¨ã§éããªã
- æé©åã¯ã常èçãªç¯å²å ã§OKï¼
- ãã¯ã¹ãã£ã大ããåºæ¥ãå©ç¹ãããï¼ï¼
- ã©ãã©ãä½ã£ã¦ãåºãã¦ã¿ãã°ããã
â ã·ã¼ã³ç®¡ç
- ãã¾ããã©ããããªãã»ããè¯ã
- é¢é£ãããã®ã©ãããè¿ãã«ç½®ãã¨ãã
- é¢é£æ§ããããã¥ãããªããªãããã«ã
- ã¢ãã«ã®ãã°ã«ãé¢é£ããMaterialsãTexturesãã©ã«ããç½®ãã
- -
ä¾)
Models
ã-Stages
ãã-s01
ããã-fbx
ããã-Materials
ããã-Textures
- -
â ã¨ãã£ã¿ã¼ã»ã¨ã³ã¸ã³ã¨ã¯ï¼
- å¹çã¢ããã«éè¦ãªãã¨
- ç¹°ãè¿ã試ãã
- ä½æ¥ä¸ã¨çµæãåã
- ä¼¼ãä½æ¥ãåãããã«åºæ¥ã
- éè¦ãªã®ã¯ãã³ã³ãã³ãå·¥å¦ã»ã»ã»æ¥æ¬ã§ã¯ããããæãã¦ããï¼ï¼
- è·äººæãä¸è¬åããã
- æã§ã¯ãªããæ°å¤åããã客観çã«åæã
- å¦ã³ããããä½ç³»çãªæ å ±ã«ã
- ããããæ¸ç±
æ åã³ã³ãã³ãã®ä½ãæ¹âã³ã³ãã³ãå·¥å¦ã®åºç¤
- ä½è : éåæº
- åºç社/ã¡ã¼ã«ã¼: ãã¼ã³ãã¸ã¿ã«
- çºå£²æ¥: 2007/04/01
- ã¡ãã£ã¢: åè¡æ¬
- è³¼å ¥: 16人 ã¯ãªãã¯: 223å
- ãã®ååãå«ãããã° (5件) ãè¦ã
- æµ·å¤ã¨ã®å·®ãå«ã°ãã¦ä¹ ãããâ¦
- æè¡çãªé¨åã¯Unityãªã©ã®ã¨ã³ã¸ã³ã§å¸åã§ããã
- æ¥æ¬ã®éçºè ãå¾æãªãã¨ãããï¼æè¦çãªãã®ãæ触ãï¼
â¦ã¨ãè¬æ¼ã®å 容ã¯ä»¥ä¸ã§ãã
ç¯å³¶æ§ã¯èªãå£èª¿ãé¢ç½ãããªããã¤æè¡çã«ãæç¨ãªæ å ±ãèãã¦ãå®ã®ããè¬æ¼ã ã£ããªã¨ãæºå¸¯æ©ã«ã¯ã©ããä¼¼ããããªè¦å´ããããã ãªâ¦ã¨æã£ããã
æå¾ã«ç´¹ä»ããã¦ããæ¸ç±ã¯ãã²èªãã§ã¿ãããå¤åãå
¬æ¼ç´å¾ã®Amazonã§ã¯åèã«ãªã£ã¦ãã¨æãã¾ãww
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
ããã§ãå ¨3é¨ã®ã»ããã¼ã¬ãã¼ãã¯çµäºãä»å¾èªã¿è¿ãã¦ãä¿®æ£ãå çãããã¨ã¯ããããããã¾ããããã¾ããå®éã«Unityã§èªåã§è©¦ãã¦å¾ãæ å ±ããéæã¢ããããããã¨æãã¾ãã
ã§ã¯ã§ã¯ã