Download Verification

PNZ Suite

Convert 3D data passes. Included P2N (PositionToNormal), P2Z (PositionToDepth), Z2N (DepthToNormal), Z2P (DepthToPosition), and Ncam2Nscr (Normal camera to Normal screen space), and ConvertPNZ (self conversion)

First submitted: 28 November 2020

Author: xmjtx

Website: https://www.facebook.com/MJTLab

Compatible Nuke versions: 10.0 or later

Compatibility: Linux, Mac, Windows

PNZ s

Video :
https://youtu.be/A7Qzy6lR7t4


Convert 3D data passes. Included P2N (PositionToNormal), P2Z (PositionToDepth), Z2N (DepthToNormal), Z2P (DepthToPosition), and Ncam2Nscr (Normal camera to Normal screen space), and ConvertPNZ (self convertion)

Convert Position/Depth to Normal. It might has a little bit artifact on edges. Try to adjust 'Depth Threshold' for better result. It might not able to get decent result on thin object, such as hair/fur. Depends on the needs.
 
If you use it for relight, try to light it with this pass first, those artifact might not an issue.

Enjoy!


changelog

1.5
global update :
- error detect flip update
- bring back alpha to downstream
ConvertPNZ :
- Normal conversion removed 'fresnel'
P2Z :
- added label of 1/z
  so it easier to read under DAG
Added new node - Ncam2Nscr :
- convert Normal in camera space to screen space
- fresnel moved under this node

1.4
- toolset changed the name to 'PNZ suite'
- a package convert 3D tech passes
  included
  * P2Z ( Position To Depth )
  * P2N ( Position To Normal )
  * Z2P ( Depth To Position )
  * Z2N ( Depth To Normal )
  * ConvertPNZ ( self convertion )
- fixed camera window transformation issue

1.2
- changed camera input to expression link
- fix alpha check
- added support camera window roll

1.1
- Cleanup

1.0
- Convert Position data to Normal

Sign in or register to download or rate.