--this script fixes reset AA settings bug tfGs|x
--by Cyberflipper <v|"eq}
6I
+0@,I
fn writeVrayAASettings=( (4cdkL
local vr=renderers.current k
i<X ^^
if (findstring (vr as string) "Vray" == Undefined) and (findstring (vr as string) "V_Ray" == Undefined) do return 0 w5HIR/kP
try( FfJ;r'eGs
fileProperties.addProperty #custom "fixedRate_subdivs" vr.fixedRate_subdivs hLLSmW(
fileProperties.addProperty #custom "twoLevel_baseSubdivs" vr.twoLevel_baseSubdivs q5SPyfE[
fileProperties.addProperty #custom "twoLevel_fineSubdivs" vr.twoLevel_fineSubdivs ~DInd-<5
fileProperties.addProperty #custom "adaptiveSubdivision_minRate" vr.adaptiveSubdivision_minRate Kd5'2"DI
fileProperties.addProperty #custom "adaptiveSubdivision_maxRate" vr.adaptiveSubdivision_maxRate ~Kw#^.$3T
fileProperties.addProperty #custom "options_useLegacyModels " vr.options_useLegacyModels 6WY/[TC-
fileProperties.addProperty #custom "options_use3dsMaxPhotometricUnits" vr.options_use3dsMaxPhotometricUnits ,IjZQ53q~
fileProperties.addProperty #custom "imageSampler_normal" vr.imageSampler_normal 90<g=B
fileProperties.addProperty #custom "imageSamper_normal_threshold" vr.imageSamper_normal_threshold QM0B6F
fileProperties.addProperty #custom "adaptiveSubdivision_rand" vr.adaptiveSubdivision_rand 7y'uZAF
fileProperties.addProperty #custom "imageSampler_outline" vr.imageSampler_outline 7&ED>Bk
fileProperties.addProperty #custom "adaptiveSubdivision_threshold" vr.adaptiveSubdivision_threshold 1|MRXK
fileProperties.addProperty #custom "filter_size" vr.filter_size 2FIL@f|\7z
fileProperties.addProperty #custom "filter_paramA" vr.filter_paramA la3B`p
fileProperties.addProperty #custom "filter_paramB" vr.filter_paramB (I>Ch)'
fileProperties.addProperty #custom "filter_paramC" vr.filter_paramC 8q[;
0
,|]JaZq
) u.GnXuax
catch() h[mT4e3c
) |\,OlX,
fn readVrayAASettings=( $'J3
/C7
................................................................................................. \vA*dQ-
xa~]t<2
一个叫Cyberflipper老外写的保存AA部分demo版的脚本,现在比较完美了