How do I rotate a texture in the nodes editor ?

Hi !

All is in the title…
Say I have a wood texture named “wood”.
The strikes are diagonal.

In the compositing nodes editor, I can add a “texture” node, select my “wood” texture and view it with a viewer…

But how can I rotate this texture so that the strikes are orientated at my convenience ?

The “distort-Rotate” node doesn’t work…

EDIT: some strange behaviour here: if you add an “invert” node between your wood texture and the “rotate” node you can now rotate your wood texture ! Set the factor to 0 and you have your texture unchanged.

Unfortunately, the texture doesn’t extend beyond the frame of the picture, so a rotation makes the rectangular shape of it visible…

Grrr…

Yes, I have the same problem. It could be a bug because, as you said, if you add a Color or Convertor Node, you can rotate it, but then it will be cropped. One more thing is that the scale node is dependant of the render size, even for a texture input. It would be better to have the choice.

To rotate an image or a texture create a series of nodes: Geometry>Mapping>Texture and modify the “rot” for either X, Y, or Z in the Mapping node. In 3D the result is not always predictable to me, but it works in most cases.

There is an example here → http://wiki.blender.org/index.php/Manual/Material_Nodes#Mapping_Node_Example

/ Mats

Yes that works with material nodes, but it’s different with Compositing Nodes, unfortunately.