Deep2VP suite v3.4

This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Mark Joey Tang
Deep2VP suite is a toolset to convert deep data to world space position, support single layer or volumetric of deep data. Now it has 5 nodes in total in this suite: DeepToPosition, DeepPositionToImage, DeepVolumeMatte, DeepVolumePattern, DeepVPCamProjection The zip included all toolset in gizmo and group format, demo script.
12.0, 11.3, 11.2, 11.1, 11.0, 10.5, 10.0 or later
Linux, Mac, Windows
09 Nov 2019


*New Demoreel v2.0* :




- fix broken connection in 'DeepVolumeMatte' in 3.3 (my bad)
- optimize TCL in 'DeepVolumeMatte', reduce 7kb code

- replaced all related 'format.pixel_aspect' to 'root.format.pixel_aspect'.
- revised pixel_aspect equation priority. calculate pixel aspect before all the steps.
* these changes will only affecting anamorphic project.

- support anamorph project
- syntex fix on 'DeepToPosition'
  error : nothing name 'hratio'

- camera 'window'/'re-rack'/'repo filmback' supported. Changes applied on 'DeepToPosition' & 'DeepVPCamProjection' (see image below)
- syntex fix on 'DeepVolumePattern'. It has some issue on few nuke version before

- fix 'bkdata' error on DeepVPCamProjection, replace 'range_knob' to 'keyer_knob' on 'project z range'
  (this error might cause problem when render on farm before.)

- fix DeepVPCamProjection's project z range animated issue.

- removed un-use expression in DeepToPosition




Deep2VP suite is a toolset to convert deep data to world space position, support single layer or volumetric of deep data. Create Position matte in real volume deep data with falloff. Create 3D algorithms in deep with generated deepPosition.

This tool will not generate any extra deep samples, so it won't slow down the nuke script.

The zip included all toolset in gizmo and group format, demo script.

This toolset package included 5nodes. Following is the decription of each :

  • DeepToPosition
    Input is deep, output is deep. This node is the core of this toolset, it will convert all deep data to world space position. Select the camera and click 'Link to selected camera. These data need to be same as the input deep render. Position data will be generated under 'deepPosition' channel.

  • DeepVolumeMatte
    Input is deep, output is deep. This node will create matte from sphere, cube or cylinder matte shape with falloff in deep. If you are familiar position matte, yes, this is doing the same job but support in deep volume. Sphere and Cylinder only support global falloff, Cube can do xyz separation falloff.

  • DeepVolumePattern
    Input is deep, output is deep. This node will create 3D algorithms in deep and support in volumetric as well. It has 7 types of patterns can be select, they are : fBm, turbulence, noise, random, stripes, ripple and rays.

  • DeepPositionToImage
    Input is deep, output is 2D. The regular deepToImage cannot handle well 3D data with volumetric and transparency, so this tool fixes the problem if user want to bring deepPosition to 2D downstream. Deep data can be find under 'deepPosition' channel.
  • DeepVPCamProjection
    Input is deep, output is image. This node is using deep data to create camera projection. Project image aspect ratio defined by tex input resolution. Falloff is base on project camera's depth. It helps for CG render fix by 1 frame projection. Support 3 difference output, wrapped texture + source, wrapped texture, and UV. 3D preview avaliable when panel is active.


 3.0 update 
 Camera 'window' setting support.
 Now it has no problem if 2D repo baked in render camera. This changes applied on 'DeepToPosition' & 'DeepVPCamProjection' nodes. 


 2.5 update 
 This issue will happen when you are using DeepVolumeMatte in Nuke10, falloff lower than 0.5.
 v2.5 fix this issue. 

Screen Shot 2019-08-14 at 8.05.25 PM 



deepPosition pass converted by deep data using DeepToPosition


3 toolset avaliable in this suite

all tools

Deep2VP flowchart


This demoscript included in the zip.



Please login in order to download these files.


+1 # MARK PINHEIRO 2018-12-16 11:46
+1 # yuri carrara 2018-12-22 11:57
I believe the deep expression functions you are using here are available from 11.0/11.1 only
# Mark Joey Tang 2018-12-26 19:56
yes, when I submit, I checked 11.0 only, but it still display 10.5. that's why I highlight 11.0+ in description
+1 # Elizar Knyazev 2019-04-04 14:46
Thank you for usefull setups. Seem like DeepVolumePatte rn v1.3 didn't work in stripes mode. Nuke 11.1v6
"DeepExpression 9: nothing named 'status_x' "

I edit expressions from status_x to [value status_x] instead and get it workin now.
# Mark Joey Tang 2019-04-06 03:46
Updated to 1.4 with your info.
Thank you for the report and the fix.
+1 # Eilef Sandnæs 2019-05-08 19:41
Nice! Great job making these!!!! :D
+1 # Alexey Kuchinski 2019-05-25 19:56
Hi Mark.
exactly what i needed for my CardToTrack,
Was looking for the way to convert deep to world position.
will it be okay if i will use part of your setup in my gizmo.?
i will leave huge credit backdrop i promise! :lol:
# Mark Joey Tang 2019-05-26 06:24
No problem. :)
Just updated 2.0
+1 # Alexey Kuchinski 2019-05-26 09:22
+1 # Oliver Banasiak 2019-05-31 12:32
Thanks so much for this! :) Will learn it ASAP!

You have no rights to post comments

We have 2589 guests and 92 members online