Synchronizing movement of two layers

I have a feeling I'm using the hard way to accomplish something simple, so I hope someone here can straighten me out.
What I'm doing is drawing an "indiana jones" type line over a moving 'map' layer (approx. 18" x 36") — moving generally left to right, but also some ups & downs. So, the line, as it's being drawn, and after it's drawn, has to move precisely in sync with the layer below.
I have no problem creating the line. Been there, done that before. But, never tried syncing a line with another layer that's in motion. As I'm currently doing it, it's very time consuming.
I tried a copy & paste of the keyframes from the 'map' layer to the line layer but that didn't work out too well. What I'm currently doing is manually keyframing the line about every 30 frames, but I'm thinking there has to be a faster/easier way to do this. So far I've keyframed about 1 minute, and have about 8 minutes & 12,000 more keyframes to go.

Problem solved.
I decided to trash the project file that I've been struggling with, sending a lot of hours down the drain, but it felt like the right thing to do. Then:
First, I opened a new project.
Second, I imported the large image file.
Third, I opened a new layer.
Fourth, I grouped the two layers.
Fifth, I drew my line on the grouped layer
Sixth, I keyframed the group with the desired motion.
Now the movement of both layers are in sync. It was quick & easy.
Where I went wrong, which lead to starting this thread, is that after I imported the large layer, I keyframed the motion I wanted.
Next I opened line layer, drew the line, and keyframed it.
Then I grouped the two layers. So, even tho the layers were grouped, each was separately keyed, which caused the undesired result.
So, Kyriakos, I did in fact have a grouping problem. Not that I didn't group as you supposed, but that I grouped too late in the process -- which in turn lead to my keying the two layers individually, rather than as a group. Anyway, that's close enough for me. I'll give you credit for the solution.

