Camera Motion Blur
Posted: Fri Sep 12, 2025 12:19 pm
Hi Guys,
does anyone is familiar with CAMERA motion blur.
I was trying to set it up using Blender. But it looks that it does not set scene.camera.motion. I'm not able to make it working with blender.
So I'm trying to set it up using code.
I've checked two approaches.
1. I set static camera using position/target/up. Than I set motion matrices with relative values. So for camera.motion.0.transformation I set Identity matrix, and for camera.motion.1.transformation I set the diff between two camera locations. At the beginning it looked to be working. But I've found that if the camera is fur away from 0,0,0 the rotations are not correct. I've analyzed LuxCore code and came to second solution.
2. I've seen in code that the motion matrix is applied to current camera matrix. And there is a trick in code to set camera matrix to identity by setting position == target and than to override that value by motion matrix.
So I set position == target, and than set absolute values to camera.motion.
In that case, the camera is placed in a correct place but all geometry is completely black. Like it does not reflect any light.
Which approach is correct?
Can any one provide blender file with working CAMERA motion blur?
does anyone is familiar with CAMERA motion blur.
I was trying to set it up using Blender. But it looks that it does not set scene.camera.motion. I'm not able to make it working with blender.
So I'm trying to set it up using code.
I've checked two approaches.
1. I set static camera using position/target/up. Than I set motion matrices with relative values. So for camera.motion.0.transformation I set Identity matrix, and for camera.motion.1.transformation I set the diff between two camera locations. At the beginning it looked to be working. But I've found that if the camera is fur away from 0,0,0 the rotations are not correct. I've analyzed LuxCore code and came to second solution.
2. I've seen in code that the motion matrix is applied to current camera matrix. And there is a trick in code to set camera matrix to identity by setting position == target and than to override that value by motion matrix.
So I set position == target, and than set absolute values to camera.motion.
In that case, the camera is placed in a correct place but all geometry is completely black. Like it does not reflect any light.
Which approach is correct?
Can any one provide blender file with working CAMERA motion blur?