Mudbox 2014
New classes
- MeshPartitioning – Used for managing the spatially coherent partitioning of a mesh.
- SelectAllOperation – Used to select and deselect all objects.
- SetVisibilityOperation – Sets the visibility of nodes in a scene.
- AddGeometryOperation – Adds geometries to the current scene.
- MBCrashReporterFlag and MBCrashInfo – Used to generate some information in the event of a crash.
Renamed Classes
- Component class renamed to Sampler.
- NormalComponent class renamed to NormalSampler.
- AmbientOcclusionComponent class renamed to AmbientOcclusionSampler.
- DisplacementComponent class renamed to DisplacementSampler.
- VectorDisplacementComponent class renamed to VectorDisplacementSampler.
- PaintLayerScanComponent class renamed to PaintLayerSampler.
- SculptLayerScanComponent class renamed to SculptLayerSampler.
New Functions
The new functions are listed according to their respective header files.
MapExtractorAPI.h
The MapExtractorAPI plug-in is improved. Any plug-in can call these functions, which provide an easy
interface for creating and manipulating the map extraction nodes.
subdivision.h
- SubdivisionLevel::GetSubdivisionInfo() – To save and get subdivision options.
topology.h
- Topology::TShapeFaces() – Returns the list of faces contained in T-shapes.
- Topology::IsFaceIsolated() – Returns true if the given face is in the set of isolated faces.
- Topology::SetFaceIsolated() – Sets the isolation state of a given face.
- Topology::SetTopologyHint() – Sets the usage hint for this topology. The usage hint indicates how frequently
the topology might change.
node.h
- Node::StartHashing() – This function is called once in main after static ctors are done. It adds any existing
nodes to the ID hash table when called for the first time. This is to avoid using
QHash at static ctor time.
mesh.h
- Mesh::MirrorSurfacePoint() – Mirrors a surface point using the topological symmetry.
- Mesh::TopologicalSide() – Returns the index of the side where the given face index is.
- SurfacePoint::Serialize() – To serialize a surface point to the given stream.
- Mesh::RecalculateVertexAdjacency() – Causes the mesh to build internal vertex adjacency tables, if they do not exist.
Returns false if the operation fails, and true otherwise.
- Mesh::SetVertexAdjacency() – Sets the adjacency data for a specified vertex. If this vertex is not touching
any faces, the face index and corner index must be set to 0xffffffff.
- Mesh::VertexAdjacency() – Returns the adjacency data for a specified vertex. If this vertex is not touching
any face in the mesh, the returned face index is set to 0xffffffff.
curve.h
- The CurveBase class now supports a curve color property that can be managed through the following
functions: CurveBase::Color(), CurveBase::SetColor(), and CurveBase::ResetColor().
viewport.h
- ViewPort::SetMirrorDirectionPreview() – Sets the mirror direction preview mode.
- ViewPort::MirrorDirectionPreview() – Returns the mirror direction preview mode.
- ViewPort::SetMirrorPlanePreview() – Controls the display of the mirror plane preview. The mirror plane preview is an
on-screen representation of a plane in 3d aligned to a major axis in local or world
space. It is sized and positioned based on the active mesh in the scene, if any. It
is used to help you visualize a direction during interactions such as, selecting a
mirror mode.
- ViewPort::MirrorPlanePreview() – Returns the current mirror plane preview mode.
- ViewPort::MirrorPlanePreviewOffset() – Returns the current mirror plane preview offset.
generaloperations.h
- SetVisibilityOperation::SetVisibility() – Sets the visibility of a mesh.
- AddGeometryOperation::AddGeometry() – Adds the geometry to the scene.
- TopologyChange::VertexMap() – Maps the old vertices to the new indices after removing the faces.
- TopologyChange::ShrinkVertexArray() – Removes the unused vertices in a vertex array.
- TopologyChange::InsertTC() – Adds a new texture coordinate.
brush.h
- BrushOperation::ShowBrushInStroke() – Returns if the brush ring must be visible during the stroke.
- BrushOperation::StrokeInterrupted() – Returns true if the stroke is interrupted, for example, if the tool opens a window
in mid-stroke.
interface.h
- Interface::IsInDoubleClick() – Returns true if in a double-click event.
- Interface::AddWelcomeWindowButton() – Adds a new button to the section of the welcome window.
- Interface::RemoveWelcomeWindowButton() – Removes the button that is added using Interface::AddWelcomeWindowButton().
- Interface::SetInTumble() – Allows plug-in to override and force the in tumble state to be true. Certain optimizations
can be performed in a tumble, for example, postponing the rendering pick buffers and
computing texture tile histograms.
- Interface::IsInTumble() – Returns true if in the middle of tumbling a scene.
- Interface::IsInCameraNavigation() – Returns true if in the middle of a camera navigation. Currently, this is used to
indicate ViewCube and multi-touch navigation.
- Interface::SetInCameraNavigation() – Sets the camera navigation state.
- Interface::AddObjectListContextMenuItem() – Adds a menu item to the context menu that comes up when you right-click an object
in the object list.
- Interface::AddLayerCallbackMenuItem() – Adds a menu item to the context menu that comes up when you right-click on a sculpt
or paint layer.
- Interface::CreateHighlightableMenuItem() – Returns a special QAction (see Qt documentation) that can be highlighted when you turn on What's New highlighting.
geometry.h
- Geometry::RemoveLowestLevel() – Removes the lowest subdivision level from this geometry and deletes it. The active
level cannot be removed. It returns true on success, otherwise false.
treenode.h
- TreeNode::SetStringID() – This method does the same thing as Node::SetStringID(). Additionally, it ensures that the name is unique among the node's siblings.
kernel.h
- New functions in the Kernel class – Kernel::GetImageStatsFcn(), Kernel::SetImageStatsFcn(), Kernel::GetPaintBufferStatsFcn(), Kernel::SetPaintBufferStatsFcn(), Kernel::GetCrashInfo(), Kernel::SetCrashHelpString(), and Kernel::AddStringToCrashBuffer().
math.h
- Vector::DistanceSquareFrom() – Returns the square of the distance between two points represented as vector objects.
- AxisAlignedBoundingBox::ExpandBy() – Expands the AABB by a specified amount in all directions. A negative value can
shrink the box.
array.h
- Store<type>::ByteFill() – Fills the array with a specified byte pattern. This method is similar to Store<type>::Fill(), but it is much faster.
New Event
Before a menu appears on the screen, a new Interface::CurrentMenu event is triggered. The plug-ins can use this event to modify the menu before it
appears. For more information, see the MenuMessenger SDK example.