How to run Download coronaQuickmask.mcr and copy to usermacros folder (c:\Users\username\AppData\Local\Autodesk\3dsMax\2014 - 64bit\ENU\usermacros)
Drag and drop to viewport should work too.
In Customize - Customize User Interface select Quads - category corona and drag “Render quick mask from selection” to the right window. You should have Render quick mask from selection on right-click quad menu.
How it works
It uses Render only elements function from corona (Actions rollout) nad CMasking_mask element. Adds Element - store objects GBuf IDs - renders - shows output - reverts GBuf IDs changes. Output is antialiased with 3 corona passes (other settings untouched).
Updates
01/04/2014 render dialog closing during render (setting no. of passes correctly)
01/04/2014 itoo forest pack support
Is there a new version of this? I tried editing it myself, but “renderElements” has been removed and I don’t know how to check “render only masks” via maxscript.
Just a quick question: I see that you added “corona.shading_onlyElements = true”, which is exactly what I was looking for yesterday. Where did you find that info? It’s not listed in https://corona-renderer.com/wiki/maxscript and I searched everywhere I could think of.
I don’t read Corona Wiki for this. show (or showproperties) comand let you see all properties of any “object”. renderers.current is…current render Corona.
So, in listener paste show renderers.current and press enter. You will see a-a-all properties of Corona Renderer
P.S. Use this method to find any available properties of objects, materials, lights etc.
The script worked fine, but for some reason Corona applied denoising when finished (even though the element doesn’t need it), so I edited the script to temporarily disable denoising. Attached the script. corona-quickMask-corona1.6.mcr.zip (1.96 KB)