Forum Replies Created

Page 2 of 3
  • Nils Hammers

    July 17, 2024 at 10:42 am in reply to: Access Comp’s Render Quality Settings C4D

    Hey Hector,
    Thank you for your input.
    What should I do in order to execute the script? I saved it as jsx and run from File>Scripts.. however it generates errors.
    Consulting the scripting manual AE Scripting Guide 22.3.0 docs
    , I failed to find such thing as activeDependecy, also quality attribute is listed for the layer objects only. Should I look elsewhere?
    It is a bit overwhelming, could you help more?

  • Gladly.
    I have scene filled with hand-drawn items composed of flat (sometimes curved too) 3D layers. What I need is a perspective changes as the camera moves.

  • Nils Hammers

    May 15, 2024 at 4:26 pm in reply to: After Effects Zig Zag Animation

    Assuming you have there a bunch of small square layers, I would animate it with sine expression for y coordinate, and some more automation. Anyways, this topic must be well covered by others, you can find several ways to tackle the thing, e.g. https://youtu.be/DY73Kyk0T7A?si=PYUpT7q2_yJ7ZEAV&t=147
    See, if you can figure out yourself, otherwise give a shout.
    Best of luck!

    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.

  • Nils Hammers

    May 15, 2024 at 11:48 am in reply to: Transform Edits Not Moving Smoothly

    The performance is really slow, however it is hard to judge without seeing the sys specs and how much the CPUs are loaded. A couple of things to start with:

    1. Enable the RenderTime tab in the Timeline pane – there will appear small progress bars with number of milliseconds it took to process for each of the layers.

    2. Open the Task Manager Ctrl+Shift+Esc, go to the Details and sort the processes by their CPU utilization. Then, observe the load during your moves in AFX. If there’s constant load, see what processes run in the background, how much power is consumed by AfterFX.exe. If the load is inadequate/suspicious, run the antivirus.

    3. Update the display drivers.

    4. Try to run Afx in Safe mode. Go to Edit > Preferences > Startup&Repair > .. the section itself will give you some ideas what to do else.

    Best of luck!

  • This very likely might not be related to the sourceText property, rather could be something with other properties responsible for the style.

  • Nils Hammers

    May 15, 2024 at 11:10 am in reply to: After Effects Zig Zag Animation

    Seems, you have deleted the reference vid.. Is your question still unanswered?

  • Nils Hammers

    May 10, 2024 at 10:47 am in reply to: loopOut(“offset”) As A Function?

    Hey David,
    Thank you for taking time and explaining the thing.
    I was rather surprised I could not find an example where looping commands are used in a way wiggle could be used as a “method” e. g. opacity.wiggle(2,50), which was used in the very example by The Dan you quoted.
    Yes, apparently playing with the time was the most affordable way to workaround the original looping command shortcomings, which just required automatic cycle length detection, otherwise the solution was there. Thank you very mucho 🙏

  • Nils Hammers

    May 10, 2024 at 10:35 am in reply to: loopOut(“offset”) As A Function?

    Guau, Dan!
    Thanks to you, it works exactly as expected. Subtracting a minuscule amount time (here: frameDuration/2) from the current time equalized the overall look of the character, which was animated “on twos” – the feet are sliding less, while the body hasn’t started to strobe noticeably.
    I’m still going to experiment with animation of that amount depending on the phase of the walk-cycle, or last night I even had a dream of using Time Displacement to play back the parts of the footage at various frame rates, where I will still find the use of this script.
    I’m surprised, the loopIn()/loopOut() can’t be used as js methods, or can they?
    Thank you again Dan, the case is solved.🙏

  • Nils Hammers

    May 9, 2024 at 3:57 pm in reply to: loopOut(“offset”) As A Function?

    Hey, thanks Dan!

    All I want is to sample a value from the loopOut(“offset”)-ed data, and output it instead of actual value. There in the image you can see the keyframed animation in red, and desired animation in dotted magenta.

    In my code, there for the sampling I used valueAtTime(time-DeltaT), were DeltaT was the amount of time I want to sample backwards, some small negative value e.g. 0,02 @ 25fps. Unfortunately it doesn’t loop the animation, which I have to extend to some 10 seconds.
    Is there an elegant way to integrate the loopOut()?

    I hope this clears the matter🤞

  • Nils Hammers

    March 15, 2024 at 1:14 pm in reply to: Duplicate Layer with Layer Control Property

    My first attempt, yet I managed to concoct some kind of working script that solves this, apparently, a duplication bug in 6421 control.

    function cloneLayers(num_of_copies, keep_selfref, move_after) {
    app.beginUndoGroup("Clone Selected Layer(s)") ;
    var comp = app.project.activeItem ;
    if (comp && comp instanceof CompItem) {
    var selection = comp.selectedLayers ;
    if ( selection.length > 0 ) {
    for (var i = 0; i < selection.length; i++ ) {
    var selectedLayer = selection[i] ;
    var cloningData = [] ;
    var effectGroup = selectedLayer.property("ADBE Effect Parade") ;
    for (var j = 1; j <= effectGroup.numProperties; j++) {
    var effect = effectGroup.property(j) ;
    for (var k = 1; k <= effect.numProperties; k++) {
    var property = effect.property(k) ;
    if (property.propertyValueType == 6421 && selectedLayer.index == property.value) {
    cloningData.push([j, k]) ;
    }
    }
    }
    // Cloning
    for(var n = 0; n < num_of_copies; n++) {
    var clone = selectedLayer.duplicate() ;
    move_after ? clone.moveAfter(selectedLayer) : void(0);
    if (keep_selfref) {
    for (var m = 0; m < cloningData.length; m++) {
    var cd = cloningData[m] ;
    clone.property("ADBE Effect Parade").property(cd[0]).property(cd[1]).setValue(clone.index) ;
    }
    }
    }
    }
    } else {
    alert("No selected layer.");
    }
    } else {
    alert("No active composition.");
    }
    app.endUndoGroup() ;
    }
Page 2 of 3

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy