Switch beauty/beauty denoised script

3D Studio Max Plugin (Export Script Plugins developed by [gk] and KilaD; Integrated Plugin developed by Karba)
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
Post Reply
HHbomb
Licensed Customer
Posts: 1378
Joined: Wed Jun 30, 2010 8:45 pm
Contact:

Hi, if anybody interrested, as Xb4 change denoised beauty layer number, I have updated the script.

-------------------------------------------
(
currentrenderer = renderers.current
try(destroyDialog ROLL)catch()
(
rollout ROLL ("DN XB4")
(
button BREFRESH ">> REFRESH <<" pos:[0,2] width:120 height:25

checkbutton DN "DN" width:50 enabled:true pos:[0,32]
button DNORI "B" pos:[55,32] width:30 height:21
button DNRES "D" pos:[85,32] width:30 height:21

fn CCHECK =
(
if (currentrenderer.viewcam_denoiser_enab==false) then (DN.checked=false) else (DN.checked=true)
)
on BREFRESH pressed do
(
CCHECK()
)
on DN changed theState do
(
if DN.checked==1 do currentrenderer.viewcam_denoiser_enab=true
if DN.checked==0 do currentrenderer.viewcam_denoiser_enab=false
)
on DNORI pressed do
(
OctaneMaxFPI.ViewportSetControlState 12 0
)
on DNRES pressed do
(
OctaneMaxFPI.ViewportSetControlState 12 43
)

)
createdialog ROLL height:56 width:120 pos:[420,165]
)
)
---------------------------------------------------------------------------------------------------------------
YOKO Studio | win 10 64 | i7 5930K GTX 3090 | 3dsmax 2022.3 |
Post Reply

Return to “Autodesk 3Ds Max”