--this script fixes reset AA settings bug Jyz*W!kI
--by Cyberflipper !*\J4bJe
O{<uW-
fn writeVrayAASettings=( !q8"Q t
local vr=renderers.current VE $Kdo^
if (findstring (vr as string) "Vray" == Undefined) and (findstring (vr as string) "V_Ray" == Undefined) do return 0 u[<ij
try( EJid@
fileProperties.addProperty #custom "fixedRate_subdivs" vr.fixedRate_subdivs W[G5+*i
fileProperties.addProperty #custom "twoLevel_baseSubdivs" vr.twoLevel_baseSubdivs wqasI@vyu
fileProperties.addProperty #custom "twoLevel_fineSubdivs" vr.twoLevel_fineSubdivs \hO}3;*&
fileProperties.addProperty #custom "adaptiveSubdivision_minRate" vr.adaptiveSubdivision_minRate +v)+ k
fileProperties.addProperty #custom "adaptiveSubdivision_maxRate" vr.adaptiveSubdivision_maxRate ZWb\^N
fileProperties.addProperty #custom "options_useLegacyModels " vr.options_useLegacyModels XEL~y
fileProperties.addProperty #custom "options_use3dsMaxPhotometricUnits" vr.options_use3dsMaxPhotometricUnits hcT5> w[
fileProperties.addProperty #custom "imageSampler_normal" vr.imageSampler_normal [NU@A >H
fileProperties.addProperty #custom "imageSamper_normal_threshold" vr.imageSamper_normal_threshold Ru~;awV?
fileProperties.addProperty #custom "adaptiveSubdivision_rand" vr.adaptiveSubdivision_rand qir8RPW
fileProperties.addProperty #custom "imageSampler_outline" vr.imageSampler_outline p_EWpSOt7
fileProperties.addProperty #custom "adaptiveSubdivision_threshold" vr.adaptiveSubdivision_threshold U}<' [o
V
fileProperties.addProperty #custom "filter_size" vr.filter_size FfM,~s<Efz
fileProperties.addProperty #custom "filter_paramA" vr.filter_paramA ehV}}1>O
fileProperties.addProperty #custom "filter_paramB" vr.filter_paramB j-k]|0ea}
fileProperties.addProperty #custom "filter_paramC" vr.filter_paramC [N_)V kpr
4Jk[X>I~
) X_ (n
catch() m/"}Y]n!
) ^TqR0a-*
fn readVrayAASettings=( `##^@N<P
................................................................................................. `C)|}qcC
5iZ;7
?(
一个叫Cyberflipper老外写的保存AA部分demo版的脚本,现在比较完美了