Jump to: Board index » General » Fusion

objectid pass and nMask

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

dave smith

  • Posts: 12
  • Joined: Sun Nov 16, 2014 10:08 pm

objectid pass and nMask

PostSun Dec 07, 2014 10:07 pm

Hello we are trying to get a clean mask for color correction with colored object idpass and nMask but are having some issues.
Following the nMask macro for fusion guidelines I've outputted a double size render (from 3delight) , 8 bit and non anti-aliased ( i was advised by the 3delight forum that a 1*1 pixel samples, box filter) would give that result.

you can see that its not working correctly
Image

If anybody has any ideas that would be great
Offline

dave smith

  • Posts: 12
  • Joined: Sun Nov 16, 2014 10:08 pm

Re: objectid pass and nMask

PostTue Dec 09, 2014 11:37 am

i've decided to go down another route with regular masks
Offline
User avatar

Stefan Ihringer

  • Posts: 257
  • Joined: Mon Nov 10, 2014 10:40 pm
  • Location: Munich, Germany

Re: objectid pass and nMask

PostWed Dec 10, 2014 1:21 pm

separate masks are usually the best solution... but looking at your image above... it seems like your object ID pass has suffered from compression artifacts! You haven't saved it as a jpeg file by change? :mrgreen:
blog and Fusion stuff: http://comp-fu.com/2012/06/fusion-script-macro-collection/
Offline

dave smith

  • Posts: 12
  • Joined: Sun Nov 16, 2014 10:08 pm

Re: objectid pass and nMask

PostFri Dec 12, 2014 3:07 pm

ok i followed what the nMask guide which was jpeg - but your right a .tiff is giving better results
but there is still what looks like a one pixel around the edge and there isnt full coverage of the color correction, but i suppose if the beauty pass is a antiliased pass and the idpass is a unantiliased thats always going to be the case?
http://www.steakunderwater.com/wesuckle ... 118fded6bc

Image
yellow edge showing on cylinder, no full coverage of color correction
beauty pass 32 bit exr, idpass 8 bit tif 1*1 pixel samples pixel filter box

Away from that technique we've worked out how to output seperate masks for each object or shader from 3delight (they are outputted as named aovs) which are giving clean results
I would appreciate any ideas on organising/picking them quickly in fusion. Without having to spend time digging around. I've asked around and there doesnt seem to be as quick a way of picking which mask (as the color picker in the nMask).
Offline
User avatar

Stefan Ihringer

  • Posts: 257
  • Joined: Mon Nov 10, 2014 10:40 pm
  • Location: Munich, Germany

Re: objectid pass and nMask

PostFri Dec 12, 2014 7:26 pm

Even if you have separate masks in AOVs you need to take care of alphadivide/multiply to get full mask coverage. If you're color-correcting an object you're probably using pre-divide/post-multiply on the tool. But if you're masking that with a rendered mask the mask needs to be divided by the object's alpha channel as well.

Granted, that error is minuscule... but it's something to keep in mind if you're using those anti-aliased masks to cut out objects for example.
blog and Fusion stuff: http://comp-fu.com/2012/06/fusion-script-macro-collection/

Return to Fusion

Who is online

Users browsing this forum: Bing [Bot], Max Seredkin and 6 guests