|
@@ -12,8 +12,8 @@
|
|
<h1>[name]</h1>
|
|
<h1>[name]</h1>
|
|
|
|
|
|
<p class="desc"> A loader for <em>glTF 2.0</em> resources. <br /><br />
|
|
<p class="desc"> A loader for <em>glTF 2.0</em> resources. <br /><br />
|
|
- <a href="https://www.khronos.org/gltf">glTF</a> (GL Transmission Format) is an
|
|
|
|
- <a href="https://github.com/KhronosGroup/glTF/tree/master/specification/2.0">open format specification</a>
|
|
|
|
|
|
+ [link:https://www.khronos.org/gltf glTF] (GL Transmission Format) is an
|
|
|
|
+ [link:https://github.com/KhronosGroup/glTF/tree/master/specification/2.0 open format specification]
|
|
for efficient delivery and loading of 3D content. Assets may be provided either in JSON (.gltf)
|
|
for efficient delivery and loading of 3D content. Assets may be provided either in JSON (.gltf)
|
|
or binary (.glb) format. External files store textures (.jpg, .png) and additional binary
|
|
or binary (.glb) format. External files store textures (.jpg, .png) and additional binary
|
|
data (.bin). A glTF asset may deliver one or more scenes, including meshes, materials,
|
|
data (.bin). A glTF asset may deliver one or more scenes, including meshes, materials,
|
|
@@ -24,7 +24,7 @@
|
|
|
|
|
|
<p>
|
|
<p>
|
|
GLTFLoader supports the following
|
|
GLTFLoader supports the following
|
|
- <a target="_blank" href="https://github.com/KhronosGroup/glTF/tree/master/extensions/">glTF 2.0 extensions</a>:
|
|
|
|
|
|
+ [link:https://github.com/KhronosGroup/glTF/tree/master/extensions/ glTF 2.0 extensions]:
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<ul>
|
|
<ul>
|
|
@@ -79,9 +79,9 @@
|
|
|
|
|
|
<h2>Browser compatibility</h2>
|
|
<h2>Browser compatibility</h2>
|
|
|
|
|
|
- <p>GLTFLoader relies on ES6 <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise">Promises</a>,
|
|
|
|
|
|
+ <p>GLTFLoader relies on ES6 [link:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise Promises],
|
|
which are not supported in IE11. To use the loader in IE11, you must
|
|
which are not supported in IE11. To use the loader in IE11, you must
|
|
- <a href="https://github.com/stefanpenner/es6-promise">include a polyfill</a>
|
|
|
|
|
|
+ [link:https://github.com/stefanpenner/es6-promise include a polyfill]
|
|
providing a Promise replacement.</p>
|
|
providing a Promise replacement.</p>
|
|
|
|
|
|
<h2>Custom extensions</h2>
|
|
<h2>Custom extensions</h2>
|