Creative Communities of the World Forums

The peer to peer support community for media production professionals.

  • Posted by Donal Hanafin on August 18, 2008 at 4:14 pm

    Hello all,
    I’ve motion tracked some footage and am using cc particle world to generate custom made particles. The problem I’m having is the position x and position y in the producer tab don’t correlate to x and y coordinates so the particles are going completely off screen. Is there any way to translate the values of the positions x and y to the actual pixel values of the movie?

    Thanks,
    Donal

    Donal Hanafin replied 17 years, 9 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    August 18, 2008 at 6:47 pm

    It’s going to look like this for x:

    (thisComp.layer(“your layer”).motionTracker(“Tracker 1”)(“Track Point 1”).attachPoint[0]-thisComp.width/2)/thisComp.width

    and this for y:

    (thisComp.layer(“your layer”).motionTracker(“Tracker 1”)(“Track Point 1”).attachPoint[1]-thisComp.height/2)/(thisComp.width*thisComp.pixelAspect)

    Dan

  • Donal Hanafin

    August 19, 2008 at 11:44 am

    Hi dan,
    Thanks a million for this, I’ll try it out now, there’s now way I could have figured that out

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