FUSION · FULL ARTICLE
CustomVertex3D
CustomVertex3D programs scene3d vertex attributes—Position, normals, vertex color, UVW, tangents and velocity—using three optional image inputs, user controls, LUTs and staged Setup/Intermediate expressions.
Overview
Resolve 21 describes CustomVertex3D as an advanced custom node for per-vertex manipulation. It can modify Position, normals, vertex color, texture coordinates, environment coordinates, UV tangents and velocity. Unlike Transform3D, it executes rules on vertex attributes rather than merely transforming the whole object.
The node has four inputs. Orange SceneInput is required and accepts classic scene3d. ImageInput1, ImageInput2 and ImageInput3 are optional 2D image inputs available to the expression system for image lookup. The old one-input description was incomplete.
Position defaults to px/py/pz. Crucially, changing vertex Position does not recompute normals or tangents. Blackmagic explicitly recommends a downstream ReplaceNormals node when a deformed surface needs a rebuilt shading basis.
Not every geometry source carries every attribute. Resolve 21 notes that normal Fusion geometry often lacks vertex color, while particles and some imported FBX/Alembic meshes may provide it; environment coordinates are normally absent; velocity is characteristic of particles. Missing streams use documented defaults.
Documented defaults are tangentU=(1,0,0), tangentV=(0,1,0), normal=(0,0,1), vertexColor=(1,1,1,1), velocity=(0,0,0), envcoord=(0,0,0), and texcoord=(0,0,0). A non-trivial expression can create a missing attribute stream from that default baseline.
Numbers 1–8 are animatable variables n1…n8 and the current reference also documents n#_at(t). Points 1–8 expose p#x/p#y/p#z plus time-sampled forms. These Points are node controls, not vertices from the source mesh.
LUTs 1–4 provide four lookup splines, getlut1(x)…getlut4(x), for nonlinear remapping. The manual contains a legacy line mentioning lut1…lut8, but both the Inspector and documented functions expose four LUTs, so this article does not invent LUT 5–8.
Setup and Intermediate have different evaluation scopes. Setup runs once per frame; Intermediate runs once per vertex. Resolve 21 is internally inconsistent here: the heading says Setups 1–8, but the result-variable sentence lists only s1…s4, while Intermediate explicitly lists i1…i8. Do not promise s5…s8 without a live target-build check.
Image inputs can be sampled from expressions with normalized image coordinates: (0.5, 0.5) is the image center. Fusion documents get[ch][#]b/d/w families: b returns 0 out of bounds, d uses the edge pixel, and w wraps; the number selects image 1, 2 or 3. Therefore getr1d(tu,tv) is meaningful only when the source UVs are in the expected 0…1 space.
Fusion expression math has another important rule: sin/cos/tan use degrees, so sin(90)=1; formulas copied from radian-based languages need conversion. The current Inspector capture also exposes Apply in Source Coordinates, whose exact target-build behavior remains a live Resolve 21/21.1 A/B item rather than something inferred from its label.
CustomVertex3D output remains scene3d. Connecting images or modifying vertex color never turns the node into an RGBA image; Renderer3D is still required before MediaOut and normal 2D effects.
Bundled captures verify the Vertex, Numbers, Points, LUTs, Setup, Intermediate and Config tabs. Core semantics were cross-checked against the Resolve 21 reference; live Resolve 21/21.1 execution was not run for this package, so target-build edge cases remain pending.
Mesh density is part of the algorithm. CustomVertex3D moves existing vertices and does not create topology, so the same expression on a 10×10 plane and a 200×200 plane produces radically different geometric detail.
For wave/displacement work, debug the formula first in wireframe or with a simple matte material. A polished shader can hide insufficient subdivisions, stale normals, or an overly sharp derivative.
Image lookup and material texturing are separate roles. ImageInput1–3 are numerical sample sources for the expression system; they are not assigned to the object as materials and do not appear in the render by themselves.
Indexed getr/getg/getb/geta functions sample pixels in normalized image coordinates. If the source geometry lacks useful UVs, an expression using tu/tv may repeatedly sample one point or the documented default texcoord (0,0,0).
The lookup boundary suffix matters at UV edges: b returns black/zero out of bounds, d holds the edge pixel, and w wraps coordinates. This can completely change a seam with the same texture.
Treat Numbers and Points as the public API of a procedural rig. Complex math stays inside expressions while the artist sees amplitude, frequency, center, radius, and other meaningful controls.
Time-sampled n#_at(t) and point variants can read a control at another time. They enable temporal procedural logic but can also make expressions expensive and harder to diagnose.
LUT 1–4 work well as artist-friendly transfer functions: a distance or sampled texture can become a falloff, threshold-like response, or easing curve without a long chain of conditional math.
Keep Setup independent of the current vertex. If the expression needs px, py, pz, normals, or UVs from a specific vertex, that calculation belongs in Intermediate/Vertex rather than Setup.
Intermediate reduces duplicated per-vertex math. A radius can be computed once and then reused by Position, Vertex Color, and other attributes.
Writing Vertex Color does not guarantee that the renderer/material will display it. Confirm the downstream shader path actually reads the vertex-color stream.
Environment coordinates are usually absent from classic Fusion geometry. The existence of eu/ev/ew names in the expression language does not prove that a given mesh carries meaningful envcoord data.
Velocity streams are primarily associated with particles. Writing vx/vy/vz on ordinary geometry can create a stream, but its usefulness depends on a downstream tool that consumes it.
Tangent U/V only make sense together with consistent UVs, normals, and the intended material workflow. Arbitrary tangent edits can break normal/bump shading even when the geometry shape looks correct.
Random Seed and Reseed only matter when an expression actually uses a seed-dependent random/noise mechanism. Reseeding need not change a deterministic expression with no random component.
Config controls decide which Numbers, Points, Images, and LUTs are exposed and how they are named. This is control packaging, not an additional vertex-processing pass.
For a production template, first make the rig work with technical n1/p1/getlut1 names, then expose only the controls that matter and rename them for the artist.
CustomVertex3D can become expensive on dense geometry because Intermediate and Vertex expressions execute for every vertex. Cost rises with vertex count, formula complexity, and image lookups.
Profile before optimizing. Reducing mesh density where acceptable, moving frame-global work into Setup, and reusing Intermediate values are usually more meaningful than merely shortening expression text.
Final QC should happen through Renderer3D with the real material and lighting, not only in the 3D Viewer. Normal, tangent, and attribute-stream errors often appear only during shading.
When to use it
- Procedural waves and deformation on dense meshes
- Image-driven vertex displacement through ImageInput1–3
- Custom Point + LUT falloff rigs
- Procedural UV remapping and texture-coordinate animation
- Technical normal/tangent/vertex-color manipulation
- Particle/velocity attribute experiments
- Reusable artist controls built from Numbers/Points/Config
Article screenshots
- CustomVertex3D Vertex — Position, Normal and attribute groups
- CustomVertex3D Vertex Color and Texture Coordinate expressions
- CustomVertex3D Numbers 1–8
- CustomVertex3D Points 1–8
- CustomVertex3D LUTs 1–4
- CustomVertex3D Setup expressions
- CustomVertex3D Intermediate expressions
- CustomVertex3D Config — Random Seed and public-control configuration
Inputs & outputs
CustomVertex3D: scene3d + optional images → programmable scene3d
CustomVertex3D accepts required 3D geometry/scene plus up to three optional 2D images for expression lookup. It modifies vertex attributes while staying in the scene3d domain.
Runs Setup once per frame, Intermediate per vertex, then final Vertex expressions over Position, normals, colors, UV/tangents/velocity.
Inputs
- SceneInput
Geometry / scene to process
Receives: Classic Fusion scene3d from ImagePlane3D, Shape3D, Merge3D, imported mesh or another 3D processor.
Inside the node: Incoming vertex attributes become px/py/pz, normals, UVs and other expression sources.
Typical sources: ImagePlane3D · Shape3D · Merge3D · AlembicMesh3D / FBXMesh3D
SceneInput is required; a 2D image does not belong here.
- ImageInput1
Optional expression image #1
Receives: 2D RGBA/aux image for get[ch]1* lookup functions.
Inside the node: Expressions sample image #1 in normalized x/y coordinates; for example getr1d(0.5,0.5) samples the center and the d suffix uses the edge pixel out of bounds.
Typical sources: FastNoise · Background · MediaIn
An image input does not replace SceneInput or turn Output into an image.
- ImageInput2
Optional expression image #2
Receives: A second independent 2D image branch for lookup functions using index 2.
Inside the node: Provides a separate map/channel source to the same vertex-expression system.
Typical sources: FastNoise · Background · MediaIn
Do not confuse image-input index with channel name.
- ImageInput3
Optional expression image #3
Receives: A third 2D image branch for lookup functions using index 3.
Inside the node: Provides a third independent map source for procedural geometry logic.
Typical sources: FastNoise · Background · MediaIn
Material/scene3d are not equivalent input types here.
Outputs and destination
Output
Processed classic scene3d with modified vertex attributes.
Next step: ReplaceNormals3D · Merge3D · Renderer3D · other 3D processors
Direct Output → MediaOut/2D effect is a TYPE_MISMATCH; use Renderer3D.
- Output
- Processed classic scene3d; Renderer3D is required before MediaOut or normal 2D nodes.
Processing order
- SceneInput supplies geometry/scene.
- ImageInput1–3 optionally supply 2D pixels for expression lookup.
- Numbers/Points/LUT/Setup/Intermediate prepare data for per-vertex expressions.
- Vertex expressions write attributes; changing Position does not automatically rebuild normals/tangents.
- Output remains scene3d until Renderer3D.
Image-driven vertex wave
Dense ImagePlane3D → SceneInput · FastNoise → ImageInput1 · CustomVertex3D → ReplaceNormals3D → Merge3D → Renderer3D
Geometry and image remain separate data streams: the image is read by expressions while node output stays scene3d.
SceneInput = geometry; ImageInput1–3 = optional normalized-coordinate lookup sources; get*b/d/w = black/edge/wrap out of bounds; sin/cos/tan use degrees; Position changes do not rebuild normals/tangents; Output = scene3d.
Parameters
CustomVertex3D · Inspector reference
Read CustomVertex3D as a programmable pipeline: attributes → public controls → frame setup → per-vertex intermediate → final expressions. The main risks are wrong input data domains, stale normals after Position deformation, and confused evaluation scope.
- Inputs
- scene3d + image 1/2/3
- Global
- Numbers / Points / LUT / Setup
- Per vertex
- Intermediate → Vertex attributes
- Output
- scene3d → Renderer3D
Vertex · Position/Normal · Geometry & shading basis
Position moves vertices; Normal is a separate stream and is not automatically updated from Position.
- Vertex / Position
Vertex · Position/Normal > Vertex / PositionGroup of expressions that compute the new position of every vertex. X/Y/Z Position default to px/py/pz. Changing Position does not automatically recompute normals or tangents.
Check / distinguish: After strong deformation, inspect shading and add ReplaceNormals3D downstream when needed.
- Vertex / X Position
Vertex · Position/Normal > Vertex / X PositionExpression for the new X coordinate of each vertex. Base value is px and can be combined with Numbers, Points, LUTs, Setup/Intermediate results, and image lookup functions.
Check / distinguish: Keep px in the expression unless collapsing X to a constant is intentional.
- Vertex / Y Position
Vertex · Position/Normal > Vertex / Y PositionExpression for the new Y coordinate of each vertex. Base value is py; this is commonly used for waves and height deformation.
Check / distinguish: For a wave, start with py plus a small offset rather than replacing py outright.
- Vertex / Z Position
Vertex · Position/Normal > Vertex / Z PositionExpression for the new Z coordinate of each vertex. Base value is pz; common uses include relief, waves, and image-driven displacement. sin/cos/tan arguments are expressed in degrees.
Check / distinguish: Detail is limited by existing vertices; for a periodic wave, make the degree scale explicit, for example px*360*n2.
- Vertex / Normal
Vertex · Position/Normal > Vertex / NormalGroup of per-vertex normal expressions. Normals use nx/ny/nz. Position expressions do not update them automatically.
Check / distinguish: Do not edit normals blindly; bad direction or length immediately changes lighting.
- Vertex / X Normal
Vertex · Position/Normal > Vertex / X NormalX component of the normal expression. Defaults to nx; when a normal stream is missing, the documented default normal vector is (0,0,1).
Check / distinguish: If geometry truly lacks normals, consider ReplaceNormals3D first.
- Vertex / Y Normal
Vertex · Position/Normal > Vertex / Y NormalY component of the normal expression. Defaults to ny.
Check / distinguish: Treat the three components as one vector rather than unrelated artistic sliders.
- Vertex / Z Normal
Vertex · Position/Normal > Vertex / Z NormalZ component of the normal expression. Defaults to nz.
Check / distinguish: After manual edits, inspect specular and front/back lighting.
- Required SceneInput
Flow > CustomVertex3D.SceneInputThe orange SceneInput is required and accepts scene3d geometry/scene.
Check / distinguish: Background → SceneInput should return TYPE_MISMATCH; missing SceneInput should return REQUIRED_INPUT.
- Position does not rebuild normals
Vertex > Position vs Normal/TangentChanging output px/py/pz does not automatically update normals/tangents.
Check / distinguish: A/B a downstream ReplaceNormals3D on a strong wave deformation.
- X Position keeps px baseline
Vertex > X PositionFor a local offset, usually preserve px and add the offset. Replacing px with a constant collapses the mesh's X structure.
Check / distinguish: Compare px, px+n1, and n1 on a test grid.
- Y Position keeps py baseline
Vertex > Y PositionY Position is normally built from py; replacing the whole expression removes the original Y coordinate.
Check / distinguish: A/B py versus py+sin(px*360)*n1.
- Z Position is not displacement topology
Vertex > Z PositionChanging pz moves existing vertices but does not create new subdivisions.
Check / distinguish: Run the same expression on low- and high-subdivision planes.
- Normal vector must stay coherent
Vertex > Normal XYZnx/ny/nz form one vector. Independent artistic edits to components can easily produce an invalid shading basis.
Check / distinguish: Inspect specular under a moving PointLight before and after normal edits.
- ReplaceNormals is downstream geometry repair
CustomVertex3D → ReplaceNormals3DReplaceNormals3D rebuilds the basis after shape changes, but does not add topology or repair bad UVs.
Check / distinguish: On a sparse mesh, compare silhouette before/after ReplaceNormals; geometry detail will not increase.
- Mesh density controls geometric bandwidth
Upstream topologyCustomVertex3D does not create vertices; high-frequency formulas require sufficient upstream topology.
Check / distinguish: Double subdivisions with the formula unchanged and compare silhouette/detail.
- Final validation belongs after Renderer3D
QC > Renderer3DThe 3D Viewer shows geometry, but normal/tangent/material-stream defects often become obvious only after rasterization.
Check / distinguish: Check material + moving light + Renderer3D on representative frames.
Vertex · Attributes · Vertex streams
Vertex Color, TexCoord, EnvCoord, Tangent U/V, Velocity and the coordinate-space control operate on attribute streams that may be absent from source geometry.
- Vertex / Vertex Color
Vertex · Attributes > Vertex / Vertex ColorGroup of RGBA vertex-color expressions. Uses vcr/vcg/vcb/vca. Most Fusion geometry has no vertex-color stream; particles and some imported FBX/Alembic meshes are typical exceptions.
Check / distinguish: A missing stream uses documented defaults and is created only by a non-trivial expression.
- Vertex / Red VertexColor
Vertex · Attributes > Vertex / Red VertexColorRed vertex-color component. Defaults to vcr; the documented missing-stream default is 1.
Check / distinguish: Use as a technical mask only when the downstream material actually reads vertex color.
- Vertex / Green VertexColor
Vertex · Attributes > Vertex / Green VertexColorGreen vertex-color component. Defaults to vcg; documented missing-stream default is 1.
Check / distinguish: Do not confuse vertex color with material Diffuse Color.
- Vertex / Blue VertexColor
Vertex · Attributes > Vertex / Blue VertexColorBlue vertex-color component. Defaults to vcb; documented missing-stream default is 1.
Check / distinguish: Verify stream presence/consumption separately from the expression.
- Vertex / Alpha VertexColor
Vertex · Attributes > Vertex / Alpha VertexColorAlpha vertex-color component. Defaults to vca; documented missing-stream default is 1.
Check / distinguish: Vertex alpha is not automatically the final Renderer3D image alpha.
- Vertex / Texture Coordinate
Vertex · Attributes > Vertex / Texture CoordinateGroup of UVW texture-coordinate expressions. U/V/W use tu/tv/tw; documented missing-stream default is (0,0,0).
Check / distinguish: Before image lookup by UV, verify that source geometry has suitable texture coordinates.
- Vertex / U TexCoord
Vertex · Attributes > Vertex / U TexCoordU texture-coordinate expression. Defaults to tu and can drive procedural UV shift/remapping.
Check / distinguish: Test with a checker texture before a complex production material.
- Vertex / V TexCoord
Vertex · Attributes > Vertex / V TexCoordV texture-coordinate expression. Defaults to tv.
Check / distinguish: Keep UV deformation conceptually separate from Position deformation.
- Vertex / W TexCoord
Vertex · Attributes > Vertex / W TexCoordW texture-coordinate expression. Defaults to tw and matters only in workflows that consume the third texture-coordinate component.
Check / distinguish: Do not expect a visible effect if downstream sampling ignores W.
- Vertex / Environment Coordinates
Vertex · Attributes > Vertex / Environment CoordinatesEnvironment-coordinate expressions eu/ev/ew. Resolve 21 reference notes that normal Fusion geometry currently does not carry envcoord; documented default is (0,0,0).
Check / distinguish: Treat this as an advanced technical stream and verify its downstream consumer.
- Vertex / Tangent U
Vertex · Attributes > Vertex / Tangent UU-tangent vector expressions tux/tuy/tuz. Documented missing-stream default is (1,0,0). Tangents matter for tangent-space shading and some normal/bump workflows.
Check / distinguish: Position deformation does not recompute tangents automatically.
- Vertex / Tangent V
Vertex · Attributes > Vertex / Tangent VV-tangent vector expressions tvx/tvy/tvz. Documented missing-stream default is (0,1,0).
Check / distinguish: For a valid tangent basis, inspect normals and texture coordinates as well.
- Vertex / Velocity
Vertex · Attributes > Vertex / VelocityVelocity vector expressions vx/vy/vz. Resolve 21 notes that velocity is normally present on particles; documented missing-stream default is (0,0,0).
Check / distinguish: Do not assume this is a generic motion-vector pass for arbitrary geometry.
- Vertex / Apply in Source Coordinates
Vertex · Attributes > Vertex / Apply in Source CoordinatesCurrent Inspector checkbox affecting the coordinate space used for vertex-expression application. The control is visible in the bundled Resolve capture. The main manual describes vertex positions in world space and model↔world transforms through Setup/Intermediate; exact current-build checkbox behavior remains a live Resolve 21/21.1 verification item.
Check / distinguish: A/B it on transformed geometry instead of guessing from the label.
- Missing-stream defaults
Vertex attributes > absent streamBlackmagic documents defaults: normal (0,0,1), tangentU (1,0,0), tangentV (0,1,0), vertexColor (1,1,1,1), and zero velocity/envcoord/texcoord.
Check / distinguish: On geometry without vertex color, do not treat vcr/vcg/vcb/vca as uninitialized values.
- Non-trivial expression can create stream
Vertex attributes > stream creationIf a source stream is absent, a non-trivial expression can create it using the documented default as the starting value.
Check / distinguish: Compare node data/performance before and after creating a new attribute stream on a representative mesh.
- Apply in Source Coordinates
Vertex > Apply in Source CoordinatesThe control is confirmed by the current Inspector capture, but exact target-build coordinate-space behavior is not claimed without live A/B verification.
Check / distinguish: Compare Off/On on an object with a non-zero upstream transform in Resolve 21/21.1.
- Vertex Color RGBA is an attribute stream
Vertex > Vertex Colorvcr/vcg/vcb/vca are not material Diffuse Color. Visibility depends on a downstream shader that reads the stream.
Check / distinguish: Write a gradient into vertex color and use a diagnostic material known to consume it.
- Alpha VertexColor is not image alpha
Vertex > Alpha VertexColorvca is the alpha component of the vertex-color stream, not final Renderer3D image alpha.
Check / distinguish: Change vca and verify final alpha changes only when the downstream material consumes that attribute.
- Texture coordinates need real UVs
Vertex > Texture Coordinatetu/tv/tw come from the texcoord stream; if absent, the documented default is (0,0,0).
Check / distinguish: A checker map should distribute over the mesh; sampling one point indicates a UV/default problem.
- U TexCoord can remap lookup
Vertex > U TexCoordChanging U affects downstream texture coordinates and expressions that later consume the updated stream in the applicable evaluation path.
Check / distinguish: Set U=tu*2 and inspect downstream texture repetition separately from geometry displacement.
- V TexCoord is independent from Y position
Vertex > V TexCoordtv is a texture coordinate while py is vertex position. They may look correlated on a plane but are different streams.
Check / distinguish: Rotate/deform the plane and compare a tv-based map with a py-based expression.
- W TexCoord is not depth
Vertex > W TexCoordtw is the third component of the texture-coordinate stream, not camera depth or pz.
Check / distinguish: Do not use tw as Z without an explicit reason and source evidence.
- Environment coordinates may be absent
Vertex > Environment CoordinatesClassic Fusion geometry generally does not carry meaningful envcoord; the default is (0,0,0).
Check / distinguish: Inspect source data before building any eu/ev/ew-driven rig.
- Tangent U default
Vertex > Tangent UWhen the stream is absent, the reference uses tangentU=(1,0,0). Creating a tangent stream does not guarantee a correct tangent space.
Check / distinguish: Compare normal/bump shading with untouched tangents and with a downstream recompute path.
- Tangent V default
Vertex > Tangent VWhen absent, tangentV=(0,1,0). Tangent U/V must remain coherent with UVs and normals.
Check / distinguish: Do not edit only tvx/tvy/tvz without A/B testing bump shading.
- Velocity is not automatic motion
Vertex > Velocityvx/vy/vz are an attribute stream. Velocity alone does not move a vertex or guarantee motion blur.
Check / distinguish: Verify that a downstream tool actually consumes velocity before building a workflow around it.
- Source-coordinate toggle is version-sensitive
Vertex > Apply in Source CoordinatesThe control is visible in the current capture, but exact space semantics require a live A/B on the target build.
Check / distinguish: Test an object with upstream translation/rotation Off vs On and record the observed space.
Numbers · Points · LUTs · Artist controls & remap
Numbers/Points are animatable controls and LUTs provide nonlinear remapping; they do not alter geometry on their own.
- Numbers / Number 1–8
Numbers · Points · LUTs > Numbers / Number 1–8Eight animatable numeric controls available to expressions. Expressions can use n1…n8; the current manual also documents n#_at(t) for reading another time.
Check / distinguish: Rename artist-facing controls in Config while remembering that expressions use technical identifiers.
- Points / Point 1–8
Numbers · Points · LUTs > Points / Point 1–8Eight animatable 3D point controls. Provides p#x/p#y/p#z and time-sampled p#x_at(t) forms. These are control points belonging to the node, not source-mesh vertices.
Check / distinguish: Use them as deformation centers, axes, or falloff controls.
- LUTs / LUT 1–4
Numbers · Points · LUTs > LUTs / LUT 1–4Four lookup splines for value remapping. The reference documents four functions, getlut1(x)…getlut4(x), normally accessed over 0…1. Treat the manual line mentioning lut1…lut8 as a legacy inconsistency, not evidence of eight LUTs.
Check / distinguish: A LUT is often clearer than a long piecewise expression for falloff.
- LUTs / In / Out
Numbers · Points · LUTs > LUTs / In / OutExact input/output coordinates for the selected LUT point. Allows numerical spline-point placement instead of mouse-only editing.
Check / distinguish: Record important In/Out values for reproducible technical curves.
- Three image inputs
Flow > ImageInput1/2/3Green/magenta/teal inputs accept optional independent 2D images for lookup functions.
Check / distinguish: FastNoise → ImageInput1 should pass while Shape3D.Scene → ImageInput1 should be TYPE_MISMATCH.
- Image lookup functions
ImageInput# > get[ch][#]b/d/wFusion references document normalized x/y coordinates with 0.5/0.5 at image center. The b/d/w suffixes select black/edge/wrap out-of-bounds behavior, and 1/2/3 selects the image input.
Check / distinguish: On a checker map compare getr1b(-0.1,0.5), getr1d(-0.1,0.5), and getr1w(-0.1,0.5), then return to getr1d(tu,tv).
- Trigonometry uses degrees
Expressions > sin/cos/tanFusion Custom expression syntax defines sin/cos/tan in degrees: sin(90)=1. Use an explicit 360 multiplier for one spatial cycle instead of importing radian assumptions from other languages.
Check / distinguish: Compare sin(90) with sin(pi/2), then verify a wave such as sin(px*360*n2 + phaseDegrees).
- Numbers and Points are controls, not geometry
Numbers / Pointsn1…n8 and p#x/y/z are user-control variables. Points 1–8 are not mesh vertices.
Check / distinguish: Animate Point 1 and verify the mesh changes only when an expression actually references p1x/p1y/p1z.
- LUT is a remap stage
LUTs > getlut#LUT 1–4 return a remapped value for x and are useful for falloff without long piecewise expressions.
Check / distinguish: Compare linear and S-shaped LUTs with an unchanged distance input.
- Number slots are animatable scalars
Numbers > Number 1–8n1…n8 are useful for amplitude, frequency, threshold, and other scalar artist controls.
Check / distinguish: Bind only n1 to amplitude and verify n2…n8 do nothing until referenced.
- Time-sampled Number access
Numbers > n#_at(t)The time-sampled variant reads a Number control at another time and can make evaluation more expensive.
Check / distinguish: Compare n1 with n1_at(time-1) on a short animation and inspect cache/performance.
- Point controls define rig space
Points > Point 1–8Point controls are convenient 3D anchors for centers, axes, and falloffs, but are not source-mesh vertices.
Check / distinguish: Use p1x/p1y/p1z as a center and animate Point 1 visibly.
- Point time sampling
Points > time-sampled pointTime-sampled Point access enables temporal offsets around an animated control point.
Check / distinguish: Compare current Point and neighboring-frame values on a simple rig before using it on heavy geometry.
- LUT input range must be intentional
LUTs > getlut1–4A LUT is only useful when x has a known range; an unnormalized distance can sit at the end of the curve constantly.
Check / distinguish: Visualize or constrain distance to 0…1 before tuning the LUT shape.
- LUT In/Out are reproducibility controls
LUTs > In / OutNumeric In/Out values make important curve points reproducible instead of relying only on mouse placement.
Check / distinguish: Record important In/Out values in the regression example.
- Image lookup count affects cost
Expressions > get* callsEach image lookup runs in per-vertex context; multiple channels/inputs on dense geometry can materially increase cost.
Check / distinguish: Compare frame time with one getr1d versus four channel lookups on the same mesh.
Setup · Inter · Evaluation scope
Setup runs once per frame while Intermediate runs per vertex; final attribute expressions consume the prepared values.
- Setup / Setup 1–8
Setup · Inter > Setup / Setup 1–8Expressions evaluated once per frame before the per-vertex stage. Resolve 21 defines Setup as frame/global preparation. The manual names eight Setup slots but explicitly lists only s1…s4 as result variables; higher result identifiers need live verification.
Check / distinguish: Place time/global constants here; portable examples should rely on documented s1…s4 unless the target build has been tested.
- Inter / Intermediate 1–8
Setup · Inter > Inter / Intermediate 1–8Intermediate expressions evaluated once per vertex after Setup. Results i1…i8 can be reused by Position/Normal/UV/etc expressions as per-vertex scratch values.
Check / distinguish: Compute distance/falloff once in Intermediate and reuse it rather than duplicating math across XYZ.
- Setup = once per frame
Setup > evaluationSetup scripts run once per frame before per-vertex calculation and suit global/time-dependent math. Resolve 21 names eight Setup slots but explicitly lists only s1…s4 in the result-variable sentence; do not claim s5…s8 without a live target-build check.
Check / distinguish: Put time*3 in Setup 1 and vertex distance in Intermediate 1; use documented s1 in the final expression.
- Intermediate = per vertex
Inter > evaluationIntermediate expressions run per vertex after Setup and provide scratch values to final channel/attribute expressions.
Check / distinguish: Compute sqrt(px*px+py*py) once in Intermediate and reuse i1 in Z Position.
- Setup should not depend on current vertex
Setup > stage boundarySetup is a frame-global stage. Geometry-specific px/py/pz logic belongs in Intermediate/Vertex.
Check / distinguish: Move radius from Setup to Intermediate and compare result/readability.
- Setup slots vs documented result variables
Setup > s1…The UI shows Setup 1–8, but reference text is ambiguous about s5…s8. Do not depend on them in production without target-build proof.
Check / distinguish: Export a test .setting and verify parser/live values for s5…s8 on the target version.
- Intermediate values are reusable scratch
Inter > i1…i8i1…i8 let you compute a per-vertex distance/sample/falloff once and reuse it across several outputs.
Check / distinguish: Compute radius in i1 and reuse i1 in Position and Vertex Color.
- Evaluation order matters
Setup → Inter → VertexFrame-global Setup runs before per-vertex Intermediate, and final Vertex expressions consume the prepared values.
Check / distinguish: Build phase in s1, radius in i1, and deformation in Z Position.
- Intermediate is also a performance tool
Inter > reuseIntermediate is not only about readability; reuse can reduce repeated expensive math across Position/Color/Velocity.
Check / distinguish: Move repeated sqrt() into i1 and compare expression complexity/frame time.
Config · Settings · Rig packaging & service controls
Seed, public-control visibility/names and Settings package the rig without changing the scene3d output domain.
- Config / Random Seed
Config · Settings > Config / Random SeedSeed used by rand()/rands() expressions. A fixed seed makes procedural random repeatable and lets multiple CustomVertex3D nodes use different patterns.
Check / distinguish: Lock the seed before final rendering when randomness must reproduce.
- Config / Reseed
Config · Settings > Config / ReseedGenerates a new random seed. Convenient for auditioning a different random realization.
Check / distinguish: Do not use Reseed as animation when frame-to-frame determinism is required.
- Config / Number Controls
Config · Settings > Config / Number ControlsShow/Name configuration for Number 1–8. Lets you hide unused sliders and give artist-friendly labels while expressions continue to use n1…n8.
Check / distinguish: Expose only artist-facing controls.
- Config / Point Controls
Config · Settings > Config / Point ControlsShow/Name configuration for Point 1–8. Controls point visibility and UI names.
Check / distinguish: Hide helper points once a rig is finished to reduce Viewer clutter.
- Config / Image Controls
Config · Settings > Config / Image ControlsCurrent Inspector group for configuring image controls. The bundled capture confirms the Image Controls group. Exact expanded fields in the target Resolve 21/21.1 build were not captured here and remain a live-check item.
Check / distinguish: Expand the relevant Inspector group before selecting a setting, and verify its effect on the input material.
- Config / LUT Controls
Config · Settings > Config / LUT ControlsCurrent Inspector group for configuring LUT controls. The bundled capture confirms LUT Controls; these settings package the technical rig for users.
Check / distinguish: Keep UI naming separate from getlut#() expression functions.
- Settings
Config · Settings > SettingsStandard Fusion service settings. Does not change the data domain: CustomVertex3D output remains scene3d until Renderer3D.
Check / distinguish: Renderer3D is required before MediaOut or normal 2D effects.
- Renderer3D boundary
Flow > CustomVertex3D.OutputOutput remains scene3d regardless of ImageInputs or vertex-color changes.
Check / distinguish: CustomVertex3D.Output → MediaOut should return TYPE_MISMATCH.
- Random Seed must be consumed
Config > Random SeedSeed alone does not change a deterministic formula. It only matters with random/noise logic that consumes it.
Check / distinguish: Compare a deterministic wave before/after changing seed; it should remain identical.
- Reseed is not a universal variation button
Config > ReseedReseed creates new seed state only for seed-dependent logic; fixed math need not change.
Check / distinguish: Add a controlled random component before testing Reseed.
- Number Controls expose the public API
Config > Number ControlsExpose only Numbers that are actually used and name them by intent rather than n1/n2.
Check / distinguish: Keep Amplitude/Frequency and hide unused slots in a reusable macro.
- Point Controls should have semantic names
Config > Point ControlsName Point controls Center/Axis/Target so the user understands their role without reading the expression.
Check / distinguish: Rename Point 1 to Center and check Inspector readability.
- Image Controls expose lookup sources
Config > Image ControlsImage controls expose expression lookup sources. Hide unused ImageInput2/3 so the rig does not imply unsupported functionality.
Check / distinguish: Expose only Map in a single-map template.
- LUT Controls should match actual remaps
Config > LUT ControlsA public LUT should have a clear purpose such as Falloff/Profile and a known input range.
Check / distinguish: Rename LUT 1 to Falloff and document a 0…1 input contract.
- Settings are service controls
SettingsSettings are service controls and do not turn the scene3d processor into an image node.
Check / distinguish: After any Settings change, Output must still validate as scene3d.
- Target-build serialization is the final authority
Automation > .setting/.compUI labels and article names do not guarantee internal control IDs. Use an export from the target Resolve version for scripting.
Check / distinguish: Save a minimal .setting with one changed control and inspect the serialized key.
Before adjusting the node
- Check input domains first: only SceneInput is required and accepts scene3d; ImageInput1–3 accept 2D images.
- Keep default attribute expressions and change one family at a time so the source stream is not lost accidentally.
- After Position deformation, A/B ReplaceNormals3D separately because normals/tangents are not recomputed automatically.
- Use Setup only for frame-global math; move px/py/pz and other per-vertex dependencies to Intermediate/Vertex.
- Test image lookup with a simple map and valid UVs: get*() uses normalized 0…1 coordinates where 0.5/0.5 is the center; missing texcoords use the documented default (0,0,0).
- Renderer3D is required before MediaOut because CustomVertex3D Output remains scene3d.
Reference documentation
- Blackmagic Design · Fusion Visual Effects
Official Blackmagic learning material for Fusion logic, masks, compositing and core tools.
- Blackmagic Design · DaVinci Resolve support
Current Resolve/Fusion manuals and support material. Exact control names and placement can vary by version.
Examples
CustomVertex3D: Position wave plus correct normals
Demonstrate per-vertex Position deformation and separately prove that normals/tangents are not recomputed automatically.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1; CustomVertex3D semantics cross-checked against Resolve 21 reference text, Fusion tool references and bundled current Inspector captures · Classic Fusion 3D; expression evaluation and attribute availability are source-geometry dependent · Cross-platform reference; live Resolve execution not run in this package
1920 × 1080 · 24 fps · 144 frames · Classic Fusion scene3d through CustomVertex3D; three optional 2D image inputs are read by expressions; raster output is created only by Renderer3D
- DaVinci Resolve 21+
- CustomVertex3D, dense 3D geometry, Merge3D, Camera3D and Renderer3D
- ReplaceNormals3D when deformed positions require recomputed normals/tangents
Nodes and connections
PIC— Image source · BackgroundPLANE— Dense ImagePlane3D · ImagePlane3DCV— CustomVertex3D · CustomVertex3DRN— ReplaceNormals3D · ReplaceNormals3DCAM— Camera3D · Camera3DLIGHT— DirectionalLight · DirectionalLightMERGE— 3D Scene · Merge3DRENDER— Renderer3D · Renderer3DOUT— MediaOut · MediaOut
| Source | Destination | Data |
|---|---|---|
Image source (PIC)Output | Dense ImagePlane3D (PLANE)MaterialInput | image |
Dense ImagePlane3D (PLANE)Output | CustomVertex3D (CV)SceneInput | scene3d |
CustomVertex3D (CV)Output | ReplaceNormals3D (RN)SceneInput | scene3d |
ReplaceNormals3D (RN)Output | 3D Scene (MERGE)Scene1 | scene3d |
Camera3D (CAM)Scene | 3D Scene (MERGE)Scene2 | scene3d |
DirectionalLight (LIGHT)Scene | 3D Scene (MERGE)Scene3 | scene3d |
3D Scene (MERGE)Scene | Renderer3D (RENDER)Scene | scene3d |
Renderer3D (RENDER)Image | MediaOut (OUT)Input | image |
Graph output: MediaOut (OUT)
Parameter values
- CustomVertex3D (CV) / Numbers / Number 1
0.35Wave amplitude control.
- CustomVertex3D (CV) / Numbers / Number 2
1.5Wave cycles per scene-unit along X.
- CustomVertex3D (CV) / Vertex / Z Position
"pz + sin(px*360*n2 + time*3)*n1"Fusion trig uses degrees; 360*n2 makes the spatial frequency explicit.
- ReplaceNormals3D (RN) / Controls / Recompute Normals
"Always"Rebuild normals after position deformation.
Reproduce the example
- On a sufficiently subdivided ImagePlane3D keep X=px, Y=py and set Z = pz + sin(px*360*n2 + time*3)*n1.
CustomVertex3D moves existing vertices; Fusion sin() uses degrees, so 360*n2 explicitly defines cycles per scene unit while Number 1 remains amplitude.
Check: Wireframe deforms smoothly only with sufficient mesh density; n2=1 produces one full 360-degree cycle per X scene unit.
- A/B ReplaceNormals3D bypass versus Always after the same Position deformation.
Blackmagic explicitly warns that changing XYZ positions does not update normals/tangents automatically.
Check: Geometry stays the same while lighting/shading after recompute better matches the deformed surface.
Expected result
- MediaOut (OUT) · frame 96
An animated vertex wave with a separate, explicitly controlled normal-recompute stage.
Alpha: CustomVertex3D and ReplaceNormals3D remain scene3d; final alpha exists only in Renderer3D.Image.
When the result differs
- The wave looks faceted.
Cause: The source plane has too few vertices.
Correction: Increase upstream subdivisions; ReplaceNormals does not create topology.
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Custom Vertex 3D [3CV]
3D Nodes > Custom Vertex 3D: required SceneInput, three optional image inputs, vertex attributes, Numbers, Points, LUT, Setup, Intermediate and Config evaluation model.
- Blackmagic Design — Fusion Tool Reference: Custom Vertex 3D [3CV]
Per-vertex defaults, missing-stream behavior, normal/tangent caveat, normalized get[ch][#]b/d/w image lookups and degree-based trigonometric expression syntax.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: classic Fusion 3D
Classic scene3d flow and Renderer3D scene-to-image boundary used by these examples.
- Blackmagic Design — Visual Effects Guide to DaVinci Resolve 20
Background/FastNoise image sources and MediaOut image sink used by the example graphs.
- Blackmagic Design — Fusion Tool Reference: Replace Normals 3D [3Rn]
ReplaceNormals3D recomputation used after position deformation in the examples.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Directional Light
DirectionalLight scene3d source used for shading diagnostics in the examples.
CustomVertex3D: ImageInput1 as a map through getr1d()
Verify the real image-input workflow without replacing SceneInput or relying on Displace3D.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1; CustomVertex3D semantics cross-checked against Resolve 21 reference text, Fusion tool references and bundled current Inspector captures · Classic Fusion 3D; expression evaluation and attribute availability are source-geometry dependent · Cross-platform reference; live Resolve execution not run in this package
1920 × 1080 · 24 fps · 144 frames · Classic Fusion scene3d through CustomVertex3D; three optional 2D image inputs are read by expressions; raster output is created only by Renderer3D
- DaVinci Resolve 21+
- CustomVertex3D, dense 3D geometry, Merge3D, Camera3D and Renderer3D
- ReplaceNormals3D when deformed positions require recomputed normals/tangents
Nodes and connections
SRC— Dense Shape3D · Shape3DMAP— FastNoise map · FastNoiseCV— CustomVertex3D · CustomVertex3DCAM— Camera3D · Camera3DLIGHT— DirectionalLight · DirectionalLightMERGE— 3D Scene · Merge3DRENDER— Renderer3D · Renderer3DOUT— MediaOut · MediaOut
| Source | Destination | Data |
|---|---|---|
Dense Shape3D (SRC)Scene | CustomVertex3D (CV)SceneInput | scene3d |
FastNoise map (MAP)Output | CustomVertex3D (CV)ImageInput1 | image |
CustomVertex3D (CV)Output | 3D Scene (MERGE)Scene1 | scene3d |
Camera3D (CAM)Scene | 3D Scene (MERGE)Scene2 | scene3d |
DirectionalLight (LIGHT)Scene | 3D Scene (MERGE)Scene3 | scene3d |
3D Scene (MERGE)Scene | Renderer3D (RENDER)Scene | scene3d |
Renderer3D (RENDER)Image | MediaOut (OUT)Input | image |
Graph output: MediaOut (OUT)
Parameter values
- CustomVertex3D (CV) / Numbers / Number 1
0.2Image-driven displacement amplitude.
- CustomVertex3D (CV) / Vertex / Z Position
"pz + (getr1d(tu,tv)-0.5)*n1"Sample red from ImageInput1 with normalized UV coordinates; d clamps out-of-bounds lookup to the edge pixel.
- CustomVertex3D (CV) / Vertex / U TexCoord
"tu"Keep source U unchanged.
- CustomVertex3D (CV) / Vertex / V TexCoord
"tv"Keep source V unchanged.
Reproduce the example
- Connect Shape3D only to orange SceneInput and FastNoise only to green ImageInput1.
These are different data domains: geometry and a 2D image lookup source.
Check: The validator accepts scene3d→SceneInput and image→ImageInput1; swapping them must produce TYPE_MISMATCH.
- Use getr1d(tu,tv) in Z Position and vary only n1; first verify that tu/tv occupy the expected 0…1 range.
The lookup reads image #1 in normalized image coordinates; the d suffix uses the edge pixel out of bounds, while Number separates map pattern from amplitude.
Check: The map center corresponds to about tu=0.5/tv=0.5; at n1=0 geometry returns to its original Z shape without disconnecting ImageInput1.
Expected result
- MediaOut (OUT) · frame 96
FastNoise drives per-vertex Z through ImageInput1 and UV lookup while Output remains scene3d.
Alpha: ImageInput1 is a lookup source, not final raster output; final frame alpha is produced by Renderer3D.
When the result differs
- The map appears smeared or collapsed to one location.
Cause: Source geometry lacks suitable texture coordinates and falls back to default texcoord values.
Correction: Create or verify UVs first through source controls or UVMap3D.
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Custom Vertex 3D [3CV]
3D Nodes > Custom Vertex 3D: required SceneInput, three optional image inputs, vertex attributes, Numbers, Points, LUT, Setup, Intermediate and Config evaluation model.
- Blackmagic Design — Fusion Tool Reference: Custom Vertex 3D [3CV]
Per-vertex defaults, missing-stream behavior, normal/tangent caveat, normalized get[ch][#]b/d/w image lookups and degree-based trigonometric expression syntax.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: classic Fusion 3D
Classic scene3d flow and Renderer3D scene-to-image boundary used by these examples.
- Blackmagic Design — Visual Effects Guide to DaVinci Resolve 20
Background/FastNoise image sources and MediaOut image sink used by the example graphs.
- Blackmagic Design — Fusion Tool Reference: Replace Normals 3D [3Rn]
ReplaceNormals3D recomputation used after position deformation in the examples.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Directional Light
DirectionalLight scene3d source used for shading diagnostics in the examples.
- Blackmagic Design — DaVinci Resolve 21 / Fusion Fast Noise [FN] Generator Reference
Fusion Page Effects > Generator Nodes > Fast Noise, p. 2416: optional Noise Detail Map (black=0 detail, white=configured detail), Noise Brightness Map (field control before Color, can replace noise with Detail=0), and Effect Mask. Noise/Color controls are cross-checked with the article captures; no native render is claimed.
CustomVertex3D: Setup once per frame, Intermediate per vertex
Separate evaluation scopes and build a readable procedural falloff without duplicated math.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1; CustomVertex3D semantics cross-checked against Resolve 21 reference text, Fusion tool references and bundled current Inspector captures · Classic Fusion 3D; expression evaluation and attribute availability are source-geometry dependent · Cross-platform reference; live Resolve execution not run in this package
1920 × 1080 · 24 fps · 144 frames · Classic Fusion scene3d through CustomVertex3D; three optional 2D image inputs are read by expressions; raster output is created only by Renderer3D
- DaVinci Resolve 21+
- CustomVertex3D, dense 3D geometry, Merge3D, Camera3D and Renderer3D
- ReplaceNormals3D when deformed positions require recomputed normals/tangents
Nodes and connections
SRC— Dense ImagePlane3D · ImagePlane3DCV— CustomVertex3D · CustomVertex3DRN— ReplaceNormals3D · ReplaceNormals3DCAM— Camera3D · Camera3DLIGHT— DirectionalLight · DirectionalLightMERGE— 3D Scene · Merge3DRENDER— Renderer3D · Renderer3DOUT— MediaOut · MediaOut
| Source | Destination | Data |
|---|---|---|
Dense ImagePlane3D (SRC)Output | CustomVertex3D (CV)SceneInput | scene3d |
CustomVertex3D (CV)Output | ReplaceNormals3D (RN)SceneInput | scene3d |
ReplaceNormals3D (RN)Output | 3D Scene (MERGE)Scene1 | scene3d |
Camera3D (CAM)Scene | 3D Scene (MERGE)Scene2 | scene3d |
DirectionalLight (LIGHT)Scene | 3D Scene (MERGE)Scene3 | scene3d |
3D Scene (MERGE)Scene | Renderer3D (RENDER)Scene | scene3d |
Renderer3D (RENDER)Image | MediaOut (OUT)Input | image |
Graph output: MediaOut (OUT)
Parameter values
- CustomVertex3D (CV) / Numbers / Number 1
0.18Overall deformation amplitude.
- CustomVertex3D (CV) / Numbers / Number 2
2Radial cycles per scene-unit.
- CustomVertex3D (CV) / Setup / Setup 1
"time*3"Compute one frame-global phase angle in degrees.
- CustomVertex3D (CV) / Inter / Intermediate 1
"sqrt(px*px + py*py)"Compute radial distance once per vertex.
- CustomVertex3D (CV) / Vertex / Z Position
"pz + sin(i1*360*n2 + s1)*n1"Combine radial distance with an explicit degree-based phase and amplitude.
- ReplaceNormals3D (RN) / Controls / Recompute Normals
"Always"Rebuild shading basis after deformation.
Reproduce the example
- In Setup 1 compute only the frame-global angle time*3 (degrees), and move radial distance sqrt(px²+py²) to Intermediate 1.
Setup is evaluated once per frame while Intermediate is evaluated separately for each vertex. Keep sin() in the final expression where per-vertex distance is already available.
Check: Per-vertex px/py appear only in Intermediate/Vertex stages, Setup is independent of a particular vertex, and s1 stores the angle rather than a precomputed sine.
- In Z Position use pz + sin(i1*360*n2 + s1)*n1, then recompute normals downstream.
i1 supplies per-vertex radius, s1 supplies a frame-global angle in degrees, n2 is an explicit radial-cycle control, and n1 is amplitude; the scopes and units are visible in the formula.
Check: Animation changes the global phase, n2 changes the number of rings, and the radial pattern remains tied to vertex positions.
Expected result
- MediaOut (OUT) · frame 96
A readable radial wave with global and per-vertex calculations separated into the correct stages.
Alpha: Expression stages modify scene3d attributes; final image/alpha appears only after Renderer3D.
When the result differs
- The Setup expression behaves identically for all vertices or cannot meaningfully use px/py.
Cause: That is expected: Setup is a once-per-frame stage, not a per-vertex stage.
Correction: Move vertex-dependent math to Intermediate or the final Vertex expressions.
References
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Custom Vertex 3D [3CV]
3D Nodes > Custom Vertex 3D: required SceneInput, three optional image inputs, vertex attributes, Numbers, Points, LUT, Setup, Intermediate and Config evaluation model.
- Blackmagic Design — Fusion Tool Reference: Custom Vertex 3D [3CV]
Per-vertex defaults, missing-stream behavior, normal/tangent caveat, normalized get[ch][#]b/d/w image lookups and degree-based trigonometric expression syntax.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: classic Fusion 3D
Classic scene3d flow and Renderer3D scene-to-image boundary used by these examples.
- Blackmagic Design — Visual Effects Guide to DaVinci Resolve 20
Background/FastNoise image sources and MediaOut image sink used by the example graphs.
- Blackmagic Design — Fusion Tool Reference: Replace Normals 3D [3Rn]
ReplaceNormals3D recomputation used after position deformation in the examples.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Directional Light
DirectionalLight scene3d source used for shading diagnostics in the examples.
Other outlines from the article
Procedural wave
A dense ImagePlane3D gets a degree-based sinusoidal Z expression driven by Number controls; ReplaceNormals3D rebuilds shading after positions change.
- ImagePlane3D
- CustomVertex3D
- ReplaceNormals3D
- Merge3D + Camera/Light
- Renderer3D
Image-driven deformation
FastNoise enters ImageInput1 and getr1d(tu,tv) samples it with normalized source UVs to drive Z Position.
- Dense Shape3D
- CustomVertex3D.SceneInput
- FastNoise → ImageInput1
- Renderer3D
Setup + Intermediate falloff
Setup computes frame-global phase, Intermediate computes distance/falloff per vertex, and the final Vertex expression uses both results.
- Dense mesh
- CustomVertex3D Setup/Inter
- ReplaceNormals3D
- Renderer3D
Artist-controlled radial dent
A Point defines the center, Intermediate computes distance, a LUT shapes the falloff, and a Number controls depth. ReplaceNormals3D rebuilds shading after deformation.
- Dense ImagePlane3D
- CustomVertex3D · Point + Inter + LUT
- ReplaceNormals3D
- Renderer3D
UV seam diagnostic
One test map feeds ImageInput1 while getr1b/getr1d/getr1w are compared on UV coordinates outside 0…1.
- Test Map
- CustomVertex3D · ImageInput1
- Renderer3D
Vertex-color technical stream
Intermediate computes a procedural mask and writes it into RGB vertex color; a downstream material is separately verified to read that attribute.
- Dense Mesh
- CustomVertex3D · Vertex Color
- Material that reads vertex color
- Renderer3D
Reusable deformation rig
Numbers/Points/LUT remain artist controls, Config hides unused parameters, and Setup/Intermediate separate global from per-vertex math.
- Mesh
- CustomVertex3D · Config rig
- ReplaceNormals3D
- Renderer3D
Mistakes
- Treating the three ImageInputs as 3D/material sockets; they accept 2D images for expression lookup.
- Changing Position and expecting normals/tangents to update automatically.
- Putting per-vertex px/py logic in Setup, which runs once per frame, or forgetting that trig functions use degrees.
- Repeating expensive distance math in X/Y/Z instead of computing one Intermediate value.
- Assuming vertex color/velocity/envcoord streams exist without accounting for documented defaults.
- Running complex deformation on a low-poly plane and blaming the expression for faceting.
- Connecting Output directly to MediaOut even though it remains scene3d.
- Connecting a 2D image to SceneInput or scene3d to an ImageInput and ignoring the data-type boundary.
- Expecting an ImageInput to become an object texture/material automatically.
- Using an under-subdivided mesh for displacement and trying to fix faceting with ReplaceNormals3D.
- Replacing px/py/pz with a constant instead of adding an offset and accidentally collapsing geometry along an axis.
- Changing Position and assuming normals/tangents were rebuilt automatically.
- Trying to repair stale normals by hand-editing nx/ny/nz without understanding the new surface.
- Treating vertex color as equivalent to a material Diffuse Color.
- Writing Vertex Color and expecting a visible result without a shader path that reads the stream.
- Assuming eu/ev/ew environment coordinates exist meaningfully on every geometry source.
- Editing velocity on a regular mesh and expecting particle-style motion behavior without a downstream consumer.
- Changing Tangent U/V independently of UVs/normals and breaking normal/bump shading.
- Assuming tu/tv always contain useful 0…1 UVs and ignoring the documented default texcoord on missing streams.
- Ignoring the image-lookup boundary suffix and getting unintended black, clamped, or wrapped seams.
- Feeding radian values into sin/cos/tan out of habit from Python/C++ and getting the wrong period.
- Duplicating the same expensive per-vertex expression across several attributes instead of using Intermediate.
- Putting vertex-dependent px/py/pz logic into a stage intended to be Setup once per frame.
- Claiming s5…s8 are verified merely because the UI shows eight Setup slots without checking the target-build parser.
- Treating Points 1–8 as source-mesh vertices instead of user control points.
- Using a LUT without a known input range and then debugging the curve against arbitrary values.
- Pressing Reseed and expecting a deterministic expression with no random component to change.
- Exposing every Number/Point/Image/LUT and turning a macro/template Inspector into noise.
- Testing performance only on a tiny plane and then moving the same expression to a million-vertex asset without profiling.
- Connecting Output directly to MediaOut and forgetting that the result remains scene3d.
- Judging the result only in the 3D Viewer without checking final Renderer3D shading.
- Automating controls by UI label without confirming internal IDs in a .setting/.comp from the target Resolve version.
Tips
- Structure rigs in three layers: public Numbers/Points → Setup/Intermediate math → final Vertex attributes.
- For image-driven deformation, validate with a simple grayscale map and checker UV; get*() coordinates are normalized, so the map center is 0.5/0.5.
- Keep ReplaceNormals3D as a separate downstream step so shading can be A/B tested after Position deformation.
- Do not create missing attribute streams without a reason; a non-trivial expression can add data and overhead.
- Fix Random Seed for reproducible renders; keep Reseed as an audition control only.
- Test Apply in Source Coordinates on deliberately transformed geometry and document the live result for the target Resolve build.
- Begin deformation with one simple expression and one Number for amplitude; add complexity only after the baseline is visually clear.
- Keep ReplaceNormals3D nearby as a bypassable A/B stage for any strong Position deformation.
- Maintain a test mesh with predictable UVs plus a checker/gradient map for get* lookup diagnostics.
- For seam tests, deliberately sample slightly outside 0…1 so the difference between b/d/w becomes obvious.
- If source UVs are missing, fix topology/UVMap3D upstream instead of hiding the problem with arbitrary lookup math.
- Use Numbers for scalar controls, Points for centers/directions, and LUTs for falloff shape; that separation keeps the rig understandable.
- Rename public Config controls by intent—Amplitude, Frequency, Center, Radius—instead of exposing n1/n2/p1.
- Keep Setup short: time and global constants. Anything depending on the current vertex belongs later.
- Use Intermediate as a named scratch layer—distance, sampled map, falloff, mask—computed once and consumed several times.
- When creating a new attribute stream, compare node data and render cost, especially on dense imported geometry.
- For vertex color, use a dedicated diagnostic shader/material known to display the stream; otherwise the test is ambiguous.
- Inspect normals/tangents with a moving light and specular material because basis errors become much easier to see.
- When expressions use time-sampled controls, inspect neighboring frames and cache behavior, not just the current frame.
- For random-driven rigs, keep the seed as an explicit production control so the result is reproducible.
- Before optimizing, profile CustomVertex3D itself; then reduce lookups, move global work to Setup, and reuse per-vertex math through Intermediate.
- Document units inside reusable templates: scene units, degrees, normalized UVs, and expected value ranges.
- Keep a small regression comp with a known mesh/map and expected silhouette to catch parser or behavior changes after Resolve updates.
Workflow order
- Feed geometry/scene to required orange SceneInput and first verify source mesh density plus existing UV/normal attributes.
- Keep px/py/pz and other default expressions as a neutral baseline, then change one attribute family at a time.
- Create artist controls with Numbers/Points and rename them in Config once the rig is stable.
- Move frame-global work into Setup and per-vertex distance/falloff into Intermediate.
- For image-driven behavior, connect images to ImageInput1/2/3; get*() uses normalized 0…1 coordinates and b/d/w select black/edge/wrap behavior outside the image.
- Use degrees for sin/cos/tan; after Position deformation compare shading before/after ReplaceNormals3D because normals/tangents are not recomputed automatically.
- Inspect the result in the 3D Viewer, merge camera/light through Merge3D, and rasterize only through Renderer3D.
- Start with a simple dense mesh connected only to SceneInput and confirm a clean passthrough with the default expressions.
- Open the Vertex tab and change one attribute family at a time: Position first, then Normal or other streams only when required.
- For deformation, preserve px/py/pz as the base and add a small offset such as pz + expression*n1.
- Check mesh density. If the shape is faceted, add subdivisions upstream before tuning the formula further.
- After Position deformation, compare shading before and after ReplaceNormals3D and decide whether an explicit normal/tangent rebuild is needed.
- For texture-driven logic, connect the map to ImageInput1 while leaving geometry on SceneInput; do not mix the data domains.
- Verify UVs with a simple test map and getr1d(tu,tv), checking that center and edges sample where expected.
- A/B the b/d/w lookup suffixes with coordinates beyond the image when the map is expected to tile, clamp, or return black.
- Move amplitude/frequency/radius into Numbers and center/axis controls into Points so the main expression remains readable.
- For nonlinear falloff, normalize the LUT input into a known range first, then call getlut1(...) from the final expression.
- Put frame-global phase/time math in Setup and per-vertex distance/sample math in Intermediate.
- Reuse i1…i8 across multiple attributes instead of duplicating expensive per-vertex formulas.
- When writing a new stream such as Vertex Color, Velocity, or Tangent, confirm that a downstream node actually consumes it.
- Configure the public UI only after the formula works: expose the required Numbers/Points/Images/LUTs and give them meaningful names.
- Check animation on several frames, especially when using time, n#_at(t), random functions, or animated Points.
- Benchmark on a representative mesh rather than only on a tiny test plane.
- Render through the actual material/light/Renderer3D chain and inspect silhouette, shading, UV seams, and motion.
- Save a small .setting/.comp with known geometry and known control values as the regression baseline for future scripting and Resolve updates.
