User Guide > Effects > Using Effects > Colour Override > Rendering Selected Colours Only > Modifying a Texture Fill's Transformation

Modifying a Texture Fill's Transformation

When you paint a zone with a bitmap texture swatch, you might want to modify the size or position of the texture's matrix at the compositing level. Maybe for an effect purpose you need to animate the position of the texture in a zone. With the Colour-Override module and a Peg, you can animate the texture.

To modify a texture fill's transformation:

1. From the Module Library view, drag a Colour-Override module and drop it in the Network view.
2. From the Module Library view, drag a Peg module and drop it in the Network view.

3. In the Network view, connect the Colour-Override module under the drawing module you want to animate the line for. Note that for a cut-out puppet, you would connect the Colour-Override under the final Composite, set as Pass-Through.
4. Connect the Peg module in the Colour-Override's middle port. The green port will take the transformation of the Peg to modify the pencil texture's position.
5. Click on the Colour-Override's yellow button to open the editor.
6. In the Colour-Override window, in the Palettes section, select the palette containing the bitmap texture swatch.
7. In the Colours section, select the texture swatch you used to paint the drawing and drag it to the Colour-Override section.

8. Once the swatch appears in the Colour-Override section, select it and then click on the Select Override Mode button to right-click on the New RGBA word and select one of the following option in the drop-down menu:

Override the colour's transformation:This option will override the initial texture's transformation (matrix) established when you painted the zones or modified with the Edit Gradient and Texture tool. This transformation override will be done by modifying the Peg's position.
Combine the colour's transformation:This option will combine the initial texture's transformation (matrix) established when you painted the zones or modified with the Edit Gradient and Texture tool with the new position transformation you will create when modifying the Peg's position.
9. In the Network view, select the Peg module.
10. In the Advanced Animation toolbar, select either the Translate , Rotate or Scale tool.
11. In the Camera view bottom toolbar, enable the Render mode.
12. In the Camera view, move the Peg's position. As you move it, you will see the texture fills getting modified. You can animate the position by adding position keyframes in the Timeline view.

Related Topics 

Overriding a Colour With a Texture
Rendering Selected Colours Only
Overriding a Colour with a Bitmap Image Sequence
Overriding a Texture on a Pencil Line