mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-12 20:49:07 +08:00
commit
17d4b6346e
22
README.md
22
README.md
@ -10,8 +10,20 @@ color information, normals, and any other generic attributes associated with geo
|
|||||||
Note: This is not an official Google product.
|
Note: This is not an official Google product.
|
||||||
|
|
||||||
|
|
||||||
Building
|
- [Building](#Building)
|
||||||
========
|
- [Usage](#usage)
|
||||||
|
- [Advanced Usage](#advanced-usage)
|
||||||
|
+ [FOADecoder](#foadecoder)
|
||||||
|
+ [FOARouter](#foarouter)
|
||||||
|
+ [FOARotator](#foarotator)
|
||||||
|
+ [FOAPhaseMatchedFilter](#foaphasematchedfilter)
|
||||||
|
+ [FORVirtualSpeaker](#forvirtualspeaker)
|
||||||
|
- [Building](#building)
|
||||||
|
- [Test](#test)
|
||||||
|
- [Audio Codec compatibility](#audio-codec-compatibility)
|
||||||
|
- [Related Resources](#related-resouces)
|
||||||
|
|
||||||
|
##Building
|
||||||
|
|
||||||
For all the platforms first you need to generate the project files, then you
|
For all the platforms first you need to generate the project files, then you
|
||||||
need to compile the examples.
|
need to compile the examples.
|
||||||
@ -156,7 +168,7 @@ line looks like this:
|
|||||||
A value of `0` for the quantization parameters will not perform any quantization on the specified attribute. Any value other than `0` will quantize the input values for the specified attribute to that number of bits. For example:
|
A value of `0` for the quantization parameters will not perform any quantization on the specified attribute. Any value other than `0` will quantize the input values for the specified attribute to that number of bits. For example:
|
||||||
|
|
||||||
~~~~~
|
~~~~~
|
||||||
./draco_encoder -i testdata/bun_zipper.ply -o out.drc -qp 14`
|
./draco_encoder -i testdata/bun_zipper.ply -o out.drc -qp 14
|
||||||
~~~~~
|
~~~~~
|
||||||
|
|
||||||
will quantize the positions to 14 bits (default for the position coordinates).
|
will quantize the positions to 14 bits (default for the position coordinates).
|
||||||
@ -185,7 +197,7 @@ input file, `draco_encoder` will ignore the connectivity data and encode the
|
|||||||
positions from the mesh file.
|
positions from the mesh file.
|
||||||
|
|
||||||
~~~~~
|
~~~~~
|
||||||
$ ./draco_encoder -point_cloud -i testdata/bun_zipper.ply -o out.drc
|
./draco_encoder -point_cloud -i testdata/bun_zipper.ply -o out.drc
|
||||||
~~~~~
|
~~~~~
|
||||||
|
|
||||||
This command line will encode the mesh input as a point cloud, even though the
|
This command line will encode the mesh input as a point cloud, even though the
|
||||||
@ -201,7 +213,7 @@ Decoding Tool
|
|||||||
basic command line looks like this:
|
basic command line looks like this:
|
||||||
|
|
||||||
~~~~~
|
~~~~~
|
||||||
$ ./draco_decoder -i in.drc -o out.obj
|
./draco_decoder -i in.drc -o out.obj
|
||||||
~~~~~
|
~~~~~
|
||||||
|
|
||||||
C++ Decoder API
|
C++ Decoder API
|
||||||
|
Loading…
x
Reference in New Issue
Block a user