Skip to content
Merged
Show file tree
Hide file tree
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
58 changes: 0 additions & 58 deletions docs/components/collada-model.md

This file was deleted.

7 changes: 3 additions & 4 deletions docs/components/gltf-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ active.
## Why use glTF?

[obj-model]: ./obj-model.md
[collada-model]: ./collada-model.md

In comparison to the older [OBJ][obj-model] format, which supports only
vertices, normals, texture coordinates, and basic materials, glTF provides a
Expand All @@ -48,15 +47,15 @@ more powerful set of features. In addition to all of the above, glTF offers:
For simple models with no animation, OBJ is nevertheless a common and reliable
choice.

In comparison to [COLLADA][collada-model], the supported features are very
In comparison to COLLADA or FBX, the supported features are very
similar. However, because glTF focuses on providing a "transmission format"
rather than an editor format, it is more interoperable with web technologies.
By analogy, the .PSD (Adobe Photoshop) format is helpful for editing 2D images,
but images are converted to .JPG for use on the web. In the same way, glTF is a
simpler way of transmitting 3D assets while rendering the same result.

In short, expect glTF models to work with A-Frame more reliably than COLLADA
models.
In short, expect glTF models to work with A-Frame more reliably than other
formats.

## Example

Expand Down
9 changes: 0 additions & 9 deletions docs/introduction/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,6 @@ glTF is feature-rich, compact, and efficient. glTF focuses on providing a
with web technologies. [Read more about glTF and A-Frame's glTF
component][whygltf].

[collada]: https://en.wikipedia.org/wiki/COLLADA

[COLLADA (`.dae`)][collada] is an XML-based format with a rich feature set.
COLLADA is more common in comparison to glTF since it is older, but more suited
to native applications that package all their contents together. COLLADA is not
recommended since they're like the `.PSD` files of 3D models whereas glTF are
like the `.JPG` of 3D models. They're heavy because they contain complete
subscenes.

[obj]: https://en.wikipedia.org/wiki/Wavefront_.obj_file

[Wavefront (`.obj`)][obj] is also a well-known format but has some limitations
Expand Down
3 changes: 1 addition & 2 deletions docs/introduction/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ examples:
---

[3loaders]: https://github.com/mrdoob/three.js/tree/dev/examples/js/loaders
[COLLADA]: ../components/collada-model.md
[ecsfind]: ./entity-component-system.md#where-to-find-components
[glTF]: ../components/gltf-model.md
[OBJ]: ../components/obj-model.md
[recommend using glTF]: ../components/gltf-model.md#why-use-gltf

A-Frame provides components for loading [glTF], [OBJ], [COLLADA]. We [recommend
A-Frame provides components for loading [glTF] and [OBJ]. We [recommend
using glTF] if possible as glTF gains adoption as the standard for transmitting
3D models over the Web. Components can be written to handle any file format,
specifically any format that has a [three.js loader][3loaders]. We can also try
Expand Down
34 changes: 0 additions & 34 deletions docs/primitives/a-collada-model.md

This file was deleted.

4 changes: 2 additions & 2 deletions examples/animation/aframe-logo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
background="color: #24CAFF;"
renderer="colorManagement: true;">
<a-assets>
<a-asset-item id="treeModel" src="../../assets/models/tree1/tree1.dae"></a-asset-item>
<a-asset-item id="treeModel" src="../../assets/models/tree1.glb"></a-asset-item>
<a-mixin
id="tree"
position="0 10 0"
animation="property: object3D.position.y; to: 0; dur: 800; easing: easeOutCubic"
animation__visible="property: visible; to: true; dur: 1"
collada-model="#treeModel"
gltf-model="#treeModel"
scale="2.5 2.5 2.5"
visible="false"></a-mixin>
</a-assets>
Expand Down
Binary file added examples/assets/models/tree1.glb
Binary file not shown.
Binary file removed examples/assets/models/tree1/tex/shadow-circle.png
Binary file not shown.
Loading