Warp

2D Modifier  -  Manual distort, perspective mapping tool

WarpTextureModifier WarpTextureModifier WarpTextureModifier WarpTextureModifier

Use a 4-point plane or a grid to transform an image. This modifier is more or less the equivalent to the PerspectiveRemapping2dPlacement Icon Perspective Remapping placement for its basic manipulations, but is far more versatile and can help you a lot for mapping purposes:

Warp Warp

Basic Manipulations

Select the modifier and go in edit mode, you can now place the point that will define the border of the zone you are going to transform.

WarpModifier01 WarpModifier01

Now you can uncheck the Edit Source inside modifier’s parameters.

WarpModifier02 WarpModifier02

And finally distort the image.

WarpModifier03 WarpModifier03

If you want to transform the whole image in perspective, better to use the Perspective2dPlacement Icon Perspective of the TextureRenderer Icon 2D Renderer .

If your aim was to use a mesh warp, then go check for the BezierPatch2dPlacement Icon Bezier Patch .


Create a custom grid warp

New points can be created inside the Warp modifier through the edit mode by CTRL+click on the ViewportWorkspaceComponent Icon Viewport .

WarpModifier04 WarpModifier04

Then by un-checking the “edit source option” you can use them to distort your image.

Note that a split view can be used through the use of the visualizer arrow (next to the modifier inside the ElementTreeWorkspaceComponent Icon Element Tree ) in order to edit the IN and OUT points of the warp deformer at the same time:

WarpModifier05 WarpModifier05


Variables:

  • Precision: Precision of the warp
  • Points: Points of the warp
  • Keep Input As Background: Keep input as background of the warp

Python

    Oil.createObject("WarpTextureModifier")