Save position as property

There are many ways to get save the position of the vertices on a mesh as data. It can be saved on the mesh as vertex color, as custom uv attribute or as a texture.

  • Position as Vertex Color
    • Gotcha
      • When we bring in the

Sequencer

  • Animating In Sequencer
    • info
      • If we want to animate the parameter driving the VAT WPO material we can do the following
      • Note that when using the workflow below, the animated parameter gets associated with the slot
        so we can change the matrial and as long as the new material has a parameter named the same the
        animation will be animated
    • Drag the static mesh actor to sequencer
    • on the sm click…

General

Ray tracing & Path tracing

  • VAT & ray / path tracing
    • Select the mesh
    • In the details panel start typing “world…”
    • Rendering > Advanced > Evaluate World Position in Ray Tracing : On
      • This is required to be able ti use ray traced shadows
      • It is also needed if you want to use the path tracer

SideFX Labs - VAT

  • Installation
    • The VAT Vertex Animation Texures is a part of the SideFX Labs toolset
      • Make sure that the SideFX Labs shelf is loaded
      • You can press the Update Toolset button on far left on the shelf to update
    • In the Out context add a Labs Vertax Animatiin Textures node
    • On the node, click the “Real-Time Shaders” section.
      • Click the Unreal Engine Content Plugin & Guides button to open up the dir.
      • Follow the guides to installation and use

Sequencer

  • Control VAT display frame with Sequencer
    • Make sure that VAT material is assigned to the mesh
    • Add mesh to sequencer.
    • In sequencer, click to + on the reight hand side to add a StaticMeshComponent
    • On the added static mesh component add a the material Material Parameters > Slot: <Your material name>
    • On the material add the Display Frame
    • Set the start and end display frame keframes
    • RMB click on the Display Frame track > Edit > (Key Interpolation) Linear