Amazing. I finally understand better the zdefocus . Could you give an example of the type of math expression you would use to achieve the depth map manipulation you talked about at the very end of the video?
You mean the opticalZDefocus gizmo? If yes, Jed Smith has an hour long video to explain how the math work in his tool. ua-cam.com/video/Rv7L6M8f2lk/v-deo.html
Nice explanation! One question that I hoped to get an answer to was why zDefocus sometimes offsets the image with 1 pxl when pgBokeh dont. Anything familiar to you?
yes, it happened to me sometimes. I think that comes from the different convolve method inside the node. I forgot my solution, probably play around the maximum/size value, check bbox from input, values on the pixels, etc. I will get back to you if I encounter this issue again. Beside pixel shifted, sometimes I have pixel value issue with zDefocus too. Like those suppose has no alpha and totally black in RGB. But after zDefocus, there some small value pops up. I hope foundry realize that.
@@MJTLab its because the kernel must be centred on the image: offset your kernel in x and y by 0.5 px. that should centre your kernel ( nuke counts pixels from bottom left to top right, the centre of a pixel is 0.5 and 0.5 y. hope that makes sense. Same principle applies to ST maps
Amazing. I finally understand better the zdefocus . Could you give an example of the type of math expression you would use to achieve the depth map manipulation you talked about at the very end of the video?
You mean the opticalZDefocus gizmo? If yes, Jed Smith has an hour long video to explain how the math work in his tool.
ua-cam.com/video/Rv7L6M8f2lk/v-deo.html
This is awesome. Thank you very much!!
Great to hear that. Hope it's useful for you. 😃
Nicely explained!
Thank you. :)
Great explanation, thank you! Nice job on the graphics too :)
thanks, your video well explained too!
Very cool !! Thanks, what did you use for TTS?
ttsdemo.com/
I use Paul's voice in this video.
Nice explanation! One question that I hoped to get an answer to was why zDefocus sometimes offsets the image with 1 pxl when pgBokeh dont. Anything familiar to you?
yes, it happened to me sometimes. I think that comes from the different convolve method inside the node. I forgot my solution, probably play around the maximum/size value, check bbox from input, values on the pixels, etc. I will get back to you if I encounter this issue again.
Beside pixel shifted, sometimes I have pixel value issue with zDefocus too. Like those suppose has no alpha and totally black in RGB. But after zDefocus, there some small value pops up. I hope foundry realize that.
@@MJTLab thanks buddy! Yeah that also sounds familiar 😊
@Martin I just made a quick test. Pixel shift happened when I use a custom filter/kernel.
@@MJTLab yeah, because the kernel is not setup correct or its just how it works?
Thanks for investigating.
@@MJTLab its because the kernel must be centred on the image: offset your kernel in x and y by 0.5 px. that should centre your kernel ( nuke counts pixels from bottom left to top right, the centre of a pixel is 0.5 and 0.5 y. hope that makes sense. Same principle applies to ST maps
I own you a beer!