9 Replies Latest reply on Jan 17, 2014 10:20 AM by fhxfhx

    Continuously Rasterize with Masked Solid

    fhxfhx Level 1

      Hi,

      i have a pre-comp with a masked and stroked solid, but in the final comp on scaling, "Continuous Rasterize" doesn't render the mask path out smooth yet. How is this done ?

       

      Also, i'd like the stroke to render at its original stroke size and not be scaled ... is that possible with the stroke within the pre-comp? With an expression or so ?

       

      http://files.2he.com/uploads2/2014_01_16_17_01_35.jpg

       

      Regards,

      Frank

        • 1. Re: Continuously Rasterize with Masked Solid
          Todd_Kopriva Level 8

          You should be using shape layers, not masked solid layers for vector graphics like this. Shape layers are always continuously rasterized, and you have fine control over such things as strokes.

          • 2. Re: Continuously Rasterize with Masked Solid
            fhxfhx Level 1

            Hi Todd,

            ya, i started out with shapes, but then i had a problem to scale the rounded corner rectangle vertically, it squeezes the rounded corners and i didn't see a way to animate the vertices of a shape.

            So i went over to masks, but that now pixelate when scaled ...

             

            Is there another trick to achieve the goal of scaling a rounded corner rectangle vertically without squeezing the corners ? One that is being used as a pre-comp where i need continuous rasterization all the way in the goal-comp when i scale the pre-comp again. (I needed to pre-comp, because there is no grouping for the bunch of layers in AE i figured.)

            • 3. Re: Continuously Rasterize with Masked Solid
              Rick Gerard Adobe Community Professional & MVP

              Adjust the scale in the major transform properties rather than in the shape transform properties.

              • 4. Re: Continuously Rasterize with Masked Solid
                fhxfhx Level 1

                ah ok great, thx yea that's perfect

                 

                http://files.2he.com/uploads2/2014_01_17_09_13_13.jpg

                • 5. Re: Continuously Rasterize with Masked Solid
                  fhxfhx Level 1

                  do shapes have an Anchor ? When animating the size, my goal is to enlarge it downwards only. I checked it with pre-comp and then use the anchor of the pre-comp ... but that squeezes the corners again.

                  • 6. Re: Continuously Rasterize with Masked Solid
                    Rick Gerard Adobe Community Professional & MVP

                    Just reveal the transform properties for the rectangle. Adjust the anchor point there and you should be good to go. You just didn't dig deep enough.

                    • 7. Re: Continuously Rasterize with Masked Solid
                      fhxfhx Level 1

                      i tried it before, but those squeeze the corners again. Only Path Size doesn't, but wasn't affected by any Anchor. Both, the Transform:Rectangle and the Layer-Transform Anchors don't affect the size change center of the shape to be somewhere else than in its absolute center.

                       

                      http://files.2he.com/uploads2/2014_01_17_15_25_56.jpg

                      • 8. Re: Continuously Rasterize with Masked Solid
                        Rick Gerard Adobe Community Professional & MVP

                        Sorry, I didn't complete my post. I was replying on my phone. After I said you just didn't dig deep enough I meant to give you the solution, or actually two solutions.

                         

                        The first is to add an expreession to the anchor point that points to the size of the rectangle. If you divide the size value by 2 and subtract that from the current value of the anchor point the anchor point will animate as you change the size and the rectangle's left and top edge will maintain their position.

                         

                        Here's the expression:

                         

                        x = value [0] - content("Rectangle 1").content("Rectangle Path 1").size[0] / 2;

                        y = value [1] - content("Rectangle 1").content("Rectangle Path 1").size[1] / 2;

                        [x, y];

                         

                        Change the minus sign just before content to a plus and the bottom or right edge will maintain position.

                        After creating the rectangle and adding the expression you'll have to reposition the rectangle in your design. I could add a bunch of other language to the expression to maintain the original position but frankly, it's a waste of time.

                         

                        The other option is to hold down the Alt/Option key as you create your rounded corner (or any other geometric shape layer) so that a Path instead of a Rounded Rectangle is created. When you have a path you can just animate the path selecting as many of the points as you wish.

                         

                        Here's a project file (created in CC but saved as CS6) with both options so you can see how this works....

                        • 9. Re: Continuously Rasterize with Masked Solid
                          fhxfhx Level 1

                          thank you

                          a) works great

                          and

                          b) is the key tip on how to use paths for any shape creation in shape layers :-)