Mudbox 2016
Following are the additions in the Mudbox 2016 SDK. Most of these new SDK elements
are added for the new Relax brush and Falloff types for Sculpting tools. For more
information about these new features, refer to the Mudbox User Guide for 2016.
New Class
SpatialGrid - The SpatialGrid class is an interface for dividing the space of a mesh to grids, cells, or voxels.
New Functions and Enumerations
The new elements are listed according to their respective header files.
brush.h
- Added the FalloffType enum in the BrushOperation class for the falloff type property values.
- BrushOperation::SetFalloffType() - Sets the falloff type.
- BrushOperation::GetFalloffType() - Returns the falloff type.
- BrushOperation::SetConstrainToSurface() - Sets the brush to keep the surface curvature.
- BrushOperation::ConstrainToSurface() - Returns true if the stroke keeps the surface curvature.
mesh.h
- Mesh::EnumerateVertices( VertexEnumerator * pEnumerator, SpatialGrid * pGrid, const
AxisAlignedBoundingBox & cVolume ) - Enumerate all of the vertices contained within the volume given by cVolume. The parameters are the following:
- pEnumerator - A pointer to a VertexEnumerator that you have defined.
- pGrid - A pointer to a SpatialGrid structure for this mesh.
- cVolume - A local-space volume.
- Mesh::EnumerateFaces ( FaceEnumerator * pEnumerator, SpatialGrid * pGrid, const AxisAlignedBoundingBox
& cVolume ) - Enumerate all of the faces contained within the volume given by cVolume. The parameters
are the following:
- pEnumerator - A pointer to a FaceEnumerator that you have defined.
- pGrid - A pointer to a SpatialGrid structure for this mesh.
- cVolume - A local-space volume.
- Mesh::StrokeBoundingBox() - Returns the region of the mesh that changed in the current brush stroke in local
space.
- Mesh::SetStrokeBoundingBox()
- Mesh::SetBoundingBox()
- Mesh::Grid()
math.h
- AxisAlignedBoundingBox::Intersection(const AxisAlignedBoundingBox & cOther) - Returns the intersection between this box and cOther. Returned bounding box is empty if this box does not intersect cOther.