Significantly faster way of generating a displaced card. Equivalent to using displacegeo (rgb absolute), but much much much faster. I wroite this for processing bulk 4k displaced cards.
Image2Geo
Updated: 6 July 2017
Author: kkqd0298
Compatible Nuke versions: 9.0 or later
Compatibility: Linux, Mac, Windows
v2
Better File handling for animated sequences
#######################################
Input an RGB image,
A 3d card is created equivalent to using a displacegeo on absolute RGB setting.
(R=x, G=y, B=z)
I would advise to use the depth only box ticked. This will create a card where the z-depth is mapped from the blue input channel.
Unticking depth only would be useful if you want to maintain perspective of the image (with respect to a camera) regardless of the depth.
ie for parts of the image closer to the camera, you would want to displace x,y closer to the centre of the image.
Using displace geo takes >>30min for a 4k card, using this script <30sec.