VoxelMesherTransvoxel¶
Inherits: VoxelMesher
Implements isosurface generation (smooth voxels) using the Transvoxel algorithm.
Properties:¶
Type | Name | Default |
---|---|---|
bool |
deep_sampling_enabled | false |
bool |
mesh_optimization_enabled | false |
float |
mesh_optimization_error_threshold | 0.005 |
float |
mesh_optimization_target_ratio | 0.0 |
int |
texturing_mode | 0 |
bool |
transitions_enabled | true |
Methods:¶
Return | Signature |
---|---|
ArrayMesh | build_transition_mesh ( VoxelBuffer voxel_buffer, int direction ) |
Enumerations:¶
enum TexturingMode:
- TEXTURES_NONE = 0
- TEXTURES_BLEND_4_OVER_16 = 1
Property Descriptions¶
-
bool deep_sampling_enabled = false
-
bool mesh_optimization_enabled = false
-
float mesh_optimization_error_threshold = 0.005
-
float mesh_optimization_target_ratio = 0.0
-
int texturing_mode = 0
-
bool transitions_enabled = true
Method Descriptions¶
- ArrayMesh build_transition_mesh( VoxelBuffer voxel_buffer, int direction )
Generated on Sep 12, 2023