Page 1 of 1

problem with Camera Tracking

Posted: Sun Nov 05, 2006 4:48 am
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.

Posted: Sun Nov 05, 2006 5:35 am
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?

Posted: Sun Nov 05, 2006 5:37 am
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

Posted: Sun Nov 05, 2006 5:38 am
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.

Posted: Sun Nov 05, 2006 6:30 am
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.

Posted: Sun Nov 05, 2006 12:43 pm
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 ...

Image Texture Test 2

Posted: Sun Nov 05, 2006 1:28 pm
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

Posted: Sun Nov 05, 2006 3:43 pm
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.

Posted: Sun Nov 05, 2006 8:38 pm
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.