|
@@ -10,34 +10,36 @@
|
|
|
<body>
|
|
|
<h1>[name]</h1>
|
|
|
|
|
|
- <h2>Overview</h2>
|
|
|
+ <h2>总览</h2>
|
|
|
<div>
|
|
|
<p>
|
|
|
- Three.js can use WebGL to render your scenes on all modern browsers. For older browsers, especially Internet Explorer 10 and below, you may have to fallback to one of the other [link:https://github.com/mrdoob/three.js/tree/master/examples/js/renderers renderers] (CSS2DRenderer, CSS3DRenderer, SVGRenderer, CanvasRenderer). Additionally, you may have to include some polyfills, especially if you are using files from the [link:https://github.com/mrdoob/three.js/tree/master/examples /examples] folder.
|
|
|
+ 在所有现代浏览器中,Three.js可以使用WebGL来渲染场景。对于较旧的浏览器,特别是Internet Explorer 10或者更低版本浏览器,你将需要回落到其它[link:https://github.com/mrdoob/three.js/tree/master/examples/js/renderers renderers](CSS2DRenderer、CSS3DRenderer、SVGRenderer、CanvasRenderer)。此外,你或许不得不包含一些polyfill,特别是当你使用[link:https://github.com/mrdoob/three.js/tree/master/examples /examples]目录中的文件时。
|
|
|
</p>
|
|
|
<p>
|
|
|
- Note: if you don't need to support these old browsers, then it is not recommended to use the other renderers as they are slower and support less features than the WebGLRenderer.
|
|
|
+ 注意:如果你并不需要支持较旧的浏览器,那就不推荐使用其他渲染器来进行渲染,因为与WebGLRenderer相比,其它渲染器渲染较慢,并且不支持WebGL的诸多特性。
|
|
|
</p>
|
|
|
</div>
|
|
|
|
|
|
- <h2>Browsers that support WebGL</h2>
|
|
|
+ <h2>支持WebGL的渲染器</h2>
|
|
|
<div>
|
|
|
<p>
|
|
|
- Google Chrome 9+, Firefox 4+, Opera 15+, Safari 5.1+, Internet Explorer 11 and Microsoft Edge. You can find which browsers support WebGL at [link:https://caniuse.com/#feat=webgl Can I use WebGL].
|
|
|
+ Google Chrome 9+、Firefox 4+、Opera 15+、Safari 5.1+、Internet Explorer 11 和 Microsoft Edge. 你可以点击[link:https://caniuse.com/#feat=webgl Can I use WebGL]来查阅各个浏览器对WebGL的支持性。
|
|
|
</p>
|
|
|
</div>
|
|
|
|
|
|
- <h2>JavaScript Language Features or Web APIs Used in three.js</h2>
|
|
|
+ <h2>
|
|
|
+ 在Three.js中所使用到的JavaScript语言特性或者Web API
|
|
|
+ </h2>
|
|
|
<div>
|
|
|
<p>
|
|
|
- Here are some features used in three.js. Some of them may require additional polyfills.
|
|
|
+ 这里是一些在Three.js中使用到的特性,其中的一部分需要额外的填充。
|
|
|
</p>
|
|
|
<table>
|
|
|
<thead>
|
|
|
<tr>
|
|
|
- <th>Feature</th>
|
|
|
- <th>Use Scope</th>
|
|
|
- <th>Modules</th>
|
|
|
+ <th>特性</th>
|
|
|
+ <th>适用范围</th>
|
|
|
+ <th>模块</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
@@ -120,4 +122,4 @@
|
|
|
</ul>
|
|
|
</div>
|
|
|
</body>
|
|
|
-</html>
|
|
|
+</html>
|