Author Topic: quickMask from selection - update 01/04/2014  (Read 19899 times)

2014-03-31, 17:22:35

pavelVojacek

  • Active Users
  • **
  • Posts: 12
    • View Profile
coronaQuickMask
Render super fast mask from selection.

GitHub Repository

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
« Last Edit: 2014-04-01, 19:56:54 by pavelVojacek »

2014-04-01, 01:07:42
Reply #1

Adi

  • Active Users
  • **
  • Posts: 144
    • View Profile
Thanks Pavel , I'll sure give it a try :)

2014-04-01, 10:13:28
Reply #2

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 751
    • View Profile
    • belly.be

2014-04-01, 15:16:05
Reply #3

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 751
    • View Profile
    • belly.be
HI Pavel

could it be that it is not working with the selectoin of Forest Pack objects?

2014-04-01, 19:56:08
Reply #4

pavelVojacek

  • Active Users
  • **
  • Posts: 12
    • View Profile
HI Pavel

could it be that it is not working with the selectoin of Forest Pack objects?

it's possible and:
FIXED
« Last Edit: 2014-04-01, 20:01:29 by pavelVojacek »

2014-04-10, 16:11:03
Reply #5

steyin

  • Active Users
  • **
  • Posts: 361
  • BALLS
    • View Profile
    • Instagram Page
Just tried this out, works pretty good. Thanks!

2014-04-15, 22:40:44
Reply #6

steyin

  • Active Users
  • **
  • Posts: 361
  • BALLS
    • View Profile
    • Instagram Page
Ok.....now its not working, unless I'm doing something wrong. Keeps giving me the error: Error creating file output. Total brainfart here.

2014-06-14, 21:10:33
Reply #7

Adi

  • Active Users
  • **
  • Posts: 144
    • View Profile
I tried and can't get it to work on 3ds Max 2012. It won't load at all.

Any suggestions ?

2014-07-29, 07:35:45
Reply #8

kahein

  • Active Users
  • **
  • Posts: 184
    • View Profile
Can you add render with bacburner please.
Thanks for your script
Asus Z10PE-D16 WS / Dual Xeon E5-2690 v4 @ 2.60GHz / RAM 64 Go - GTX 970
Win 10 / Max 2017 / Corona 1.4

2014-10-29, 16:03:15
Reply #9

form

  • Active Users
  • **
  • Posts: 70
    • View Profile
    • Plus Form
I just tried the script in max 2015, I'm getting --Runtime error: attempt to access deleted <MixinInterface> when I select an object and hit quickMask

2015-03-18, 12:59:08
Reply #10

finalimage

  • Active Users
  • **
  • Posts: 10
    • View Profile
Hello,

I tried on Max 2014 and didn't work, it suppose to work in which version?

2015-10-16, 18:18:12
Reply #11

Nik

  • Active Users
  • **
  • Posts: 164
    • View Profile
    • HQ Details
I fixed his script and now it works in new Corona versions.

2017-01-13, 18:52:07
Reply #12

Monkeybrother

  • Active Users
  • **
  • Posts: 232
    • View Profile
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.

2017-01-13, 19:33:41
Reply #13

Nik

  • Active Users
  • **
  • Posts: 164
    • View Profile
    • HQ Details
I did it again. Fixed it for Corona 1.6
Script isn't my, so I just made it work despite the beauty of the code :)

Unfortunately maxscript can't disable autosave render elements output files, so your mask will be always saved...somewhere

Rar is in message attachment

2017-01-14, 08:25:48
Reply #14

Monkeybrother

  • Active Users
  • **
  • Posts: 232
    • View Profile