THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/10/2010 at 08:19, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 12
Platform:
Language(s) : PYTHON ;
---------
Hello there,
with:
import c4d
from c4d import gui, documents
def main() :
doc = documents.GetActiveDocument()
rd = doc.GetActiveRenderData()
# get antialiasing
AA_ = rd[c4d.RDATA_ANTIALIASING]
# set antialiasing
rd[c4d.RDATA_ANTIALIASING] = 2 #2 is best AA
I can read and set Render data (AA, resolution, and so on)
But:
print rd[c4d.GI_SETUP_DATA_DIFFUSE_DEPTH]
does not work (as it is a Post effect?)
how can I get and set GI settings, and how can I look up wether GI is active as a post effect.
Thanks a Lot!
Jops