ScriptSpot home

ApplycamSETTINGS2

Downloads

Release history (1)
  • Version 2Listed version

    Listing updated

    No download linked to this version

3ds Max compatibility
Unknown
Community reviewsNo reviews yet.

Listing details

Version
2
Author’s update date
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

titane357

More by this author

Update of previous post. Hope you like it.
changes : 1,1/2,1/4 render option.

Setup & notes

----- apply render output values from attribute_holder W and H

macroScript APPLYcamSETTINGS2 Category:"yoko"
(

a = emptymodifier()
addmodifier $ a

ca=attributes Attribut_Holder
(
parameters params rollout:ro_camControls
(
pW type:#integer ui:spn_W
pH type:#integer ui:spn_H
)
rollout ro_camControls "Camera Controls" width:162 height:77
(
spinner spn_W "Width:" pos:[28,8] width:120 height:16 range:[100,10000,1600] type:#integer
spinner spn_H "Height:" pos:[28,31] width:120 height:16 range:[100,10000,1200] type:#integer
button theButton "[ Apply ]" pos:[28,55] width:120 height:16
label lb1 "Render Full Size" pos:[28,78] width:120 height:16
button bFULL "1" pos:[28,101] width:20 height:16
button bDEMI "1/2" pos:[78,101] width:20 height:16
button bQUART "1/4" pos:[128,101] width:20 height:16

on bDEMI pressed do
(
renderWidth = pW/2
renderHeight = pH/2
lb1.text = "Render at 1/2"
)

on bQUART pressed do
(
renderWidth = pW/4
renderHeight = pH/4
lb1.text = "Render at 1/4"
)

on bFULL pressed do
(
renderWidth = pW
renderHeight = pH
lb1.text = "Render Full Size"
)

on theButton pressed do
(
renderWidth = pW
renderHeight = pH
)

on spn_W changed theValue do
(
renderWidth = pW
)

on spn_H changed theValue do
(
renderHeight = pH
)
)
)--end attributes
custAttributes.add $.modifiers[1] ca
)

Comments (0)