Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Generating a 3d panning effect from a stereo photograph

  • Generating a 3d panning effect from a stereo photograph

    Posted by Matthew Woods on November 14, 2006 at 4:29 pm

    In the past, I have done some cool 3d effects in After Effects by cutting up a 2d image into layers in photoshop, importing it into after effects, then moving those layers along the z axis, scaling them to their relative size, and doing camera moves on the resulting multiplane images. I am currently working on a project where we have some old stereo photographs as source material. I was wondering if anyone knows, or can think of a way, to create a similar effect from a stereo photograph. I am thinking there might be some trick where you do camera moves on the images and write a script to disolve between the left eye and right eye image depending on the camera position, but I’m not quite sure how that would work. Anyone have any ideas?

    -Matt

    Mylenium replied 19 years, 6 months ago 2 Members · 1 Reply
  • 1 Reply
  • Mylenium

    November 15, 2006 at 9:32 am

    Depends on what you want to use as a criterium for the transition. The simplest way would be to check the angle of the camera perpendicular to the images and then use a simple keyframe method like linear() or ease() to trigger the dissolve. Something like this might work:


    my_pos=comp(“main”).layer(“image”).position; //position of the layer with the images
    cam_pos=comp(“main”).layer(“camera”).position; //position of camera

    looksy=lookAt(my_pos,cam_pos); //orientation layer – camera
    angle=looksy[1]; //Y angle

    dissolve=linear(angle,0,30,0,100); //fade layer from 0 to 100 when angle is between 0 and 30

    [dissolve]

    This could be applied to the opacity of one of your segemnts in a pre-comp, making the top layer fade based on angle. I’m sure you could find more elegant methods using layer space transforms, but it should do.

    Mylenium

    [Pour Myl

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