Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manual/zh/textures.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ <h2 id="-a-name-six-a-6-"><a name="six"></a> 6种纹理,在立方体的每个
</div>

<p></p>
<p>但需要注意的是,并不是所有的几何体类型都支持多种材质。<a href="/docs/#api/zh/geometries/BoxGeometry"><code class="notranslate" translate="no">BoxGeometry</code></a> 和 <a href="/docs/#api/zh/geometries/BoxGeometry"><code class="notranslate" translate="no">BoxGeometry</code></a> 可以使用6种材料,每个面一个。<a href="/docs/#api/zh/geometries/ConeGeometry"><code class="notranslate" translate="no">ConeGeometry</code></a> 和 <a href="/docs/#api/zh/geometries/ConeGeometry"><code class="notranslate" translate="no">ConeGeometry</code></a> 可以使用2种材料,一种用于底部,一种用于侧面。 <a href="/docs/#api/zh/geometries/CylinderGeometry"><code class="notranslate" translate="no">CylinderGeometry</code></a> 和 <a href="/docs/#api/zh/geometries/CylinderGeometry"><code class="notranslate" translate="no">CylinderGeometry</code></a> 可以使用3种材料,分别是底部、顶部和侧面。对于其他情况,你需要建立或加载自定义几何体和(或)修改纹理坐标。</p>
<p>但需要注意的是,并不是所有的几何体类型都支持多种材质。<a href="/docs/#api/zh/geometries/BoxGeometry"><code class="notranslate" translate="no">BoxGeometry</code></a> 可以为六个面分别指定材质。<a href="/docs/#api/zh/geometries/ConeGeometry"><code class="notranslate" translate="no">ConeGeometry</code></a>支持两种材质,分别用于底面和侧面。 <a href="/docs/#api/zh/geometries/CylinderGeometry"><code class="notranslate" translate="no">CylinderGeometry</code></a>支持三种材质,分别用于底面、顶面和侧面。对于其他情况,你需要构建或加载自定义几何体和(或)修改纹理坐标。</p>
<p>在其他3D引擎中,如果你想在一个几何体上使用多个图像,使用 <a href="https://en.wikipedia.org/wiki/Texture_atlas">纹理图集(Texture Atlas)</a> 更为常见,性能也更高。纹理图集是将多个图像放在一个单一的纹理中,然后使用几何体顶点上的纹理坐标来选择在几何体的每个三角形上使用纹理的哪些部分。</p>
<p>什么是纹理坐标?它们是添加到一块几何体的每个顶点上的数据,用于指定该顶点对应的纹理的哪个部分。当我们开始<a href="custom-buffergeometry.html">构建自定义几何体时(building custom geometry)</a>,我们会介绍它们。</p>
<h2 id="-a-name-loading-a-"><a name="loading"></a> 加载纹理</h2>
Expand Down