Skip to main content
Known Participant
January 31, 2020
Question

32 Bit Stroke Effect? I only see 8bit

  • January 31, 2020
  • 3 replies
  • 2381 views

Heya!  Thanks for your time.

I'm working in a 32 bit project with 4K EXRs and the stroke is still limited to 8-bit??? 

 

I'm using it for a lot of mask /stroke animations throughout multiple compositions, and didn't realize that it'd be a problem until I went from my offline 8bit files to a 32bit project and it was like, "oh no you don't".  

 

Does anyone know of a 32bit stroke effect that would do exactly the same as what the AE built in does?

 

Thanks

Ben

This topic has been closed for replies.

3 replies

Community Expert
February 2, 2020

You will have no color depth problems if you use a shape layer with Trim Paths applied instead of the Generate>Stroke effect. It renders a little faster, is more flexible, and can be used instead of Stroke with no problems. You may need to use a track matte, or set matte, but that's the way I would go.  I can't remember the last time I used Effects>Generate>Stroke for anything.

 

I looked at your project and I still would not apply Stroke to that image. I would animate a rectangle shape layer size and use that as a track matte, put a copy of the rectangle above the track matte with the size tied to the layer below that only had a stroke applied. If you tie the Position of the Shape layers to the position of the image you can avoid the goofy line thickness change as the scale of the image is animated, have a lot better control over the stroke, and make the whole animation look better. It's a little more work but the end result will be much better and you won't have to put the HDR Compander above and below the stroke effect to keep the layer 32 bit, and YES if you don't use the Effects>Utility> HDR Compander above and below the Stroke effect, that whole layer becomes 8-bit color. 

 

Here's what the comp would look like. It took me less than 5 minutes. Note the expressions tied to scale so the stroke width does not change:

Here's a comp so you can see what I have done. Just replace the footage with your own: https://www.dropbox.com/s/vdwdjl5fuad88a5/stroke%20project.aep?dl=0
(note: if your browser adds a .txt extension to the AEP just delete it)

Peter A Lund
Inspiring
January 31, 2020

Hey Ben 

 

a shape Layer can do this 

 

and 3d Stroke from Red Giant. 

 

https://vimeo.com/388572524

 

 

hope this helps 

rejoice in the way things are.When you realize there is nothing lacking,the whole world belongs to you.>Be content with what you have;rejoice in the way things are.When you realize there is nothing lacking,the whole world belongs to you.
Known Participant
January 31, 2020

Thank you, pavl2010.  I'm animating the mask with the image so I'd prefer a stroke can stay with the image.  See the below.  And I couldn't find within RG 3D Stroke a way to do the same stroke (that just works as a border that animates with the mask).

 https://youtu.be/RkoBRB8rqBE

Peter A Lund
Inspiring
February 1, 2020
 

With shape Layers you can achiev this. 

Have you watch a tutorial that show the difference between bezier path and non bezier path rectangles ? 

 

And as long as the stroke doesnt have any ramp effect it can be rendered as 8 bit in a 

32 bit project.

 

Everything beside the stroke is rendered in 32 bit, 

 

hope that helps 

Peter 

 
 
 
 
 
 
 
rejoice in the way things are.When you realize there is nothing lacking,the whole world belongs to you.>Be content with what you have;rejoice in the way things are.When you realize there is nothing lacking,the whole world belongs to you.
Szalam
Community Expert
Community Expert
January 31, 2020

It's okay to use 8-bit effects in a 32-bit comp. The only serious problem is if you're using it in an effect stack where it would clip otherwise overflowing data.

Known Participant
January 31, 2020

Thank you Szalam, I can apply it, but if you put that onto a 32-bit EXR, it clamps the color to 8-bit and you lose all of the information.  My painful workaround right now is to duplicate the layer, set that layer's stroke to 'on transparent', and then delete the stroke off my 'picture' layer so that it doesn't clamp the color.