---
title: "VRayVelocity"
canonical: "https://documentation.chaos.com/space/VMAX/113575379/VRayVelocity"
format: markdown
---
<span style="color: #000000">This page gives information about the Velocity Render Element. </span>

 

## **Overview**

---

<span style="color: #000000">The Velocity Render Element is a color or grayscale image that stores velocity information about objects that have moved between the current frame and the next frame. It stores surface velocity for moving objects in the scene with different colors representing different velocities. Each moving object is rendered with a flat color or gradient. It is commonly used to create mattes for adding motion blur in a composite. </span>

<span style="color: #000000">The shading in the Velocity Render Element is determined by the degree of motion for each object's pivot point. The object's motion between the current frame and the next frame on the X, Y, and Z axes is mapped to R, G, and B components, with movement along the negative axis as 0 and movement along the positive axis as the maximum value. For example, a white object has moved at the maximum velocity on all three axes in a positive direction, while a black object has moved at the maximum velocity in negative direction on all three axes. A pale yellow object has moved a great deal on all three axes in the positive direction, but mostly on X and Y, while a dark purple object has moved on the -X and -Z axes. A medium gray color indicates no motion.</span>

Because of the relationship between XYZ motion and RGB colors, the Velocity Render Element can be easily split into R, G, and B components during the compositing process and each direction can be handled separately or together to add motion blur.

 

<details>
<summary>UI Path</summary>

||Render Setup window|| > **Render Elements** tab > **Add** button > **VRayVelocity**


![image](media://7d7bc515-3cd2-487f-8fc0-7fc8a3120bd0)
</details>

![image](media://f28d040b-d702-455f-b056-f88006d3a6cc)


## **Parameters**

---

<span style="color: #333333">This render element is enabled through the Render Elements tab of the Render Setup window in 3ds Max and displays its parameters in a rollout at the bottom of the window:</span>

<span style="color: #333333">**VRayVFB**</span><span style="color: #333333"> – When enabled, the render element appears in the V-Ray Virtual Frame Buffer.</span>

<span style="color: #333333">**Deep output**</span><span style="color: #333333"> – Specifies whether to include this render element in deep images.</span>

<span style="color: #333333">**Clamp velocity**</span><span style="color: #333333"> – Sets the limit for </span><span style="color: #333333">**Max velocity**</span><span style="color: #333333">. When enabled, it limits the max velocity value to 1 for floating point images, 255 for 8-bit images, or 65535 for 16-bit images. This option is useful only when writing to an 8-bit or 16-bit file format.</span>

<span style="color: #333333">**Max velocity**</span><span style="color: #333333"> – Used to scale the velocity values written to the render element so that they fit within the range specified by the </span><span style="color: #333333">**Clamp velocity**</span><span style="color: #333333"> parameter. This is only useful if writing to an 8-bit or 16-bit file format. </span>

<span style="color: #333333">**Max velocity in last frame**</span><span style="color: #333333"> – Shows the maximum velocity value that was found while rendering the last image. This is a read-only parameter and can be used as a guide for setting the </span><span style="color: #333333">**Max velocity**</span><span style="color: #333333"> parameter.</span>

<span style="color: #333333">**Ignore Z direction**</span><span style="color: #333333"> – Disregards motion along the Z axis.</span>

**Exclude **– Opens a dialog where objects can be excluded from the render element.

**+** – (available for Include/Exclude list mode) Adds objects to the Include/Exclude list by picking them in the viewport.

**-** – (available for Include/Exclude list mode) Removes objects from the Include/Exclude list by picking them in the viewport.

**Exclude Layers** – (available for Include/Exclude Layers mode) Opens the Include/Exclude Layers window for selection of layers to be excluded or included.

**Exclude object IDs** – (available for Exclude object IDs mode) Allows you to select objects to be excluded based on their object IDs.

![Max2027_VRay7.5_VRayVelocity.png](media://0928539f-d062-40b2-b233-32e5f1c2415b)

 

## **Suggested Workflow**<span style="color: #000000">** **</span>

---

<span style="color: #000000">A common workflow for using this render element is to first locate the frame in the sequence that has the most motion, render the frame in 3s Max with the Velocity Render Element enabled, and then note the </span>Мax velocity in last frame<span style="color: #000000"> value, which is displayed in the parameters for this render element. Finally, enter this value (or a slightly larger value) for the </span>Мax velocity<span style="color: #000000"> parameter when rendering the entire sequence. This workflow provides the maximum range of colors in the Velocity Render Element for the most flexibility during compositing.</span>


## **Common Uses**

---

The **Velocity Render Element** is useful for adding motion blur in post production at a composite level, without the need for rendering. See the render before and after compositing.

![image](media://52358d6e-cfcc-463d-9c50-82fb720b65a8)


![image](media://8131e5aa-0ae9-4a21-84e0-b4277cedfa93)