Lance Clayton
Forum Replies Created
-
I’ve got it working nicely enough now.
I did swap one line defining the width to 96.5% of the comp width (to accomodate for my margins to the side)
That said, it breaks when/if you use the Scale Composition script to resize the comp. As long as no-one does that we should be A-okay.
Thanks again for your brilliant guidance to a great solution.
—–
// selectorValue * textIndex/textTotal
widths=thisComp.layer(“lineWidths”).text.sourceText.split(“,”).map(a=>parseFloat(a));
maxWidth =thisComp.width*0.965;
delay = effect(“delay”)(“Slider”).value;
align = effect(“left – ctr – right”)(“Slider”).valueAtTime(time-textIndex*delay);
(maxWidth-widths[textIndex-1])*align/10000;
-
Filip,
I applied your approach to a ‘text box’ (ie with a bounding box) vs a text layer without defined linebreak limits.
How do you actually define the leftmost and rightmost alignments? (see that mine does’t reach the edges in a 4k comp (2x your resolution)?
I see that your’s defines the right/leftmost by the longest word…
Thanks,
-
Filip,
Thank you! – this is a great resource and learning tool.
Thanks for sharing.
Lance
-
Yep – sent to ‘FRONT’ .
John – the community owes you for this post.
-
This is a pretty decent workaround if you actually want the grandient’s angle to follow a curved path.
Essentially:
1. Draw your path
2. Use a 4 colour gradient ramp to generate the gradient points
3a. Place those points in the right position to achieve the gradient look across the path.
3b. Pickwhip/expression nulls to the 4 colour gradient ramp colour ‘positions’ property and copy paste the path of your source gradient curve, to the nulls position properties. This 3b option allows the nulls to move across the path taking the colours of the gradient with them.https://www.youtube.com/watch?v=NBk5XDBbsb4
Some contents or functionalities here are not available due to your cookie preferences!This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.
-
This comment about the glow instead saved me today, top tip!
-
Hey,
Had the same problem last week. For me, it was 100% to do with the Windows ‘page file’.
Look into it but essentially the page file is for the overflow when your RAM is completely used up by applications, it does something akin to writing the temp data onto a hard drive through a ‘page file’ because no RAM is available (or at least that’s my limited understanding of it).
I had not allocated a large enough page file size to be of any real use when my RAM gets eaten up. Keep in mind though that I ‘think’ a page file can grow rather large if Windows if left to manage it (especially if you have 64GB RAM), so perhaps make sure you’ve got spare space for windows to dump it’s RAM upon a crash. Read into it, I don’t really understand page files that well.
I feel like something in the latest AE has changed which now causes the RAM to not empty back out properly (I might be wrong) but either way fixing you page file size should resolve it; totally alleviated the issue for me.
To change the page file size do this.
– Go to your Explorer
– Right click on ‘This PC’ in left/side column > Properties
– Click ‘Advanced System Settings’
– Select ‘Advanced’ tab
– Under ‘Performance’ click ‘Settings’
– Under the ‘Advanced’ tab within setting, click on ‘Change’ under the Virtual Memory area.
– I’ve set mine to ‘Automatically Manage’ (some web posts say rule of thumb should be 2x RAM capacity?)That should sort you out!
Lance
-
Yes. That solved the problem for me.
Essentially you just need to trick E3D into seeing every frame as unique so that it doesn’t try to cut corners when rendering.
Lance
-
Thanks Dan.
However, this does seem to only work when the layer starts at the beginning of the comp. When further down the timeline all letters appear at once.
Is there some parameters that can be added to allow the expression to start at the beginning of the layer no matter how far down the timeline it is? (or will I have to precomp).
Thanks
Lance
-
I often do this by using Layer Styles.
Using Layer Styles is far simpler and lets you use multiple colour gradients.
Just beware of the catch with using Layer Style on layers in a scene with 3D layers; a layer with an applied Layer Style will always render in front (on top) of a 3D layer, even if both layers are 3D and the layer with layer style is further back in Z space.
While this is somewhat a catch, it’s also an extremely useful trick to make a layer render as if on top of the stack without changing your layer position in the layer stack of your comp.
L
