|
|
|
#1
|
||||
|
||||
|
There's no specific default settings file for Brazil; maxstart.max -would- typically be the place you set these things.
You could do something with scripting, a la: Code:
callbacks.removescripts id:#brazil_defaults
callbacks.addScript #postRendererChange "
if ((renderers.current.classID as string) == \"#(95494396, 474502030)\") do (
if (getAppData trackviewnodes.brazil_r_s 399 != \"defaults set\") do (
-- set defaults here
-- example start
if (queryBox \"Do you wish to apply custom default Brazil settings?\") do (
local brz
for i = 1 to 4 do (
brz = trackviewnodes.brazil_r_s[i]
local brz_is = brz.Sampling_Parameter_Block_Holder
brz_is.aa_min = 1
brz_is.aa_max = 2
brz_is.clamp = 1e6
brz_is.filter_name = \"BrAreaFilter\"
brz_is.filter_radius = 0.001
)
-- example end
) -- querybox
setAppData trackviewnodes.brazil_r_s 399 \"defaults set\"
) -- check appdata
) -- check renderer classID
" id:#brazil_defaults
Unfortunately the #preRendererChange callback already shows the trackviewnode as existing, so preventing the defaults-setting on existing files (which won't have the appdata marker) would need some further pondering.
__________________
__________________ Richard Annema Director of Client Relations SplutterFish ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|