Nuke expression to find center of format size

Hi all,

I’m currently working on a gizmo that includes a GodRays node. What i want to do is have it so that the "center" parameter in my GodRays node is always in the middle of whatever footage you have piped into it.

So i was hoping there is some form of expression that can find the vertical and horizontal size of the source and then divide them by 2 to find the center automatically.

thanks in advance

No Responses to “Nuke expression to find center of format size”

Post a Comment