Live2D WebGL SDKã§ã¯ãã¡ã¤ã«ãã¹ãè¦ãã¦ãã¾ããã¢ãã«ãã¼ã¿ãDLã§ãã¦ãã¾ãåé¡ç¹ãããã¾ããã ãã£ããã¢ãã«ä½ã£ãã®ã«ãWebGLã§å ¬éããã¨ã¢ãã«ãã¼ã¿ãçãããã®ã¯ã¨ã¦ãæ®å¿µã§ãã£ï¼ ï¼â» ã¡ãªã¿ã«Unityã®WebGLæ¸ãåºãã§ã¯ããã¤ããªåããã¦ããåé¡ãªãã§ãï¼ è§£æ±ºçã§ããããµã¼ãã¼ãµã¤ãï¼PHPï¼ã§ã¢ãã«ãã¼ã¿ããã¼ãããã°é²ãã¾ããã å¦çã®æµãã¨ãã¦ã¯ã以ä¸ã®æãã§ããã¾ãã ï¼. mocãã¡ã¤ã«ãphpã§ãã¼ãï¼Base64å½¢å¼ï¼ ï¼. ãã¼ããããã¼ã¿ãphpããjsã«æ¸¡ã ï¼. jsã§Base64å½¢å¼ããArrayBufferã¸å¤æ ï¼. ArrayBufferãã¢ãã«ãã¼ã¿ã¨ãã¦ãã¼ã éçºç°å¢ Live2D WebGL SDK2.1 MAMP(PHPç¨) ãã¹ãæ¤è¨¼ SDKãµã³ãã«ã®Simpleããã¸ã§ã¯ããå ã«ãã¹ãããã¦ã¿ã¾ããã æé
ãThree.jsãã¯WebGLã使ã£ããªãããª3D表ç¾ã使ç¨ã§ãã人æ°ã®ã©ã¤ãã©ãªãã¨ããããThree.jså ¬å¼ãµã¤ãã§ç´¹ä»ãã¦ããWebGLæå¹å¤å®ã¯Android 4ç³»ã®WebViewåãã®WebGLæå¹å¤å®ãä¸ååãªã®ã§ãWebGLã³ã³ãã³ãã表示ããããã¨ããã¨çã£é»ã«ãªãã¨ããææªã®äºæ ãçºçãã¾ã(2016/3/2ç¾å¨ ver74)ãAndroid 4.03ããã¢ãããã¼ããã4.4ã®ä¸é¨ã§ãåæ§ã®ç¾è±¡ã確èªãã¾ããã2016/3/2ç¾å¨ãAndroidãï¼ç³»ã®ã¦ã¼ã¶ã¼ã¯62%(åèï¼ãAndroid Developersã)ããã¾ãã®ã§ãã¹ãã¼ããã©ã³åãWebGLã³ã³ãã³ããä½ããªãã°æ±ºãã¦ç¡è¦ã§ããªããã°ã§ãã ãã®ã¨ã³ããªã¼ã§ã¯ãã®ç¾è±¡ã®åå ã¨è§£æ±ºçãç´¹ä»ãã¾ãã #ä½ãèµ·ãã£ã¦ããã®ã ä¸è¨ã¯Android 4.1.2ã®æ¨æºãã©ã¦ã¶ãiOS 9.2.1ã®Mobil
Live2D WebGLã®æ´»ç¨äºä¾ Live2D SDKã®ã¯ã¼ã¯ããã¼ Live2D WebGL SDKã®è§£èª¬ï¼ãã³ãºãªã³ï¼ Live2Dã¢ãã«å·®ãæ¿ã ãã©ã¡ã¼ã¿ã¼æä½ ããã°ã©ã å¦çã®æµã Live2Dã¢ãã«ã®ä½ç½®ã»ãµã¤ãºæå® ã¢ã¼ã·ã§ã³åç Live2D APIã«ã¤ã㦠ãã¦ã¹ãã©ãã°æä½
HTMLã®ã¢ãã¡ã¼ã·ã§ã³å®è£ ã«å½¹ç«ã¤ãã¾ãã¾ãªJavaScriptã©ã¤ãã©ãªãããã¾ããååã®è¨äºãç¾å ´ã§ä½¿ããã¢ãã¡ã¼ã·ã§ã³ç³»JSã©ã¤ãã©ãªã¾ã¨ããã§ã¯JSã©ã¤ãã©ãª7種é¡ã®ç¹å¾´ãç´¹ä»ãã¾ããããæ¬è¨äºã§ã¯ãããã®ããã©ã¼ãã³ã¹ãæ¯è¼ãã¾ãã JSã©ã¤ãã©ãªã®ããã©ã¼ãã³ã¹ãè¯ãã»ã©ãããããã®ã¢ãã¡ã¼ã·ã§ã³ããã£ã¦ãæ»ããã«åãã¾ããã¾ããããã©ã¼ãã³ã¹ããããã°CPUã¸ã®è² è·ãä½ããªãããããµã¤ã訪åè ã®ã¹ãã¼ããã©ã³ã®æ¶è²»é»åã«ãåªããã¨ãè¨ãã¾ããã¦ã§ãå¶ä½è ã¯JSã©ã¤ãã©ãªã®ããã©ã¼ãã³ã¹ã«ãæ°ãé ããããã®ã§ãã ä»åæ¤è¨¼ããJSã©ã¤ãã©ãª ã¢ãã¡ã¼ã·ã§ã³ï¼ãã¥ã¤ã¼ã³ï¼ç¨ã®JSã©ã¤ãã©ãªããã¯ããã¸ã¼ã¨ãã¦æ¬¡ã®9種é¡ã§æ¯è¼ãã¾ããããã¼ã¸ã§ã³ã¯2022å¹´5æç¾å¨ã®ææ°çãå©ç¨ãã¦ã§ããã¼ã¸ç¨éã®â DOMçã¨ããã¤ããã©ã¼ãã³ã¹ç¨éã®â¡WebGLçã®2éãã®æ¹æ³ã§æ¤è¨¼ãã¦ãã¾ã
HTML5ã¨WebGL åãã«HTML5ã®ä½ç½®ã¥ãã«ã¤ãã¦ç°¡åã«è§¦ãã¾ããHTML5ã¨ã¯ããã¾ã§ã®Webãã¼ã¸ä½æè¨èªã§ä¸»æµã ã£ãHTML4ãXHTMLã®å¾ç¶è¨èªã®ãã¨ã§ã 2008å¹´ã«èæ¡ãã¾ã¨ãããã2014å¹´ã¾ã§ã«ã¦ã§ããã©ã¦ã¶å社ã¸ã®æ£å¼å§åãç®æãã¦çå®ãé²ãããã¦ãã¾ãã HTML5㯠2012å¹´1æã§ãã¾ã ãèæ¡ã段éã§ãä»æ§ãæµåçãªæºå段éã§ããããéçºå´ãããã¦ã¼ã¶å´ãããé常ã«æ³¨ç®ãéãããã¦ãã¾ãã ãã®å¤§ããªçç±ã®ä¸ã¤ã«æãããã¦ããã®ããiPhoneãAndroidãªã©ã®ã¹ãã¼ããã©ã³ã®å°é ã«ããæ å ±ç«¯æ«ã®å¤æ§åã¸ã®å¯¾å¿ã®ããã§ããã¤ã¾ããæ§ã ãªWEBã³ã³ãã³ãã®ã¯ãã¹ãã©ãããã©ã¼ã åã¸ã®éè¦ãªè²¢ç®ãæå¾ ããã¦ããããã§ãã ã¨ããã®ãã¹ãã¼ããã©ã³ã®ç»å ´ã¾ã§ã¯ãAdobe社ãæä¾ãã FLASH ãåç»ããªã¼ãã£ãªãªã©ãçµã¿åãããããã«ãã¡ãã£ã¢ã³ã³ãã³ã
HTML5ã«ããç©çã·ãã¥ã¬ã¼ã·ã§ã³ãï¼éæ¯åã·ãã¥ã¬ã¼ã¿ã æ¬ã·ãã¥ã¬ã¼ã¿ã¯ãHTML5(canvasè¦ç´ )ï¼WebGL(Three.jsã©ã¤ãã©ãª)ãç¨ãã¦ããã©ã°ã¤ã³ãªãå®è¡ãããã¨ãã§ãã¾ãã ãã ããã¯ã©ã¤ã¢ã³ããµã¤ãã®ãã©ã¦ã¶ã¨ã°ã©ãã£ãã¯ã«ã¼ãããHTML5ã¨WebGLã«å¯¾å¿ãã¦ããå¿ è¦ãããã¾ãã æ¬ã·ãã¥ã¬ã¼ã¿ã®ç¹å¾´ ï¼ï¼ï¼ç´äº¤åº§æ¨ç³»ã§è¨è¿°ããï¼éæ¯åãï¼æ¬¡ã®ã«ã³ã²ã¯ãã¿ãç¨ãã¦Javascriptã§è¨ç®ãã¦ãã¾ã ï¼ï¼ï¼è¨ç®çµæããªã¢ã«ã¿ã¤ã ã«canvasè¦ç´ ã«WebGLãç¨ãã¦æç»ãã¦ãã¾ã ï¼canvasè¦ç´ ã¯javascriptã§åçã«çæããã¦ãã¾ãï¼ ï¼ï¼ï¼ã°ã©ãæç»ã©ã¤ãã©ãª flotr2 ãå©ç¨ãã¦ããããã®ä½ç½®ï¼z座æ¨ï¼ã¨ã²ãã®å¼µåããªã¢ã«ã¿ã¤ã ã«ã°ã©ãæç»ãã¾ã ï¼ï¼ï¼ãã¦ã¹ãã©ãã¯ã¨ãã¦ã¹ãã¤ã¼ã«ã§è¦ç¹ã移åãããã¨ãã§ãã¾ã ï¼ï¼ï¼åç©çéããªã¢ã«
å¤å½©ãªè¡¨ç¾åã®WebGLãæ±ãããããããThree.jsãï¼Webã°ã©ãã£ãã¯ãããã¯ããï¼5ï¼ï¼1/5 ãã¼ã¸ï¼ Three.jsã¯WebGLã®åé·ãªä»æ§ããã¾ãã©ããããæ±ããããã¤ã³ã¿ã¼ãã§ã¤ã¹ã§æä¾ããã©ã¤ãã©ãªã ããµã³ãã«ã³ã¼ãã¨è¦æ¯ã¹ãªãããå¹çè¯ãå¦ç¿ããã Three.jsã®åºç¤ æ¬é£è¼ã5åç®ãè¿ããããããä½³å¢ã«å ¥ãã¾ããä»åã®é¡æã¯ãWebãã©ã¦ã¶ä¸ã§3次å ã°ã©ãã£ãã¯ãå®ç¾ãããWebGLãã§ãããã ããããã¾ã§ã¨éã£ã¦APIãç´æ¥ã¯è§¦ããããThree.jsããå©ç¨ãã¾ããThree.jsã¯WebGLã®åé·ãªä»æ§ããã¾ãã©ããããæ±ããããã¤ã³ã¿ã¼ãã§ã¤ã¹ã§æä¾ããã©ã¤ãã©ãªã§ããMr.Doobæ°ãä¸å¿ã«ãªã¼ãã³ã½ã¼ã¹ã§éçºãé²ãããã¦ãããWebGLçéã§ã¯ããã¡ã¯ãã¹ã¿ã³ãã¼ãã«è¿ãå°ä½ãç¯ãã¦ãã¾ãã Three.jpå ¬å¼ãµã¤ã WebGLã¯ããã¾ã§è§£èª¬ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}