You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes and no. When quantizing primitives, their vertex data is translated and scaled to a 3D quantization grid. The inverse of that translation and scale must be applied to objects referencing the primitive (nodes, skins, volumetric materials). As a result, all of a particular mesh's primitives must share the same transform.
You can find the internal code responsible for quantizing a primitive here:
It's not exposed as a public API because computing the transform for the mesh, and applying that to all references to the mesh, is not trivial and would need to be done by the caller.
If a quantizeNode(node, settings) function would work just as well for you, that might be easier to create and expose in the API.
Is it possible to quantize single objects?
The idea is to use different settings for each object.
Best
The text was updated successfully, but these errors were encountered: