3D perspective in AS 6

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Klay frog
Posts: 19
Joined: Sun Jan 10, 2010 3:36 am

3D perspective in AS 6

Post by Klay frog »

Using 2D objects, I have a simple golf course set up, the grass rotated by its x axis to be at ground level, and use camera tracking to zoom in on the golf hole. But if I put a tree behind it, this happens while zooming in:

Image

Evidently, the golf hole seems to float at first even though the tree is far away from the golf hole:

Image

A similar thing happens with a lake. Distant trees seem to float over it while zooming in. Is there any way to fix this?
:D
User avatar
slowtiger
Posts: 6245
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post by slowtiger »

You may have scaled the golf hole accidentially, instead of placing it on the Z axis. This happens easily if I select the wrong tool when building a scene. Just check all elements.

Of course you have made sure that none of the elements is animated ...

It is a good idea to duplicate the file, then reset all elements in there and place again from scratch.
User avatar
Mikdog
Posts: 1901
Joined: Tue Jul 05, 2005 3:51 pm
Location: South Africa
Contact:

Post by Mikdog »

as slow said make sure the hole is not animating bigger over time. Check if there's a keyframe.

Also make sure you're 'zooming' with not the 'zoom in' function (5) but the track camera. Press (4) on your keyboard to select it, then hold ALT and click drag to move the camera in and out of the scene and not just zoom with the lens. There's a big difference.

If this still doesn't solve your problem you could upload the file where it will be much easier for a forum member to check out what's cracking on the course.
User avatar
Tagirijus
Posts: 87
Joined: Fri May 14, 2010 11:31 am
Location: Germany
Contact:

Post by Tagirijus »

Maybe the functions in the preferences could help: there are options like "Layer order true distance" or something similar. Good luck. :)
User avatar
Klay frog
Posts: 19
Joined: Sun Jan 10, 2010 3:36 am

Post by Klay frog »

Thank you for replying. I've checked all the layers and except for the clouds-- which was intentional-- nothing is animating. I have been using camera tracking and the layers are set by true distance and depth. I've tried changing these settings too, but it still doesn't seem to fix the problem. In project settings, only 3D camera is enabled as everything seems to go haywire if I turn on "sort layers by depth."

I looked at one of the tutorials that deals with 3D planes, tutorial 5.8, and noticed it does the same thing if you add an object to it. It seems to float under or over the trees and doesn't seem leveled with the ground, even if it has the same y axis as the trees.

Here's the file: http://www.mediafire.com/?nmejz35dqqu
:D
Post Reply