problem with Camera Tracking

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
touchdown
Posts: 108
Joined: Sat Oct 28, 2006 3:59 am

problem with Camera Tracking

Post by touchdown »

I've got a scene that uses the Camera Track feature to pan left across the scene.

Along the bottom of the scene I have a rectangle shape that has an image texture applied as "effect 2".

The shape shows to be moving out of the frame properly when I track, but the rendered clip shows the texture remaining stationary even though the rectangle shape moves on.

Does anyone know what might cause this? I've checked keyframes and can't seem to find anything.
User avatar
Víctor Paredes
Site Admin
Posts: 5815
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

ouch. i was playing in AS, but there is no problem like that in my test (the only one problem is you can't apply some of the other effects when you have an image texture).
can you upload your files to see them?
touchdown
Posts: 108
Joined: Sat Oct 28, 2006 3:59 am

Post by touchdown »

I'll try.

I'm going to delete that layer shape and add a new one to recreate the shape + texture. Maybe a glitch? Need to start somewhere, I'm out of check boxes and buttons.

:D
touchdown
Posts: 108
Joined: Sat Oct 28, 2006 3:59 am

Post by touchdown »

Nope. The new shape did the same thing.

I opened a new file and duplicated the shape + texture, and it camera panned just fine.

This shape is in a group with about 6 other things. They're fine.

It does the same thing if I track the layer--not just when tracking with the Camera.
User avatar
Víctor Paredes
Site Admin
Posts: 5815
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

i was thinking, maybe would be better you use just an image layer and not a shape with an image inside. maybe.
User avatar
slowtiger
Posts: 6246
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post by slowtiger »

I did some tests about this, here are the results:

Setup: an image layer as a background, several vector layers on top, nothing moves. A simple camera pan sideways was teh only animation.

I put several images into the shapes as image textures.
Effect 1, Image texture, tiled: texture pans
Effect 1, Image texture, stretched: texture pans
Effect 2, Image texture, tiled: texture pans
Effect 2, Image texture, stretched: texture stays in place, but starts to move somwhere in the second half of the clip

This surely is a bug, whatever behaviour it is, it should remain consistant and not change randomly somewhere.

These results were more or less what I expected, because I combined that a tiled image must have an origin somewhere, and further, that it would make sense for effects like a paper structure not to move with everything else.

I have to test a bit more in detail, because I suspect it makes a difference which size the image for the texture has. I will prepare some small images, definitely smaller than my Moho project, and try the same settings. Further I should test what happens with shapes in movement, and this in the two versions of layer animation and bone animation. Stay tuned ...
User avatar
slowtiger
Posts: 6246
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Image Texture Test 2

Post by slowtiger »

This time we did some bone animation. The setup was like in test #1, but each vector layer was layer-bound to its bone, in a way that I could do a translation as well as a rotation in one move. Results:

Effect 1, Image texture, tiled: texture doesn't rotate, but moves at random.
Effect 1, Image texture, stretched: texture doesn't rotate, stays in place, but changes size proportionally to the enclosing rectangle of the rotating shape.
Effect 2, Image texture, tiled: texture doesn't rotate, but moves at random.
Effect 2, Image texture, stretched: texture doesn't rotate, stays in place, doesn't changes size because its shape is a circle.

http://www.slowtiger.de/examples/texturetest2.mov
touchdown
Posts: 108
Joined: Sat Oct 28, 2006 3:59 am

Post by touchdown »

Yeah, Selgin and I worked on this last night.

Stretching seemed to work for my purposes. I might have to consider just using the image instead. either way should work for the purposes.

The tiled texture did seem to work fine until it had other vector layers above it. The texture file was less than 300k btw.

Thanks for all the effort there too. That was a lot of testing.
User avatar
Víctor Paredes
Site Admin
Posts: 5815
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

i think if this effects are not working, the best provisory solution is create a image layer and mask it with a vector layer. so, you still can apply the other effects (as soft edge) to the shape, and move it with bones and all.
Post Reply