Skip to content

Commit

Permalink
Update documentation for .glb extension. (#2969)
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Mar 10, 2020
1 parent 3c720fb commit b8390e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doc/stages/writers.gltf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GLTF is a file format `specification`_ for 3D graphics data.
If a mesh has been generated
for a PDAL point view, the **GLTF Writer** will produce simple output in
the GLTF format. PDAL does not currently support many of the attributes
that can be found in a GLTF file.
that can be found in a GLTF file. This writer creates a *binary* GLTF.

.. _specification: https://www.khronos.org/gltf/

Expand All @@ -26,7 +26,7 @@ Example
},
{
"type":"writers.gltf",
"filename":"output.gltf",
"filename":"output.glb",
"red": 0.8,
"metallic": 0.5
}
Expand All @@ -36,7 +36,7 @@ Options
-------

filename
Name of the GLTF file to be written. [Required]
Name of the GLTF (.glb) file to be written. [Required]

metallic
The metallic factor of the faces. [Default: 0]
Expand Down
2 changes: 1 addition & 1 deletion io/GltfWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static StaticPluginInfo const s_info
"writers.gltf",
"Gltf Writer",
"http://pdal.io/stages/writers.gltf.html",
{ "gltf" }
{ "gltf", "glb" }
};

CREATE_STATIC_STAGE(GltfWriter, s_info)
Expand Down

0 comments on commit b8390e4

Please sign in to comment.