True comp duplicator11/27/2022 ![]() Let's select and duplicate the last grid item (item 4) - this comprises of the 3 layers: Grid Item, Matte, and Label. Make sure Shy switch is turned off in Timeline panel, to reveal hidden layers. Let's head over to the timeline panel and make sure the Shy switch is turned off, revealing all layers. Note: the empty cells - we'll need to create those missing grid items for that last column, but can disregard the last row since we'll collapse it anyways. Then set the Grid Size (from the same effects panel) to 3. We first create, by duplication, a new Row and Col slider controls in the Grid Controls layer effects panel for the third row and col:ĭuplicate to create a new Row and Col Slider Controls. Let's say we want a 2x3 grid layout (2 rows and 3 columns) instead - we'll need to add a third column. The default setup comes with a 2x2 grid (2 rows and 2 columns). Let's go through a basic example to get a practical understanding of the grid: A grid of 2x2 with Col - 1 set to 25, and Col - 2 set to 75 would display as Row - 1 taking up 25% of the total grid height, and Row - 2 the remaining 75%. When adjusting the size of the grid, the cells will readjust in size automatically while maintaining the same ratio.įor the ratios to make sense, a 0-100 range is recommended to be considered as percentages of the dimension of the grid. Since the dimensions of a cell are arbitrary, we'll be using ratios instead of pixel values for the row/col sizes. Those Shape layer masks are constructed using the createPath() method, by specifying the 4 path points coordinates (4 corners) that define the rectangle shape. The Grid Layout is setup using Shape layers, in the form of rectangles - that will act as masks for the precomps. The footage precomp also has to be duplicated in the project panel, and made sure that the layer source matches that duplicate. All 3 layers of a grid item must be duplicated when creating a new grid item. Comprises of a Footage precomp, a Shape layer that acts as a mask for the precomp, and a Text layer that identifies the grid item position in the comp view.It draws a border around every grid item. This is a shape layer with a stroke applied (no fill).The grid layout algorithm will be run here. This is the brain of the rig, and is where the grid size can be set: the number of rows and columns and their dimensions.More info here: Syntax differences between the JavaScript and Legacy ExtendScript expression engines.Īt it's core, the rig is structured with the following elements: This allows us to use some of the newer Javascript methods available. Note: If you get any expression errors when you open the project, make sure the Expression Engine is set to Javascript in Project Settings > Expressions or CMD/CTRL SHIFT ALT/OPT K. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |