3dMattes v1.0

This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Pau Rocher
the 3D masks takes any xyz / position / normals pass and outputs a mask. You have the option of different shapes and you can also rotate them. I use this one a lot for color correcting or depth effects on 3D images.
5.0, 5.1, 5.2, 6.0, 6.1, 6.2 or later
Linux, Mac, Windows
18 Mar 2011

See short description ...

Example script provided.






0. Set your viewer in RGBA mode.

1. Under 'Point pass' choose the pass you want to use to extract a matte from.

2. Click the 'output' button until it says: 'side by side'. Your image is going to be the double its size in the y axis (don't be afraid, this is normal!!).

3. Select the color picker on the 'point' knob and sample a color on the upper part of the image (the pass you selected to extract mattes from).

At this point you can play with the rest of the knobs (shape, expansion, fallof, modify shape, rotateX Y Z, center).

Note for rotations: if you drag the color you picked in step 3 to the 'center' knob, this is going to become your center of rotation. Pretty useful ...

4. When you are happy with your matte you can click again on the button 'output' until it says 'mask'. Your mask is going to be output using the channel you selected in the 'output' knob (the last one).

Please login in order to download these files.


# yacoob essack 2011-03-15 03:16
hey paul,

i just downloadet your gizmo...but it seems not to work right!?!?!?
if i install only your gizmo it gives this message:
syntax error at "3Dmattes"

if i open your script it seems to work right, but if you change something (using differnt ojects)
it seems to fail again.

maybee there is a way for you to upload a fixed version of it.
# Pau Rocher 2011-03-15 10:01
What Nuke version are you using?
Does the error appear just when you create the node, after connecting it or when pushing or modifying any of the knob in it?
Can u send me an example script where this error appears?


# yacoob essack 2011-03-16 08:07
hey paul,

coll to hear from you within such a short time

im using nuke 6.2v1 / 6.2v2

if you could give me your mailadress
i could send u a script and so forth....


# Brian Kloc 2011-04-07 11:08
Nuke has a problem with names that start with a number. Try renaming the gizmo to Mattes3D.
# Tino Nettling 2013-03-17 09:23
this is totally cool! just i was looking for thx a lot!

You have no rights to post comments

We have 2928 guests and 70 members online