Lagrange
RemeshingOptions Struct Reference

Options that define how remeshing algorithms (tessellate, decimate, quadrangulate) treat meshes within a scene. More...

#include <lagrange/scene/RemeshingOptions.h>

Public Attributes

FacetAllocationStrategy facet_allocation_strategy = FacetAllocationStrategy::EvenSplit
 Facet allocation strategy for meshes in the scene.
 
size_t min_facets = lagrange::invalid<size_t>()
 Minimum amount of facets for meshes in the scene. More...
 
UninstantiatedMeshesStrategy uninstantiated_meshes_strategy = UninstantiatedMeshesStrategy::None
 Behavior for meshes without instances in the scene.
 
std::vector< float > per_instance_importance
 Optional per-instance weights/importance. Must be > 0.
 

Detailed Description

Options that define how remeshing algorithms (tessellate, decimate, quadrangulate) treat meshes within a scene.

Member Data Documentation

◆ min_facets

size_t min_facets = lagrange::invalid<size_t>()

Minimum amount of facets for meshes in the scene.

Set to lagrange::invalid to use backend-specific default value.


The documentation for this struct was generated from the following file: