Decimates geometry to lower number of triangles.
It is recommended to clean up the model (using RemoveSpikes and remove small components) before decimation to get better results.
When using on photogrammetry data it is highly recommended to generate new UVs and re-project texture on the decimated model instead of using keep UVs option.
GeometryA geometry to be decimated. Only manifold topology is allowed. If the geometry contains polygons with more than 3 vertices, they will be triangulated beforehand.
desired number of triangles in resulting geometry.
The actual number of triangles can be bigger if further decimation is not possible.
- keep UVs
if set, the decimation will also decimate texture-coordinates.
While providing UVs for decimated model it may lead to unwanted seams on resulting geometry.