Add configurable octree max depth for meshes.
The maximum depth of the octree used for SDF generation can now be specified in the mesh definition via `mjsMesh::octree_maxdepth`. The default value is 6. PiperOrigin-RevId: 912494999 Change-Id: I6d828d1d3999b99d1210a6829a05b04fac591e1f
This commit is contained in:
committed by
Copybara-Service
parent
531a571dda
commit
8cef5bb978
@@ -8461,6 +8461,11 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
),
|
||||
doc='name of material',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='octree_maxdepth',
|
||||
type=ValueType(name='int'),
|
||||
doc='max octree depth',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='info',
|
||||
type=PointerType(
|
||||
|
||||
Reference in New Issue
Block a user