--this script fixes reset AA settings bug
&5K3AL
--by Cyberflipper BywEoS
a"P &
9c
fn writeVrayAASettings=( KLM6#6`
local vr=renderers.current \
&|xMw[
if (findstring (vr as string) "Vray" == Undefined) and (findstring (vr as string) "V_Ray" == Undefined) do return 0 I`B ZZ-
try(
z}J~X%}e
fileProperties.addProperty #custom "fixedRate_subdivs" vr.fixedRate_subdivs ww
%c+O/
fileProperties.addProperty #custom "twoLevel_baseSubdivs" vr.twoLevel_baseSubdivs H8"RdKwg?
fileProperties.addProperty #custom "twoLevel_fineSubdivs" vr.twoLevel_fineSubdivs #vK99S2
fileProperties.addProperty #custom "adaptiveSubdivision_minRate" vr.adaptiveSubdivision_minRate O~8jz
fileProperties.addProperty #custom "adaptiveSubdivision_maxRate" vr.adaptiveSubdivision_maxRate ^'N!k{x
fileProperties.addProperty #custom "options_useLegacyModels " vr.options_useLegacyModels $Rze[3
fileProperties.addProperty #custom "options_use3dsMaxPhotometricUnits" vr.options_use3dsMaxPhotometricUnits >H euf"V
fileProperties.addProperty #custom "imageSampler_normal" vr.imageSampler_normal ) 5`^@zx
fileProperties.addProperty #custom "imageSamper_normal_threshold" vr.imageSamper_normal_threshold ]p(es,[
fileProperties.addProperty #custom "adaptiveSubdivision_rand" vr.adaptiveSubdivision_rand 6G4~-_
fileProperties.addProperty #custom "imageSampler_outline" vr.imageSampler_outline }:?_/$};
fileProperties.addProperty #custom "adaptiveSubdivision_threshold" vr.adaptiveSubdivision_threshold ;YokPiBy
fileProperties.addProperty #custom "filter_size" vr.filter_size /FTP8XHwL)
fileProperties.addProperty #custom "filter_paramA" vr.filter_paramA #m7evb5eg*
fileProperties.addProperty #custom "filter_paramB" vr.filter_paramB \RVfgfe
fileProperties.addProperty #custom "filter_paramC" vr.filter_paramC {IB4%,qT
MkZoHzg}c
) j*VYUM@y1\
catch() }e"2Nc_UG
) K#v @bu:'
fn readVrayAASettings=( S ="\ S
................................................................................................. .Pe^u%J6F
_}H`(d%N
一个叫Cyberflipper老外写的保存AA部分demo版的脚本,现在比较完美了