I have read this topic :Maxscript question - Corona for 3ds Max :: Help Required - Chaos Forum and I know how to call the class of elements.
But I still don’t know how to use it, “CTexmap.texmap=CoronaAO() or CTexmap().texmap=CoronaAO()??” --it does’t work–
Sorry..I am a newbie. Please give me a tip.Thanks a lot~~
Try this ![]()
(maxOps.getCurRenderElementMgr()).addrenderelement (CTexmap texmap:(CoronaAO samplesCount:128 maxDistance:10) name:“AO”)
this script automatically add an renderelement type of CTexmap with assigned an CoronaAOto texture map of this element …
the CoronaAO parameters can be changed … i wrote a sample for you !! ![]()
Wow~~That’s great! Thank you very much. @guest_guest