WebGLãå®è£ ãããWebKitã使ã£ã¦ã¿ã
(10/02/25 追è¨)
WebGLã®é¢æ°åãªã©ã®å¤æ´ã«ãããã©ã¦ã¶ã®ãã¼ã¸ã§ã³ã«ãã£ã¦ã¯åä½ããªãå¯è½æ§ãããã¾ãã
WebGLã®ãµã³ãã«ãåä½ããªããªã£ã - å¼·ç«ã§é²ã
http://d.hatena.ne.jp/nakamura001/20100224/1267028558
(2009/10/21 追è¨)
Nightly Buildsçã«ãWebGLãæè¼ããã¾ããã
ãã¡ãã®æ¹ãç°¡åã«è©¦ãã¾ãã
WebKitã®Nightly Buildsçã«ãWebGLæè¼ - å¼·ç«ã§é²ã
http://d.hatena.ne.jp/nakamura001/20091021/1256144947
æè¿ãSafariãChromeãªã®ã§ã³ã¢é¨åã®å®è£ ã§ããWebKitã«WebGLã®å®è£ ãå®äºããã¨ã®ãã¥ã¼ã¹ãç¥ãã¾ããã
WebGLã¨ã¯ãã©ã¦ã¶ã§ãã©ã°ã¤ã³ç¡ãã§ãå ±éã®è¨è¿°ã§3Dã°ã©ãã£ãã¯ã®æç»ãè¡ãè¦æ ¼ã§ããã¾ããGPUã使ç¨ãã¦å®è¡ããã®ã§ã¨ã¦ãé«éã«åä½ãã¾ãã
è¦æ ¼ã®çå®ã¯OpenGLã®çå®ãè¡ã£ã¦ããKhronosãç«ã¡ä¸ããWebGLã¯ã¼ãã³ã°ã»ã°ã«ã¼ãã«ã¦è¡ããã¦ãã¾ãã
ãåèãµã¤ãã
yebo blog: WebKitãWebGLããµãã¼ã
http://yebo-blog.blogspot.com/2009/09/webkitwebgl.html
Khronos Press Releases - Khronos Details WebGL Initiative to Bring Hardware-Accelerated 3D Graphics to the Internet
http://www.khronos.org/news/press/releases/khronos-webgl-initiative-hardware-accelerated-3d-graphics-internet/
â»ãã¼ã¸èªä½ã¯è±èªã§ããããããæ¥æ¬èªã«ç¿»è¨³ããPDFãDLã§ãã¾ãã
Wolfire Blog - Preview of WebKitâs WebGL / Canvas 3D
http://blog.wolfire.com/2009/09/preview-of-webkits-webgl-canvas3d/
ãã®ãyebo blogãããWolfire Blogãã§è¨è¼ãæãæ§ã«å®è£ èªä½ã¯å®äºãã¦ããã®ã§ããNightly Buildsçã§ä½¿ããã®ã¯ã6ã¶æ以å ã«ãã¨ã®äºãªã®ã§ãã¡ãã§ã¯ã¾ã 試ãã¾ããã
ããããæè§å®è£
ãå®äºãã¦ãã®ã«è©¦ããªãã®ãæ®å¿µãªã®ã§ã½ã¼ã¹ããèªåã®ãã·ã³ã§ãã«ããã¦ã¿ã¦åããã¦ã¿ã¾ããã
ãã¡ãå代ã®MacBook Airã§åä½ããã¦ãã¾ããå°çã沢山åºã¦ãããµã³ãã«ã§å¤å°å¦çè½ã¡ãã¦ãã以å¤ã¯ããããã¨åä½ãã¦ãã¾ãã
ãªãã¨ãã£ã¦ããã®ãã¼ãæéã®éããè¯ãã§ããããã©ã¦ã¶ã§ä½¿ãã¨ãªãã¨ã±ã£ã¨éãã¦ãã±ã£ã¨åä½ããªãã¨ã¦ã¼ã¶ãå¥ã®ãã¼ã¸ã«éãã¡ããã¾ãããããã
ãã¡ãã¯ãã¼ã«ã«ã§å®è¡ãã¦ããã®ã§å®éã¯ãã¯ã¹ãã£ç»åã®ãã¡ã¤ã«ãDLããã®ã§ããå°ãé ãã§ãããããããã®ãããã®é度ã§åä½ããã®ã§ããã°ååãå®ç¨çã ã¨æãã¾ãã
Macã§WebKitããã«ãããæ¹æ³
â»èªåã使ç¨ããç¯å²ã§ã¯ç¹ã«åé¡ã¯çºçãã¾ããã§ãããsvnçã®ä½¿ç¨ã¯ãªãªã¼ã¹çã®Safariã®ä½¿ç¨ãªã©ã«æ¯ã¹ãã¨ãã©ãã«ãçºçããå¯è½æ§ãããã¾ãããã©ãã«ãçºçããå¯è½æ§ãæã£ã¦ãåé¡ãªãæ¹ã®ã¿ã試ãä¸ããã
â»ãã¡ãã®WebKitã¯ããã¾ã§éçºçã§ãããã¾ãæ°ããæè¡ãå®è£
ããããã¼ã¸ã§ã³ã§ããã»ãã¥ãªãã£ã®æ¸å¿µãªã©ãããã¾ãã®ã§ããã¾ã§ãã¹ãç¨ã¨ãã¦ä½¿ç¨ããæ®æ®µã®ãµã¤ãé²è¦§ã«ã¯ãªãªã¼ã¹çã®Safariãªã©ã使ç¨ããæ§ã«ãã¾ãããã
1. ã½ã¼ã¹ã®DLããã
ã¾ã㯠svn ã§ã½ã¼ã¹ãã¡ã¤ã«ãDLãã¾ãã
The WebKit Open Source Project - Getting the Code
http://webkit.org/building/checkout.html
ãã¡ãã®ãã¼ã¸ã®æ示ã«å¾ããã¿ã¼ããã«ã§DLããããã£ã¬ã¯ããªã«ç§»åãã以ä¸ã®ã³ãã³ããå®è¡ãã¾ãã
svn checkout http://svn.webkit.org/repository/webkit/trunk WebKit
2. WebGLãæå¹ã«ããã
ä»åã¯DLãããã¡ã¤ã«ã®ä»¥ä¸ã®ãã¹ã«æãã¹ã¯ãªããã使ã£ã¦ãã«ããã¾ãã
WebKit/WebKitTools/Scripts/build-webkit
ãã®ã¾ã¾ã§ã¯WebGLãæå¹ã«ãªã£ã¦ãã¾ããã
ãã¡ãã®ãã¡ã¤ã«ãéãã
my @features = ( { option => "3d-canvas", desc => "Toggle 3D canvas support", define => "ENABLE_3D_CANVAS", default => 0, value => \$threeDCanvasSupport },
ã¨è¨è¼ã®æãé¨åã® default => 0 ã default => 1 ã«å¤æ´ããä¿åãã¾ãã
my @features = ( { option => "3d-canvas", desc => "Toggle 3D canvas support", define => "ENABLE_3D_CANVAS", default => 1, value => \$threeDCanvasSupport },
3. ãã«ãã®å®è¡ã
ä¸è¨ã®ä¿®æ£ãå ãã
WebKit/WebKitTools/Scripts/build-webkit
ãå®è¡ãã¾ãããã®å¦çã¯ããªãã®æéããããã¾ãã
ã¡ãªã¿ã«èªåã®ãã·ã³(å代Air)ã§ã¯1.5æéç¨åº¦ãããã¾ãããæ°é·ã«å¾
ã¡ã¾ãããã
4. å®è¡ã
ãã«ããå®äºãããå®è¡ãã¾ãã
å®è¡ã¯ç¾å¨ã¤ã³ã¹ãã¼ã«ããã¦ããSafariã®ã³ã¢é¨åãä»åãã«ããããã®ã«å·®ãæ¿ããç¶æ
ã§èµ·åããããã§ãããã®ãããããSafariãèµ·åãã¦ããå ´åã¯å¿µã®ããçµäºãã¦ãã以ä¸ã®ã³ãã³ããå®è¡ãã¦ä¸ããã
WebKit/WebKitTools/Scripts/run-safari
5. ãã¹ãã
Safariã®èµ·åãå®äºããããã£ãããã¹ããã¦ã¿ã¾ãããããã¹ããã¡ã¤ã«ã¯ä»¥ä¸ã®ãã£ã¬ã¯ããªã«æãã¾ãããã¡ãã®ãã¡ã¤ã«ãSafariã«ãã©ãã°ãã¦ã¿ã¦ä¸ããã
WebKit/WebCore/manual-tests/webgl
ã¡ãªã¿ã«â¦
ãã¡ãã® SourceForge ã«ããã£ã¦ãããã®ã¯ååã§ããä»åç´¹ä»ããWebGLã¨ã¯é¢ä¿ããã¾ããã
Project Web of WebGL on SourceForge.JP Web space
http://webgl.sourceforge.jp/
SourceForge.net: WebGL - Project Web Hosting - Open Source Software
http://webgl.sourceforge.net/
æ¥ãæ¥ãï¼ã¤ãã«Firefoxã§3Dãæç»ã§ããããã«ãªããï¼ | ããã«ãã¾ãã
http://blog.livedoor.jp/sparklegate/archives/50374081.html