RotateNormals v1.0

This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Hakan Blomdahl
Rotate Normal data
4.8, 5.0, 5.1, 5.2, 6.0, 6.1 or later
Linux, Mac, Windows
21 Jun 2010

This will take ( for instance ) the Surface Normals coming from the Scanline Render Node and rotate them.

I made this when I wanted to convert the surface normals from World Space to Camera Space ( for some reason I forgot... ). So I could basically link the rotation knobs to this gizmo and simply press "revert rotation order" and invert the rotation matrixes. This would not  properly work with a parented camera, but I guess that with nuke 6.1 having world matrixes accessible you could make that work as well ( link the rotation part of the matrix somehow...)

The math came from this page:

...and god knows how I got the time and patience to actually make it work. :-)


It could be some use for post grading of 3d-renders which some people have done ( using one of the channels as a mask for grading ).

Please login in order to download these files.


+1 # Oliver Markowski 2012-05-15 05:42
thx man!!! i abuse it to rotate my world position passes... ;-)
+1 # d f 2016-11-18 18:30
dude, you are a legend

You have no rights to post comments

We have 3396 guests and 131 members online