zeux / meshoptimizer

Mesh optimization library that makes meshes smaller and faster to render

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need PointCloud deduplicate after quantization?

a8301592 opened this issue · comments

commented

I understand quantizization is about use intergers to replace float , it will lose some accuracy,it will make some different point to be togerther.
So, I think PointCloud do depulicate when data had quantized and before invoke meshopt_encodeVertexBuffer.

In theory this is true. This hasn't been done mostly because normally you'd want quantization levels to be selected such that the points do not get merged too much - if you have a very dense point cloud you should probably use -si parameter to explicitly ask to simplify it - and post-quantization merging is currently a little difficult to integrate into gltfpack due to how the code is written.

commented

get it ,i will try simplify later.