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
6.1, 6.2 or later
Linux, Mac, Windows
11 Feb 2011
7716
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 :)
Please login in order to download these files.
Comments
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
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\" )")
Sorry if I am a bit confused but shouldn't the line added to the python script read "nuke.pluginAdd Path('./P_Tools ')". Only I'm not sure what X_Tools is refering too.
https://www.youtube.com/watch?v=NvKQnju9hvU&pp=ygUZaG93IHRvIGFkZCBnaXptbyBpbiBudWtlIA%3D%3D
Now if only there was something to show us noobs HOW to USE the gizmo!
RSS feed for comments to this post