-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b4e072
commit ba05167
Showing
4 changed files
with
69 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
.. _writers.gltf: | ||
|
||
writers.gltf | ||
============ | ||
|
||
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. | ||
|
||
.. _specification: https://www.khronos.org/gltf/ | ||
|
||
.. embed:: | ||
|
||
Example | ||
------- | ||
|
||
.. code-block:: json | ||
[ | ||
"infile.las", | ||
{ | ||
"type": "filters.poisson", | ||
"depth": 12 | ||
}, | ||
{ | ||
"type":"writers.gltf", | ||
"filename":"output.gltf", | ||
"red": 0.8, | ||
"metallic": 0.5 | ||
} | ||
] | ||
Options | ||
------- | ||
|
||
filename | ||
Name of the GLTF file to be written. [Required] | ||
|
||
metallic | ||
The metallic factor of the faces. [Default: 0] | ||
|
||
roughness | ||
The roughness factor of the faces. [Default: 0] | ||
|
||
red | ||
The red component of the color applied to the faces. [Default: 0] | ||
|
||
green | ||
The green component of the color applied to the faces. [Default: 0] | ||
|
||
blue | ||
The blue component of the color applied to the faces. [Default: 0] | ||
|
||
alpha | ||
The alpha component to be applied to the faces. [Default: 1.0] | ||
|
||
double_sided | ||
Whether the faces are colored on both sides, or just the side | ||
visible from the initial observation point (positive normal vector). | ||
[Default: false] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters