Vector Displacement (VDM)

· · Shared with Painting · Ultra

A vector displacement map (VDM) stamps a whole shape onto the model in one go — a bolt head, a horn, an ear, a claw, a row of scales. An ordinary alpha can only push the surface straight out; a VDM moves every point in its own direction, so it can lean, curl and overhang: the underside of a mushroom cap, the inside of a hook, the rim of an ear. Vertexix’s VDMs also carry their colour and material, so a stamp can paint as it sculpts. Press on the model, drag to size and turn the shape, and release to lay it.

A rounded slab with four hex bolts in its corners, a horn in the middle and a row of rivets along its front, stamped from the starter library; the Vector Displacement section open in the sidebar and the next stamp's see-through preview under the cursor
Bolts, a horn and rivets from the starter library, with the next stamp previewed under the cursor.

Picking the tool

In Sculpting, pick Vector Displacement (VDM) in the tool bar at the bottom of the view; its settings are in the Vector Displacement section of the sidebar. In Painting the same tool is in the paint tool bar: there it paints the VDM’s colour and material, and its shape into the normal and height maps. In Voxel mode the VDM Stamp button lays a VDM as a solid of its own, and in Sculpting the same button in Extend lays it as a mesh of its own (see The VDM Stamp).

Tick Preview under the cursor and a see-through copy of the stamp follows the cursor while you move over the model, at the size and turn it will be laid, so you can see where it lands before you press. It is off to begin with.

The library

The library is laid out as the stitch library is. Each VDM is a file of its own (.vxvdm), and VDMs that belong together — bolts, horns — sit in a group, a folder of the library. Pick a group from the dropdown at the top of the section and its VDMs are shown below it as pictures, at least five a row; click one to pick it, or step through the group with , and .. Hover over a VDM to see it larger, with its size and tags. The folder button beside the dropdown makes a new group. The search box finds VDMs in every group by name, group or tag.

Double-click a VDM — or press Edit… — to open its whole group in the VDM Creator with that VDM shown; New… starts an empty set there that is saved into the group shown. Right-click a VDM to edit or delete it.

Vertexix comes with a starter library, made in the VDM Creator:

GroupVDMs
HardwareHex Bolt, Rivet, Phillips Screw, Slotted Screw, Socket Cap Screw, Nut and Bolt
SpikesCone Spike, Pyramid Spike, Curved Spike, Claw, Thorn
HornsCurved Horn, Twisted Horn, Ridged Horn, Horn Bud
ScalesRound Scale, Pointed Scale, Keeled Scale, Armour Plate
Stitches and ZipsStitch, Cross Stitch, Zip Tooth, Chain Link
OrganicEar, Wart, Bone Knob

Make your own in the VDM Creator, or bring them in with Import…: .vxvdm files, or EXR, TIFF or PNG maps made in another application, into the group shown — pick as many as you like, and each becomes a VDM of its own. Import a Folder… brings in every VDM file and map in a folder as a new group named after the folder. Every application stores the directions its own way, so set Import as first:

Import asFor maps from
Blender (EXR)Blender’s sculpt brushes and the VDM Brush Baker add-on. This is Vertexix’s own convention.
3DCoat (EXR / TIFF)3DCoat’s Extruder alphas and Pick & Paste.
Mudbox (tangent space)Vector displacement maps extracted in Mudbox.
ZBrush (exported map)Maps written by ZBrush’s Multi Map Exporter. (ZBrush’s own VDM brushes are stored in its .ZBP files, which no other application can read.)
16-bit PNG / TIFF (mid-grey zero)Integer maps from tools without floating-point output.

Laying a stamp

Press on the model where the middle of the shape should go, drag outward to size it — the direction you drag turns it — and release to lay it. While dragging, Shift snaps the turn to 15°, Ctrl keeps it upright to the view, and Alt presses the shape in instead of out. Esc or a right click cancels. A stamp is part of the sculpt like any brush stroke: Ctrl+Z takes it off again.

With Symmetry on, the other side gets the mirror image: a left ear stamped on one side makes a right ear on the other.

Strokes

In Sculpting, Stroke sets how the brush lays the VDM:

StrokeWhat it does
Drag to placeOne stamp: press for the middle, drag to size and turn, release.
Dabs along a strokePaint a stroke, and a stamp is laid every Spacing at the brush’s size. Turn faces each dab Upright to the view or Along the stroke (scales or spikes leaning the way the stroke goes). The dabs lay the VDMs of the picked one’s group (those of its size), starting with the picked one, and Pick chooses which one each dab lays: In order, At random (a VDM’s weight makes it likelier), or At random, no repeats. Size Jitter, Turn Jitter and Depth Jitter vary the dabs.
Bend along the strokeDraw a stroke; on release the VDM follows it, bent round every curve, as wide as the brush. Fit: Repeat lays copies end to end — a chain, a zip, a row of scales; Stretch lays one copy from the start of the stroke to its end — a tentacle, a horn, a braid.

Settings

