|
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| 2 | +<html> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8" /> |
| 5 | + <meta name="viewport" content="width=100%, initial-scale=1" /> |
| 6 | + <title>ThreeExamples.js</title> |
| 7 | + <link rel="shortcut icon" href="blog/img/me.ico" /> |
| 8 | + <link rel="stylesheet" type="text/css" href="/blog/css/default.min.css" /> |
| 9 | + </head> |
| 10 | + <body onload="_gaq.push(['_trackEvent', '404', document.referrer, location.herf]);"> |
| 11 | + <div id="contentDiv"> |
| 12 | + <div id="content" class="center"> |
| 13 | + <div class="rotLeft rotTop pageBack"></div> |
| 14 | + <div class="rotRight rotTop pageBack"></div> |
| 15 | + <div class="container page"> |
| 16 | + <h2 class="subtitle">《Three.js 入门指南》书例代码</h2> |
| 17 | + <div class="pageTitle">ThreeExamples.js</div> |
| 18 | + <p>《Three.js 入门指南》是一本帮助初学者更快入门 Three.js 的电子书,可在<a href="http://read.douban.com/ebook/7412854/" target="_blank">豆瓣阅读</a>和<a href="http://www.ituring.com.cn/book/1272" target="_blank">图灵社区</a>(提供推送到 Kindle 服务)免费阅读。</p> |
| 19 | + |
| 20 | + <h1>目录</h1> |
| 21 | + <h2>第 1 章 概述</h2> |
| 22 | + <p><a href="http://www.ituring.com.cn/article/47975" target="_blank">阅读原文</a></p> |
| 23 | + <h3>例 1.1.1</h3> |
| 24 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter1/1.1.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter1/1.1.1.html" target="_blank">查看代码</a></p> |
| 25 | + <h3>例 1.2.1</h3> |
| 26 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter1/1.2.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter1/1.2.1.html" target="_blank">查看代码</a></p> |
| 27 | + |
| 28 | + <h2>第 2 章 照相机</h2> |
| 29 | + <p><a href="http://www.ituring.com.cn/article/48665" target="_blank">阅读原文</a></p> |
| 30 | + <h3>例 2.3.1</h3> |
| 31 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter2/2.3.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter2/2.3.1.html" target="_blank">查看代码</a></p> |
| 32 | + <h3>例 2.4.1</h3> |
| 33 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter2/2.4.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter2/2.4.1.html" target="_blank">查看代码</a></p> |
| 34 | + |
| 35 | + <h2>第 3 章 几何形状</h2> |
| 36 | + <p><a href="http://www.ituring.com.cn/article/50039" target="_blank">阅读原文</a></p> |
| 37 | + <h3>例 3.1.1</h3> |
| 38 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter3/3.1.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter3/3.1.1.html" target="_blank">查看代码</a></p> |
| 39 | + <h3>例 3.2.1</h3> |
| 40 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter3/3.2.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter3/3.2.1.html" target="_blank">查看代码</a></p> |
| 41 | + <h3>例 3.3.1</h3> |
| 42 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter3/3.3.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter3/3.3.1.html" target="_blank">查看代码</a></p> |
| 43 | + |
| 44 | + <h2>第 4 章 材质</h2> |
| 45 | + <p><a href="http://www.ituring.com.cn/article/51313" target="_blank">阅读原文</a></p> |
| 46 | + <h3>例 4.1.1</h3> |
| 47 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter4/4.1.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter4/4.1.1.html" target="_blank">查看代码</a></p> |
| 48 | + <h3>例 4.2.1</h3> |
| 49 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter4/4.2.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter4/4.2.1.html" target="_blank">查看代码</a></p> |
| 50 | + <h3>例 4.3.1</h3> |
| 51 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter4/4.3.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter4/4.3.1.html" target="_blank">查看代码</a></p> |
| 52 | + <h3>例 4.4.1</h3> |
| 53 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter4/4.4.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter4/4.4.1.html" target="_blank">查看代码</a></p> |
| 54 | + <h3>例 4.5.1</h3> |
| 55 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter4/4.5.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter4/4.5.1.html" target="_blank">查看代码</a></p> |
| 56 | + <h3>例 4.5.2</h3> |
| 57 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter4/4.5.2.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter4/4.5.2.html" target="_blank">查看代码</a></p> |
| 58 | + <h3>例 4.5.3</h3> |
| 59 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter4/4.5.3.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter4/4.5.3.html" target="_blank">查看代码</a></p> |
| 60 | + |
| 61 | + <h2>第 5 章 网格</h2> |
| 62 | + <p><a href="http://www.ituring.com.cn/article/52525" target="_blank">阅读原文</a></p> |
| 63 | + <h3>例 5.1.1</h3> |
| 64 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter5/5.1.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter5/5.1.1.html" target="_blank">查看代码</a></p> |
| 65 | + <h3>例 5.2.1</h3> |
| 66 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter5/5.2.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter5/5.2.1.html" target="_blank">查看代码</a></p> |
| 67 | + <h3>例 5.2.2</h3> |
| 68 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter5/5.2.2.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter5/5.2.2.html" target="_blank">查看代码</a></p> |
| 69 | + |
| 70 | + <h2>第 6 章 动画</h2> |
| 71 | + <p><a href="http://www.ituring.com.cn/article/53315" target="_blank">阅读原文</a></p> |
| 72 | + <h3>例 6.1.1</h3> |
| 73 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter6/6.1.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter6/6.1.1.html" target="_blank">查看代码</a></p> |
| 74 | + <h3>例 6.1.2</h3> |
| 75 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter6/6.1.2.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter6/6.1.2.html" target="_blank">查看代码</a></p> |
| 76 | + <h3>例 6.2.1</h3> |
| 77 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter6/6.2.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter6/6.2.1.html" target="_blank">查看代码</a></p> |
| 78 | + <h3>例 6.2.2</h3> |
| 79 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter6/6.2.2.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter6/6.2.2.html" target="_blank">查看代码</a></p> |
| 80 | + <h3>例 6.3.1</h3> |
| 81 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter6/6.3.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter6/6.3.1.html" target="_blank">查看代码</a></p> |
| 82 | + |
| 83 | + <h2>第 7 章 外部模型</h2> |
| 84 | + <p><a href="http://www.ituring.com.cn/article/53810" target="_blank">阅读原文</a></p> |
| 85 | + <h3>例 7.2.1</h3> |
| 86 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter7/7.2.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter5/5.1.1.html" target="_blank">查看代码</a></p> |
| 87 | + <h3>例 7.3.1</h3> |
| 88 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter7/7.3.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter7/7.3.1.html" target="_blank">查看代码</a></p> |
| 89 | + <h3>例 7.3.2</h3> |
| 90 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter7/7.3.2.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter7/7.3.2.html" target="_blank">查看代码</a></p> |
| 91 | + |
| 92 | + <h2>第 8 章 光与影</h2> |
| 93 | + <p><a href="http://www.ituring.com.cn/article/54698" target="_blank">阅读原文</a></p> |
| 94 | + <h3>例 8.1.1</h3> |
| 95 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter8/8.1.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter8/8.1.1.html" target="_blank">查看代码</a></p> |
| 96 | + <h3>例 8.1.2</h3> |
| 97 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter8/8.1.2.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter8/8.1.2.html" target="_blank">查看代码</a></p> |
| 98 | + <h3>例 8.1.3</h3> |
| 99 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter8/8.1.3.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter8/8.1.3.html" target="_blank">查看代码</a></p> |
| 100 | + <h3>例 8.2.1</h3> |
| 101 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter8/8.2.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter8/8.2.1.html" target="_blank">查看代码</a></p> |
| 102 | + <h3>例 8.3.1</h3> |
| 103 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter8/8.3.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter8/8.3.1.html" target="_blank">查看代码</a></p> |
| 104 | + <h3>例 8.4.1</h3> |
| 105 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter8/8.4.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter8/8.4.1.html" target="_blank">查看代码</a></p> |
| 106 | + <h3>例 8.5.1</h3> |
| 107 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter8/8.5.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter8/8.5.1.html" target="_blank">查看代码</a></p> |
| 108 | + |
| 109 | + <h2>第 9 章 着色器</h2> |
| 110 | + <p><a href="http://www.ituring.com.cn/article/56575" target="_blank">阅读原文</a></p> |
| 111 | + <h3>例 9.3.1</h3> |
| 112 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter9/9.3.1.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter9/9.3.1.html" target="_blank">查看代码</a></p> |
| 113 | + <h3>例 9.3.2</h3> |
| 114 | + <p><a href="http://zhangwenli.com/ThreeExample.js/Chapter9/9.3.2.html" target="_blank">运行代码</a> | <a href="https://github.com/Ovilia/ThreeExample.js/blob/master/Chapter9/9.3.2.html" target="_blank">查看代码</a></p> |
| 115 | + </div> |
| 116 | + <div class="rotLeft rotBottom pageBack"></div> |
| 117 | + <div class="rotRight rotBottom pageBack"></div> |
| 118 | + </div> |
| 119 | + <div id="footer-follow"> |
| 120 | + <a class="footer-follow-element footer-follow-twitter" href="https://twitter.com/OviliaZhang" target="_blank" title="Follow me on Twitter" onclick="_gaq.push(['_trackEvent', 'Follow', 'Twitter', 'HomeFooter']);"></a> |
| 121 | + <a class="footer-follow-element footer-follow-google" href="https://plus.google.com/u/0/112802684720065263732?rel=author" target="_blank" title="Follow me on Google Plus" onclick="_gaq.push(['_trackEvent', 'Follow', 'GPlus', 'HomeFooter']);"></a> |
| 122 | + <a class="footer-follow-element footer-follow-github" href="https://github.com/Ovilia" target="_blank" title="Follow me on GitHub" onclick="_gaq.push(['_trackEvent', 'Follow', 'GitHub', 'HomeFooter']);"></a> |
| 123 | + <a class="footer-follow-element footer-follow-linkedin" href="http://www.linkedin.com/profile/view?id=148742016" target="_blank" title="Follow me on LinkedIn" onclick="_gaq.push(['_trackEvent', 'Follow', 'LinkedIn', 'HomeFooter']);"></a> |
| 124 | + <a class="footer-follow-element footer-follow-weibo" href="http://weibo.com/plainjane" target="_blank" title="Follow me on Sina Weibo" onclick="_gaq.push(['_trackEvent', 'Follow', 'Weibo', 'HomeFooter']);"></a> |
| 125 | + <a class="footer-follow-element footer-follow-douban" href="http://www.douban.com/people/ovilia1024/" target="_blank" title="Follow me on Douban" onclick="_gaq.push(['_trackEvent', 'Follow', 'Douban', 'HomeFooter']);"></a> |
| 126 | + </div> |
| 127 | + </div><!-- End of contentDiv --> |
| 128 | + <div id="footerDiv"> |
| 129 | + <div id="footerImg"></div> |
| 130 | + <div id="footerCnt"> |
| 131 | + <div id="footer"> |
| 132 | + </div> |
| 133 | + </div> |
| 134 | + </div><!-- End of footerDiv --> |
| 135 | + |
| 136 | + <!--[if lt IE 9]> |
| 137 | + <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> |
| 138 | + <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> |
| 139 | + <![endif]--> |
| 140 | + <script type="text/javascript" src="http://zhangwenli.com/blog/js/jquery-1.11.1.min.js"></script> |
| 141 | + <script type="text/javascript" src="js/index.js"></script> |
| 142 | + </body> |
| 143 | +</html> |
0 commit comments