Perspective trouble

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Perspective trouble

Post by sbtamu »

I am having trouble with perspectives when I use image textures. I have a cabinet view of a building and the texture I use(brick wall) for the front is OK and I can scale it fine. But on the side wall the texture does not have any perspective. I used GIMP to add perspective to the texture but when I do this and import to AS I can see the alpha layer if I use tile(witch I need to scale the image). If I use "don't repeat" the bricks fit fine but i cant scale them down.

If you need snap shots of what I am talking about I will upload them.

thanks :D
Sorry for bad animation

http://www.youtube.com/user/sbtamu
User avatar
slowtiger
Posts: 6257
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post by slowtiger »

If a texture in AS has to appear in perspective, you need to fill an undistorted shape first and then tilt the layer (rotate around x or y).
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

I have tried everything I can think of but the texture is acting like it's masked. I just can't seem to get the bricks to narrow as they reach the horizon. And if use gimp to add perspective to the texture I lose the ability to scale the texture.

1 is the closest as I can get but as you can see the brick sizes are all wrong.

2 and 3 are the right brick sizes but the perspective is wrong.

4 and 5 are tile and don't repeat.


Image
Sorry for bad animation

http://www.youtube.com/user/sbtamu
User avatar
Mikdog
Posts: 1901
Joined: Tue Jul 05, 2005 3:51 pm
Location: South Africa
Contact:

Post by Mikdog »

I'd use just the PNG images imported directly.

Going with your '1' example, the front brick looks good. Then duplicate that, and duplicate it again. Put the two duplicates in a group/bone layer. Move the second duplicate over to the right so you have double the width of the wall in a group layer.

Move the group layer over to the right so that it looks like you have 3 wall panels all neatly lined up, just touching.

Set the origin of the group layer where the front wall and the first wall of the group layer touch.

Use the perspective tool to 'push' the group layer back around the x axis. It should rotate around the correct pivot. So you're really making a 3D-ish object.
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

Ok thanks, I'll try that
Sorry for bad animation

http://www.youtube.com/user/sbtamu
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

Never mind.

Debut doesn't have perspective tool.

I will buy Pro today.
Sorry for bad animation

http://www.youtube.com/user/sbtamu
Post Reply