Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: Jpjapers on 2020-02-20, 10:11:04

Title: Can anyone see whats wrong with this snippet?
Post by: Jpjapers on 2020-02-20, 10:11:04
CoronaRenderer.adaptivity_targetError = 3.0

I cant find anything in the docs to suggest this isn't being used in the right way?
Title: Re: Can anyone see whats wrong with this snippet?
Post by: Frood on 2020-02-20, 10:21:39
You are trying to use the class itself. You need a/the instance of Corona. You can get it by "renderers.current", so the line would be:

Code: [Select]
renderers.current.adaptivity_targetError=3

Good Luck



Title: Re: Can anyone see whats wrong with this snippet?
Post by: Jpjapers on 2020-02-20, 10:24:25
You are trying to use the class itself. You need a/the instance of Corona. You can get it by "renderers.current", so the line would be:

Code: [Select]
renderers.current.adaptivity_targetError=3

Good Luck

Perfect thank you!