Issues with VRayVelocity (Vray 7.30; Blender 5.1.2; Windows 11) and missing velocity of object from previous render

I’m trying to set up a simple scene to get the velocity pass so I can use it in postproduction, but the velocity pass is very strange (VRay GPU) or totally missing (VRay CPU).

I create a scene with a teapot (~0.1 m width) that moves 1,1 m (from side to side of the camera view) along the y-axis in 24 frames. In the first and the last frame of the animation, the teapot has keyframes to define the start & end positions:


Frame 1


Frame 24

I want to render the velocity vectors in frame 12, where the speed of the teapot is supposed to be in its maximum:


Frame 12

I add the Velocity render channel:

Clicking on the Velocity node, and after rendering, the velocity from the previous render is not present in the properties panel:

Since I don’t know the max velocity value, I have to guess it and, In order to see something in the render channel, I have to apply a max velocity value of 0.0001.

Rendering with VRay GPU, the velocity image is far from a smooth color gradient (it applies for both progressive and bucket samplers):

Rendering with VRay CPU, the result is literally blank (it also applies for both progressive and bucket samplers):

Am I doing something wrong? Or there could be an issue with the velocity render channel?

Hey, Enrique,

Thank you for the posts. If possible, could you send me the scene file and verify that the motion blur on the camera is turned on?

Cheers,

Hi Boyan,

I’ve tried enabling the motion blur in the physical camera and the velocity pass is still appearing blank in VFB (both CPU and GPU rendering).

I attach here a ZIP file that contains two blend files (VRay 7.40; Blender 5.2). One file contains a scene with an object moving in front of a still camera. The other one is a still object in front of a moving camera. Both are two short sequences of 24 frames.

test_velocity_pass.zip (487.3 KB)

Hey, Enrique,

Thank you for the response. Could you please switch to animation from a single frame? Also, check if the motion blur option is enabled with the physical camera. When rendering with interactive render, motion blur will be disabled by default.

Cheers,

test_velocity_pass.zip (490.7 KB)

Hey, Boyan,

thank you very much for the clarification and the modified example files. They were several things to keep in mind (CPU rendering, render animation & motion blur in physical camera). Now, once I have the understanding, I’m able to replicate it and make it work from scratch.

Just as a note: it seems to only work when rendering on CPU (which is totally fine, since it’s blasting fast!).

Regards.