|
Lagrange
|
Input options for the compute_sharpness function.
More...
#include <lagrange/subdivision/compute_sharpness.h>
Public Attributes | |
| std::string_view | normal_attribute_name |
| If provided, name of the normal attribute to use as indexed normals to define sharp edges. | |
| std::optional< double > | feature_angle_threshold |
| Feature angle threshold (in radians) to detect sharp edges when computing autosmooth normals. | |
Input options for the compute_sharpness function.
| std::string_view normal_attribute_name |
If provided, name of the normal attribute to use as indexed normals to define sharp edges.
If not provided, the function will attempt to find an existing indexed normal attribute. If no such attribute is found, autosmooth normals will be computed based on the feature_angle_threshold parameter.
| std::optional<double> feature_angle_threshold |
Feature angle threshold (in radians) to detect sharp edges when computing autosmooth normals.
By default, if no indexed normal attribute is found, no autosmooth normals will be computed.