P_Matte v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Ivan Busquets
Create sphere and cube-shaped mattes from an image with position data.
Requirements:
6.1, 6.2 or later
Linux, Mac, Windows
11 Feb 2011
2674

P_Matte

Just my take on the always-so-popular matte extraction tools from images containing position data in any given coordinates (P pass, worldP, position, pRef, ... you name your flavour)

This one lets you choose between a sphere or a cube-shaped matte. There's controls for scaling, rotation, skewing and options to tweak the amount and type of falloff.

One of the main focus of P_Matte is to keep it simple and fast, so hopefully it should have a good interactive response while sampling the image.

Hope you like it :)

P_Matte_screenshot

Please login in order to download these files.

Comments   

 
# Andy Fedak 2011-06-22 13:27
I use this script, along with your other P_ scripts all the time. Thanks so much for uploading them.
 
 
# Serhat Baykal 2015-12-26 11:25
Hello,
Really awesome script, I love it !
I tried to use it to make a depth map for particle render in nuke but I get some hole, I can't remove it : image.noelshack.com/fichiers/2015/52/1451128953-test-particle-nk-modified-nukex-2015-12-26-12-19-54-test-particle-nk-modified-nukex.png
 
 
# Michaël Desnoyelles 2018-06-22 23:51
Thanks for your nice tools.
This is my small contribution an Icon for the toolbar
s22.postimg.cc/.../P_Tools.png

For windows:
Make "P_Tools" folder in C:/Users/$USER/.nuke/

Copy paste all your P_tools.gizmo and P_Tools.png in that new folder.

Edit or create your init.py file. It should be in the same .nuke fold
C:/Users/$USER/.nuke/init.py
You need to add the following lines:
nuke.pluginAddPath('./X_Tools')

If you want, you can create a menu on your left hand sidebar with the fancy icons that the tools have. Just add the following on your menu.py (that you will find in the same folder):
#P_Tools by Ivan Busquets
p = toolbar.addMenu ("P_Tools", icon="P_Tools.png")

p.addCommand("P_Matte", "nuke.createNode(\"P_Matte\")")
p.addCommand("P_Ramp", "nuke.createNode(\"P_Ramp\")")
p.addCommand("P_Noise3D", "nuke.createNod e(\"P_Noise3D\" )")
 

You have no rights to post comments

We have 3285 guests and 56 members online