SettingWhat it does
DepthHow far the shape stands out: 100% is as it was made, relative to the stamp’s size. Below 0 it is pressed in instead — only its height turns over, so a hook still leans the same way.
Follow SurfaceAt 100% the stamp bends round a curved surface, every point moved in its own direction, so its edges stay on the skin. At 0% it is laid on one flat plane, as Blender and ZBrush lay a VDM — on a curve its middle sinks and its edges float.
Edge FadeFades the outer part of the square to nothing, for a VDM (usually an imported one) whose edge does not come back to the surface and would leave a step.
Detail from mapTurns on Dynamic Topology with a detail fine enough for the VDM at the brush’s size, so the shape comes through on a coarse mesh. A dragged-out stamp then refines the surface under it when you let go.
Also paint / Also sculptIn Sculpting, Also paint paints the VDM’s colour and material and its shape into the normal and height maps as it sculpts; in Painting, Also sculpt moves the surface as it paints. Either way it is one undo for both. Paints picks the channels: Colour, Metallic, Roughness, Emission and AO come from the VDM’s own layers; Height and Normal are its shape, for a model that should look as if it had it without the polygons.
Flip X / Flip YMirror the VDM left to right (a left ear becomes a right ear) or top to bottom.
Lock RotationThe drag only sizes the stamp; it stays upright to the view.
Preview under the cursorA see-through copy of the stamp follows the cursor before you press. Off to begin with.
Tip

A stamp can only be as detailed as the mesh under it. On a coarse model, press Detail from map first, or stamp on a denser mesh. Very tall, thin shapes — the tip of a long horn — get less detail than wide ones, because a VDM holds them in a square.

The VDM Stamp (Voxel and Sculpting)

In Voxel mode, press VDM Stamp and use the picked VDM the same way: press on a shape for the middle, drag to size and turn, release. The stamp becomes a solid of its own in the scene, laid along the surface where it lands — added, or with a negative Depth carved in. Behind sets how far behind the surface the solid reaches: deep enough to join the shape under a curved spot, or to cut clean through to the air. A plain click lays a stamp at the last size.

Sculpting has the same stamp, in its Extend section beside Extrude. Press on a mesh, drag and release exactly as in Voxel mode, and the stamp is added to the Sculpt Tree as a mesh of its own, laid on the mesh you pressed. With a negative Depth it becomes a Subtract mesh that holds that mesh instead — it takes the mesh's place in the tree, the mesh hung under it — and it carves the groove live; Make Boolean Mesh makes the carving permanent. Mirror mode stamps the other side too, and one Ctrl+Z takes a stamp (and its mirror copies) back out. The Vector Displacement brush, by contrast, moves the surface that is already there.

VDMs in stitch brushes

VDMs can become a stitch brush: in the Stitch Creator, File > New from a VDM Set… makes each VDM file you pick (a group’s, picked together) a segment, laid one after another along the stitch’s curve — a zip’s teeth, a chain’s links. Give the segments their roles (start, end, corner…) there, then save the brush.

Baking a model’s detail as a VDM

A vector displacement map can also carry a whole model’s detail to another application. In the Create Normal Map section, under Vector displacement map, choose the source and press Export as VDM Bake…: it bakes into the Generated Mesh’s UV map and writes a 32-bit EXR for each selected material. It uses the section’s resolution and padding.

ChoiceWhat it does
The subdivision levels’ detailThe real thing: the sculpted top subdivision level against the base subdivided as smoothly, point for point — sideways moves and overhangs included. The Sculpt tab’s Subdivision Level section has Export Detail as VDM… for the same thing.
The Loaded Mesh, along the normalsThe difference between the Loaded and the Generated Mesh, found along the normals as the height map is. Two different meshes have no point-for-point match, so this one holds no overhangs; the subdivision slider above it bakes from the Generated Mesh subdivided first.
Tangent space / Object spaceTangent space follows the surface, so the mesh can be posed or deformed; object space is the model’s own X, Y and Z. Either way the values are in scene units: displacement scale 1, midlevel 0.
Blender / 3DCoat / Mudbox / ZBrushWhich application’s channel layout to write (tangent space). Blender’s is X right, Y up, Z out; Mudbox and ZBrush put the normal in the green channel.
Half float (smaller file)Writes 16-bit floats instead of 32-bit.

To use the map in Blender, give the base mesh a Subdivision Surface modifier with as many levels as the model has (UV Smooth: None), then a Vector Displacement node in the material (tangent space) or a Displace modifier set to RGB to XYZ in Local space (object space), with midlevel 0 and strength 1.

Editions

Vector displacement — stamping, the VDM Creator, importing and baking — is part of Vertexix Ultra. In the other editions the section shows what it does and which edition has it.

Keys

KeyWhat it does
, / .The previous / next VDM of the picked one’s group.
Shift (dragging)Snap the turn to 15°.
Ctrl (dragging)Keep the stamp upright to the view.
Alt (dragging)Press the shape in instead of out.
Esc / right clickCancel the stamp being dragged.