Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Script way to turn on motion blur for Viewport 2.0

Script way to turn on motion blur for Viewport 2.0

Anonymous
Not applicable
980 Views
1 Reply
Message 1 of 2

Script way to turn on motion blur for Viewport 2.0

Anonymous
Not applicable

Hi,

 

Is there a way to turn on and off motion blur in a Viewport 2.0 panel, either in python or mel?

 

Thanks,

Alex

0 Likes
Accepted solutions (1)
981 Views
1 Reply
Reply (1)
Message 2 of 2

kollig
Advocate
Advocate
Accepted solution

In Mel:

 

setAttr "hardwareRenderingGlobals.motionBlurEnable" 1;

 

to turn motion blur on and

 

setAttr "hardwareRenderingGlobals.motionBlurEnable" 0;

 

to turn off.