google / google/draco

How quantization works

Open
#823 0 comments 0 reactions 1 assignee Claimed by @ondys View on GitHub
question
Dominant language
C++
Stars
7.5k
Forks
1.1k
Avg merge
47m
Merged PRs (30d)
1

Description

Assume a vertex has a position (x, y, z).
Does Draco quantize each coordinate x, y, z separately or does it combine (x, y, z) into a quantized value?
And how many quantized values should it be after quantization?
I checked my result, with qp=1, number of new vertices (let's call N) = 4
qp = 2, N=21
qp = 3, N = 217
qp = 4, N= 944
qp = 5, N = 1234

Should not the number of quantized vertices = 2^qp?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.