Similar Messages

  • Synchronizing motion for two layers

    Ok. I'm more than a little frustrated trying to get this to work. Any help would be most appreciated.
    I've got two clips. One is a still image serving as my background. the other is an illustration of a man standing stationary in the foreground. The layer of the man is on top of the background layer.
    My problem occurs when I zoom in on the standing man. It is extremely difficult to get the scale and key frames for both layers to sync up. That is it is proving difficult to make both the man and background appear to be inhabiting the same "space" rather than independent layers.
    Is there a way to lock the two layers together so that changes made to the motion tabs in the scale and center of one layer are the same for both? I'm sure there is but just can't seen to figure it out on my own.
    Thanks,
    Greg

    Hi -
    On the bottom left corner of the timeline, press Toggle Clip Keyframes or type Option-T.
    This will display the keyframes for a clip on the timeline. The blue line is the motion keyframes, the green is any keyframes you have applied to filters.
    With those keyframes now displaying on the timeline, the Playhead will snap to them if you have snapping turned on (type "n") and it should make it easy for you to place you keyframes to match keyframes you have placed on other clips.
    MtD

  • Using the content aware move tool, I want to move an item from one image to another image but it does not seem to work. I think I need two layers on one document so how do I do this

    Using the content aware move tool, I want to move an item from one image to another image but it does not seem to work. I think I need two layers on one document so how do I do this

    Good day!
    A simple Paste does not work for you?
    It should place the clipboard content as a new Layer which you can then move around.
    If there is any chance that the elements need to be scaled, rotated etc. I would prefer to place them as Smart Objects (File > Place …) and do the masking that is specific to the images themselves in those.
    Regards,
    Pfaffenbichler

  • To move an image behind a part of our "first picture", as if two layers are overlapped !

    Hello,
    I'm french, and I already posted a question a few times ago, on this forum and I was very satisfied with your quick answers, so I come ask again a little question...
    It's about Photoshop CS6 and I would like to know if it's possible to move an image behind a part of our "first picture", as if two layers are overlapped (the first picture and the picture that I add !) and one layer was partially hidden by the first !
    It's quite complicated to understand and explain... I know ... and I'm very sorry ...
    Example: If I want to move a book behind furniture (which is located in the center of my "background" or "first picture", surrounded by a nonuniform setting !), so to see only part of the book and the other part is hidden by the furniture ! Like the picture below (where we see that the "Coraya" is behind the desk !!) :
    I thank you in advance for all your quick responses and I congratulate you in advance to your understanding and your professionalism about Photoshop !
    Makarsh

    Makarsh,
    One easy way to accomplish that look is to add a Layer Mask to the "book" Layer, in the shape of the furniture, that you wish to hide part of the book behind.
    That would probably be easier by creating a Selection for that part of the furniture, with the Selection Tool of your choice. I personally like to do such work with the Pen Tool (creates a Path), as it is very exact. However, if one is not comfortable with the Pen Tool and Paths, then the Lasso (perhaps constraining it for straight lines) might be easier. If you do use the Pen Tool, when complete, go to the Paths Panel, and from the little arrow in the top-right, choose Make Selection.
    Then, with that Selection still active, go to the book Layer, and click on the Create Layer Mask icon, at the bottom of the Layers Panel.
    If necessary, you can do touchup to that Layer Mask, after it has been created.
    Good luck, and hope that helps.
    Hunt

  • Is it possible to perform Clone Stamping on two layers simultaneously?

    Hi,
    I have two layers, one is a colour stone texture, another is a black and white heightmap of the same image.
    I want to repair a few areas, but it's essential that the two layers stay in sync, i.e. whatever cloning is done to the colour layer must be the same on the heightmap layer.
    Neither layer contains any transparency.
    If not is there any other way I can achieve the same end result?
    Thanks
    Steve

    I don’t think this is easily achieved as Clone Stamping does not record as an Action.
    One rather clumsy work-around would be to work with Smart Objects –
    • convert one Layer to a SO
    • copy, move and mask that to cover a blemish
    • repeat as necessary
    Then
    • duplicate the file and
    • replace the SO’s content with the other Layer and update
    This would be reasonable only with a very small number of corrections and/or smallish files, though.

  • Mask the difference between two layers

    Hello everyone. I have a problem that I feel should be solvable, but I just can't figure it out.
    I have three elements:
    Static image of the background of a gym
    Full-body video of a person doing an exercise (they take up the center 1/5th of the frame) with the same background
    Title text
    The effect I'd like is so that the title text (large, bold font that spans the width of the window) is masked out by the person, in a manner similar to how magazines' titles will be masked (examples here, here, and here).
    When I put the two layers on top of each other and set the top's blend mode to Difference, I do indeed only see the person (albeit in psychedelic colors). I just can't figure out how to use that as a mask to hide those parts of the title.
    Exercising person:
    Background:

    The image is a combination of a few slight movements
    When there is movement, the two images can't easily be used with a difference matte. I suppose if you could match them up perfectly, you could crop out the edges.
    I'm not sure what you mean by different format - surely a still image and video are going to be different formats?
    One is a JPG and one is a PNG. It looks like the tripod moved.
    In any case, if it works OK for you, then great.
    If you set it up right, then you could probably use levels to crush the blacks and lighten up anything else, turning it in to a matte. But since his hair looks black, it complicates things a bit.

  • Synchronizing accounts on two computers?

    I have a desktop and laptop and I would like to keep the Documents folder synchronized between the two. Is this possible? What about syncing Mail and its mailboxes?
    thanks
    Ken
    flat-panel imac & PM G4 w/ Sonnet 800MHz card   Mac OS X (10.4.3)  

    You can do it with iSync, but that requires a .Mac account. See http://www.apple.com/dotmac/ for details.

  • Two layers with "dissolve"

    I'm on CS3 with OS10.4.11
    I have a photoshop document where I had two layers each with a shape of solid colour. In the top layer I had blend mode "Dissolve" and then reduced its opacity to get the speckled/distressed look.
    If I merge the two layers or flatten the document the end result is softer and blurry; it loses the sharpness which is visible in the original format.
    Is there any way I can flatten it and keep the sharpness?

    View at 100% (View>Actual Pixels) to see how the Dissolve Blend Mode will look when flattened.

  • I´m having problems with a simple synchronized move

    When using the "flex_start" function with the parameter AxisOrVectorSpace
    set as 0X00 (MULTIPLE_AXES), is it possible that some axes move ahead of the others or does the Flex Software secure the synchronization?
    I use motion controler 7344.

    Please allow me to clarify my previous statement. Vector spaces greatly simplify synchronized movement across multiple axes because the generated trajectory is done on the vector. It is possible to start and end the moves of multiple axes without using a vector space; however, you will have to use a multi-start and then calculate the appropriate move constraints for each axis that brings it to the end of travel with the other axes.
    The FlexMotion software will attempt to adhere to the calculated trajectory for each axis, and assuming these parameters are properly set such that all axes arrive at their end of travel at the same time, the axes should maintain synchronization. Factors such as one axis facing a significantly greater load than the others m
    ay cause that axis to temporarily get out of sync, but this should only be for one PID loop update period. If you are using a closed-loop stepper system and your motor is missing steps that axis may deviate from its calculated trajectory, and the FlexMotion software will try to compensate for this at the end of the movement by doing up to three pull-in moves.
    I hope this better answers your question. Best wishes!

  • Dynamically parent two layers together with expressions

    In AECS6, I have an Image Layer that is using the layer directly above as a Alpha Matte. I want both layers to scale at the same time, unless a certain condition is setup where I only want the matte to scale - leaving the image at original size. Normally I'd just make a new pair of layers and only scale that, but ALL my layers are dynamically linked to eachother for another more complex effect.
    I wrote a simple expression to get the current scale of the matte layer (index-1), and then calculate what this particular layer's scale should be. But the scales don't match up just right because we are dealing with percentages... not absolute values. However, if I simply parent the two layers together, it of course works.
    So, I either need to find a way to turn the parenting on/off with code, like if THIS, then ParentTo(index-1), or I need to write my scaling script correctly.
    Fwiw- here's that script:
    if (index != 15)) {
      // get the original and current scale value of the layer just above, and calculate an offset
              sOrig = thisComp.layer(index-1).transform.scale.valueAtTime(0)[0];
              sNow = thisComp.layer(index-1).transform.scale[0];
              sOffset = value[0] + (sNow - sOrig);
              [sOffset,sOffset]
    } else {
    // this is layer index 15, don't do anything with it
              value;
    Appreciate the help!

    Not sure what you are getting at, but the actual value ranges do not really matter in an expression. It's more likely you are eitehr having an anchor point issue or your keyframes are simply not linear. in the latter case of course a simple subtraction would not give the correct result because values would be exponential/logarithmic/whatever. You'd have to use much more complex code then to accumulate all values over time such as the great Dan Ebberts explains on his website:
    http://www.motionscript.com/articles/speed-control.html
    Anyway, I suppose you could always use effects rather than native transforms to scale your matte while still leaving it parented. Y' know, there is a Transform effect... That would be much simpler and also avoid the expression evaluation bogging down your system...
    Mylenium

  • Photomerging two layers?

    Hello,
    Is there a way to photomerge two layers instead of two files in photoshop?
    Thanks.

    You need to put the targets over the mouth and eyes in both pictures and click Align. However, if there is a big difference in angle in the originals, it's just going to look weird. Group shot is meant for situations where everything in both photos is the same except maybe someone has their eyes closed in one photo and not in another, not for taking two completely different photos and combining them.

  • How to create QT movie with two subtitle streams

    What would be the best (and fast) way to create a QT movie (or mpeg-4) to convert the DVD project created in DVDSP with two subtitle streams?
    Both subtitle streams were created by importing TIFF files with the corresponding timing file. One stream is for the dialogue (Subtitle Track 1 non-forced) and the other stream is for the onscreen text translation (Sub Track 2 forced). There are times when the T/C of the two tracks overlap, as someone is talking while an onscreen text is displayed.
    Is it possible to create a QT movie or any other video format with both streams showing?
    Thank you for your help.

    I have discovered that I can merge two QT movies (Each movie with one stream of subtitles/TIFF files) by copying all tracks from one movie to the other. Now I have a QT movie with two subtitle streams. Each subtitle stream is in a video track as animation.
    Thank you for your help.

  • Speed up intersection of two layers

    Hi,
    I'm trying to make an intersection of two layers work faster. First I create an empty table:
    create table shptmp as
    select sdo_geom.sdo_intersection(t1.geom, t2.geom, 0.005) intersect_geom,
    t1.id, t2.id from SHPTABLE1 t1, SHPTABLE t2
    where rownum < 1;
    Then I fill this table with intersection-polygons:
    insert into shptmp2
    select c.intersect_geom, id1, id2 FROM
    (SELECT /*+ ORDERED */ sdo_geom.sdo_intersection(t1.geom, t2.geom, 0.005) intersect_geom, t1.id id1, t2.id id2 from SHPTABLE1 t1, SHPTABLE2 t2
    where SDO_RELATE(t2.geom, t1.geom, 'mask=ANYINTERACT querytype=JOIN') = 'TRUE') c
    WHERE SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT(c.intersect_geom, 0.005) = 'TRUE';
    SHPTABLE1 and SHPTABLE2 both contain about 2000 polygons and multipolygons, and they have R-tree indexes. My resulting table shptmp contains about 9000 records when the query has finished. Anyway, it takes more than an hour to run the intersect-query. Is this a normal response-time for a spatial overlay of two layers? When I do something like a Union in ESRI ArcMap it only takes seconds or maybe minutes. Any ideas how to speed up this query? By the way my Oracle version is 9.2.0.1.0.
    Thanks,
    Anja

    Anja,
    An hour seems too long. Is there a spatial index defined on the temp table?
    Could you share your dataset so we can try to recreate the issue?
    I tried the following on a Linux server running Oracle 10.1.0.4
    SQL> select count(1) from map_airports_us ;
    COUNT(1)
    2346
    Elapsed: 00:00:00.01
    SQL> select count(1) from MAP_ADMIN_AREA4_US ;
    COUNT(1)
    28835
    Elapsed: 00:00:00.02
    SQL> select distinct t.geometry.sdo_gtype from map_airports_us t ;
    GEOMETRY.SDO_GTYPE
    2003
    2007
    SQL>
    1 select count(1) from
    2 (
    3 select /*+ ORDERED */ sdo_geom.sdo_intersection(a.geometry, b.geometry, 0.05) from
    4 table (sdo_join('MAP_AIRPORTS_US', 'GEOMETRY', 'MAP_ADMIN_AREA4_US',
    5 'GEOMETRY', 'mask=ANYINTERACT')) c, map_airports_us b, MAP_ADMIN_AREA4_US a
    6 where b.rowid = c.rowid1 and a.rowid = c.rowid2
    7* )
    SQL> /
    COUNT(1)
    2097
    Elapsed: 00:01:33.17
    SQL>
    1 select count(1) from
    2 (
    3 select /*+ ORDERED */ sdo_geom.sdo_intersection(a.geometry, b.geometry, 0.05) from
    4 map_airports_us b, MAP_ADMIN_AREA4_US a
    5 where sdo_relate(a.geometry, b.geometry, 'mask=anyinteract querytype=window')='TRUE'
    6* )
    SQL>
    SQL> /
    COUNT(1)
    2097
    Elapsed: 00:02:00.64
    SQL> SQL> create table tempint (id1 number, id2 number,
    2 geometry sdo_geometry);
    Table created.
    Elapsed: 00:00:01.01
    SQL>
    SQL> insert into tempint
    2 select /*+ ORDERED */ b.polygon_id, a.polygon_id,
    3 sdo_geom.sdo_intersection(a.geometry, b.geometry, 0.05) geometry
    4 from table (sdo_join('MAP_AIRPORTS_US', 'GEOMETRY', 'MAP_ADMIN_AREA4_US',
    5 'GEOMETRY', 'mask=ANYINTERACT')) c, map_airports_us b, MAP_ADMIN_AREA4_US a
    6 where b.rowid = c.rowid1 and a.rowid = c.rowid2 ;
    2097 rows created.
    Elapsed: 00:02:22.63
    SQL>
    So 2 minutes seems more like the right figure.
    Jayant

  • AS2 How to make a button that moves every two seconds

    How can I make a button that moves every two seconds by itself in ActionScript2?
    At the moment, I have to use the on(press) command, but what I really need is for the button to be able to move randomly by itself every two seconds. For example:
    (insert the code here) {
         bc1._x = random(250)
         bc1._y = random(250)
    Thanks!

    You can use the setInterval function to have a function repeated for specific time intervals.  Here is a link to a tutorial that explains how to use it...
    http://www.republicofcode.com/tutorials/flash/setinterval/

  • Button photoshop, only two layers?

    Hey.
    I'm iMac21".
    Putting a photoshop button only allows me to use two layers, but I want to use three, one for stationary button, one for and one for active rollover. But do not let me.

    Hi Pablo,
    I'm not sure what the behavior is in your case but normally the layers should be filled in this order if not all states are selected: http://screencasteu.worldsecuresystems.com/Cristi/2012-06-16_1052.swf
    From left to right I set all four states and the last one has one state selected, the other states are selected automatically, because they need to be filled.
    Use PM and send me a link where I can download you file to test it locally if needed.
    Cheers,
    Cristian

Maybe you are looking for