Forum Replies Created

Page 2 of 2
  • Logan King

    April 4, 2015 at 10:52 am in reply to: 3D layer color fades with Distance from camera

    Hi John,
    If you are referring to the Depth of Field box then NO, its turned off.

    I figured it out what I was doing wrong.

    All the layers contained vector files and the comp sizes were different in each case.

    So all I had to do was to make the comp sizes match up and re scale them in the main comp accordingly and turn the vector switch on.

    That solved it for me.

    Thanks anyways.

  • Logan King

    April 2, 2015 at 10:56 pm in reply to: How to match perspective on a 3d object.

    You should 3D track it like someone said or try something different.
    Keep your digitized orthogonal logo matched to the perspective of the original logo as closely as you can but keep the opacity to 0 and just when it’s about to fly off start increasing the opacity with a sharp curve turn on forced motion blurr and you will have the perfect scene.

    If you have trouble doing any of what’s been said here let me know I’d be happy to help out.

  • Thanks a lot Dan.

    Though I understood most of what you have explained to me here, could you do me 1 final favor by telling me what to google or where to look to learn and find out the significance of the [1] [2] or [0] ?? So I know what is their exact function in a script and when to properly use them ? Should I google JavaScript array notation ??

  • Yes it does help but it raises other questions, very noobish questions.

    So whenever under a property ‘value’ is written it means it’s pulling the value of that property ? Example if I created an expression in scale and wrote value – 80 it’d pull the current value of scale and deduct 80 from it?

    When I write Value – 80 it only subtracts 80 from x and writing value -80,1 gives an error of dimension.

    I now understand how this ‘Value’ function works (it pulls the value of the property under which it’s called) but dont understand yet how to use it.

    ALSO

    I thought [xyz] are the same as [012]

    And thought writing [x variable, 1, 2] would mean writing [x variable, y z]

    x = thisComp.layer("Nose Front").transform.position[0];
    value - [x - thisComp.width/2, 0]

    Now that you mentioned it, when I code it in my comp putting 0 1 or 2 doesnt really change the way the 2 layers behave in any way.

    I have positioned the layer that is being moved above the layer that is being affected. (To create a modified parallax effect)

    The only difference putting 0 or 1 or 2 makes is the affected layer slightly changes it’s y (vertical) position.

    Really appreciate your responses.

  • Thank you Dan,

    x = thisComp.layer("Layer A").transform.position[0];
    value - [0, x - thisComp.width/2]

    I understand that you are first assigning the X pos value to a variable x, and then using that x variable in the line 2 in place of Y pos. But I dont understand how the line 2 works to be honest.

    Could you please explain this code a little further, on how it is working ?

    For my initial question this works exactly the way I wanted it, but in another instance I would also want to be able to link the X position of a layer A inversely with another layer B’s X position.

    How can I achieve that ?

    EDIT : Disregard the 2nd part of my post.

    x = thisComp.layer("Layer B").transform.position[0];
    value - [x- thisComp.width/2, 1]

    I used ^ this code to achieve the same result. But please do explain how the line 2 is actually working.

Page 2 of 2

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