Drawing and editing players

Créé par Waves System, Modifié le  Ven, 12 Sept. à 3:33 H par  Waves System

Players are the areas where you can add a source of external content. Players can support these categories of media: photos, videos, GIFs, Webcam streams, NDI streams, Generative Shaders, and Text.


TABLE OF CONTENTS


Creating Players

Players are predefined quadrilateral shapes. You can add them by:

  • Drag & dropping the corresponding icon from the toolbar (as you would do for faces),
  • Using the shortcut [Shift + P],
  • Or from the right-click menu in the canvas.


To differentiate them from faces in the canvas, they have square vertices instead of round ones.


For photos, videos, and GIFs, you can also directly drop your media into the canvas. It will automatically create a player containing it. If you drop more than one at a time, it will even create a playlist with all of them directly!


Editing Players

Unlike faces and masks, players always have exactly 4 points, with no handles. However, you can still move these 4 vertices to adjust thep erspective. It doesn't have to stay a rectangle, and it will stretch what is displayed inside in a way that keeps the perspective correct.


 

When a single corner is selected, as of version 2.13, you can input precise pixel values for its X & Y coordinates from the Properties panel (the (0,0) origin point being the top left corner of the canvas).


 

Editing Warping Points

If you need to distort the texture inside your player, you can use the warping module. Warping is a technique used to manipulate a texture to correct its distortion, whether it is to adjust its shape on a complex surface or for creative purposes. Imagine stretching a piece of cloth to change its shape—this is akin to warping.


The warping module can be toggled on from the Properties of a player that appear on the panel on the left when it is selected, or simply by double-clicking on the player shape in the Canvas. To turn it off, re-click on the button, re-double-click on the Player, or just use [Escape].


warping-module.png 


Once it is on, points appear on your player. They allow you to distort only an area of the Player, for instance, to compensate for asperities on the projection surface. Each point can be moved with the cursor or the arrow keys (to move precisely pixel by pixel).


You can change the number of points according to the precision needed for the zone you need to distort via the Rows & Columns inputs.


warping-module-on.png


There are 2 modes for points:

  • Linear: This is the default mode. As you can see from the grid created by the rows and columns, the lines connecting each point to its neighbors are straight.
  • Bézier (2.13): This mode keeps the same points but adds two Bézier tangents to each of them so that you can curve the warping. A tangent is made of 1 or 2 control handles: each point has as many as there are points it is linked to (e.g., a corner only has 2 control handles while a point in the middle has 4).
    When a point or one of its handles is selected, you can change the type of both associated tangents with the “Handles” toggle in the Properties. By default handles are 814450ab-bfa4-4b46-8cb0-270473cbcefdAsymmetrical (both handles in a tangent form a straight line but they don't have to be the same length), but this can be switched to 2209719e-cfea-4e69-a84a-809ab4cf7e9aDisconnected (both handles are completely independent).

These modes are mutually exclusive. Either all points have handles or none do.


Depending on the curve you’re trying to reach, a few tricks can help you:

  • "Make circle" button (only in Bézier):
    This option adapts the warping points so that the player content seems fitted on a convex dome. Handy if you’re projecting on a sphere!
Note
In this case, the rows & columns are reduced to 1, but you can still change this afterward or revert back with [CTRL/Cmd + Z].
  • New Rows & Columns follow the bend:
    While it’s usually better to know how many points you need from the get-go, it can be time-saving to start with a low number when adjusting a curve. Indeed, with few points, you can start roughly placing them on the curve and then increase the numbers progressively to gain control points. These new points will follow the curvature you have set as best they can, without having to adjust them independently.


Comparing and Combining Perspective and Points Warping

Unlike Perspective adjustments, the deformations in the warping module evenly stretch the content inside the Player.


perspective-vs-warping.png


Notice the difference in the width of each tile in particular?

However, even if warping points don’t adjust for perspective when moved, deformations created with the Warping module adapt to Perspective deformations: both transformations can be used in combination.


Cet article a-t-il été utile ?

C'est super !

Merci pour votre commentaire

Désolé ! Nous n'avons pas pu vous être utile

Merci pour votre commentaire

Dites-nous comment nous pouvons améliorer cet article !

Sélectionner au moins l'une des raisons
La vérification CAPTCHA est requise.

Commentaires envoyés

Nous apprécions vos efforts et nous allons corriger l'article