Forum Replies Created

Page 1 of 2
  • Juan Irache

    March 31, 2020 at 12:57 am in reply to: Monospace font not being monospaced

    Ok, I should have been using Metrics kerning instead of Optical in the Character panel


    Former video guy. Current code guy
    https://prototyping.barcelona/

  • Juan Irache

    October 9, 2019 at 9:54 pm in reply to: Rotate object in absolute axis, not its own

    It’s definitely possible with expressions and quaternions. Here it works well in JavaScript: https://editor.p5js.org/jeremy.behreandt/sketches/SMB8TYjkj

    If there’s no other way I’ll try to port that when I find some spare time.

  • Juan Irache

    October 8, 2019 at 11:15 pm in reply to: Rotate object in absolute axis, not its own

    Hi Greg,

    Yes, but those modes only affect the three dimensional arrows (red, green, blue) and what happens when you drag them, don’t they? My rotation is based on external data (mgJSON) through expressions.

  • Juan Irache

    October 8, 2019 at 8:22 pm in reply to: Rotate object in absolute axis, not its own

    No, unless I’m doing something very wrong, the rotation of the top null affects the rotation of the middle null, and this one affects my object (it has to, that’s the point). Then the axis directions are different from the inital ones and the object does not rotate around world axes:

    https://youtu.be/0Z-MydkJH8c

    Z and X are reversed at the end of the animation

    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.

  • Juan Irache

    October 8, 2019 at 5:49 pm in reply to: Rotate object in absolute axis, not its own

    What baffles me the most is why the second rotation in the “orbiting camera” version does not happen around the X axis (red arrow) but around Z (blue):

    https://youtu.be/f5vF-22FiQw

    (this is the front view of the static object, the arrows are on the null object the camera is parented to)

    It looks like when X or Y are rotated, Y or X will not rotate around the arrow any more. What are they rotating around then? This is getting very confusing.

    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.

  • Juan Irache

    September 26, 2019 at 3:34 am in reply to: Problem with long createPath in AE 15

    This is the solution I came up with, in case anyone else bumps into this.

    I added a “Max Path Complexity” slider to my control layer. It’s set to 1000 by default. AE 15 users are asked not to increase the value. Lowering it also allows for much faster renders.

    The code goes something like this:

    mPoints = [];
    complexity = +thisComp.layer("Control").effect("Max Path Complexity")(1);
    //dataSource is a data array taken from somewhere else
    increments = Math.ceil(dataSource.length / complexity);

    for (i=0; i

  • Juan Irache

    September 25, 2019 at 10:55 pm in reply to: Expression error but still getting correct value

    Thanks. That seems to have gotten rid of the error. This will also come in handy for those cases when I was combining Math.max and Math.min!

  • Juan Irache

    September 22, 2019 at 11:42 am in reply to: Is there a expression which can : value + previous value

    I was recently facing a similar problem, where I needed to do some calculation in every frame and add it to a total from the previous frame. The problem with looping through every frame to the current one in every frame is the render becomes increasingly painful for the machine in every frame.

    My solution was to make all the calculations on a text layer, in the first frame: I loop through all the frames, push the value of every frame to an array, and print the array as the Source Text. Someting like this:

    mSource = thisComp.layer("source layer");
    if (time == mSource.inPoint) {
    totalValue = 0
    values = [0];

    for (i=timeToFrames(mSource.inPoint); i

    Then, wherever the value has to appear, I pick the text from the first frame, split it by comma to create an array and pick the index corresponding to the frame I'm at:

    mSource = thisComp.layer("source layer");
    arr = thisComp.layer("text layer").text.sourceText.valueAtTime(mSource.inPoint);
    mIndex = timeToFrames(time - mSource.inPoint);
    val = arr.split(',')[mIndex];
    val

    The difference in rendering speed is night and day.

  • Actually, clicking the label under the thumbnail is what works for me:

  • https://youtu.be/e5FFCD83dn4

    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.

Page 1 of 2

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