[Closed] render output size
hey im stuck with creating two scripts for outputsize settings
1- this script to change renderPixelAspect to 0.5 and take the renderHeight whatever value was inputted and half it
2-this script is to take the renderWidth,renderHeight inputted values and half them so there 50% smaller.
so i can have 50% 25% smaller options
thanks in advance
-- before changing values, close renderSceneDialog to ensure the update
renderSceneDialog.close()
coef = 0.5
-- change size, keep img aspect ratio
renderWidth *= coef
renderHeight *= coef
-- change pixel aspect
renderPixelAspect *= coef
It’s not important if renderSceneDialog is open or not.
Just add at the end of code :
renderSceneDialog.update()
You can also try this tool
It can also be necessary if the RenderSceneDialog window is open to do a RenderSceneDialog.commit() to apply any changes that you’ve just set in this dialog.
It’s an old school dialog that used to have a cancel button, that’s why it works like this.
What you up to these days Ravi?
hey Dave! how are you?
been ages, im good, just freelancing around currently at nexus at the moment.