THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/11/2011 at 03:32, xxxxxxxx wrote:
Is it possible so switch the scene ambient occlusion off via python?
I've tried with this script but it doesn't do anything:
import c4d from c4d import gui,documents def main() : rdata = doc.GetActiveRenderData() rdata[c4d.VPAMBIENTOCCLUSION_APPLYTOSCENE] = 0 c4d.EventAdd() if __name__=='__main__': main()
Instead of applying the value of 0 I also tried False, again, nothing.
Any tips or knowledge you can share with me?