Motion blur is enabled when RenderSettings' maxTimeSamples is greater than 1. A value of 1 implies no motion blur.
The maxTimeSamples parameter is used for two cases:
- For nodes that support multi-sampling such as CameraCreate and PrimitiveCreate - maxTimeSamples is the number of time samples for the motion block (MotionBegin/MotionEnd).
- For plugin such as Alembic_In -
- maxTimeSamples is used only as a switch to turn on/off motion blur. Changing it does not modify the number of time samples for the motion block.
- The Alembic_In node provides a parameter in the advanced section called "useOnlyShutterOpenCloseTimes", which will force the Alembic cache to only use the time samples corresponding to shutter open and close times when maxTimeSamples is set to 2.
- To modify the number of time samples for the alembic cache in Maya's Alembic Exporter, turn on Frame relative sample and set its Low and High values.
The shutterOpen and shutterClose parameters in RenderSettings set the min and max time at which the shutter opens and closes. Open (min) should be less than Close (max). If min is equal to max, there is no motion blur. Moving objects will blur while the camera shutter is open.
Camera Shutter Opening
Controls for a camera's shutter efficiency are available in PrmanCameraSettings. These controls allow to you control the rate of the shutter's opening and closing, allowing you to simulate a more physical camera shutter appearance.
When there is a lot of motion blur, it is important to increase the number of maxsamples on the raytrace hider to see the details in the blur. Note that higher samples will take longer to render.