Can camera follow a mask ?

Compositing and Motion Graphics

Can camera follow a mask ?

Postby HamidSHS on 08/10/2008, 12:42 am

HI
I really wonder if camera can follow a mask path or no ! :roll:
so is there any solution to do this in AE :?:
Thanks ;)
Imam ALI (as) said: "He who has even a little arrogance in his heart will not be allowed to enter Heaven."
Hamid From Iran
Http://WWW.After-Effects.Blogfa.Com
HamidSHS
 
Posts: 30
Joined: 08/1/2008, 7:22 pm
Location: Iran-Mashhad

Re: Can camera follow a mask ?

Postby Motionworks on 08/10/2008, 2:08 am

You can copy and paste the mask into the Camera Position property.

JD
John Dickinson
Broadcast Designer / Adobe Ambassador / Red Giant & Zaxwerks Demo Artist
Motionworks
Motionworks
 
Posts: 158
Joined: 08/1/2008, 8:58 pm
Location: Australia

Re: Can camera follow a mask ?

Postby Dan on 08/10/2008, 6:21 pm

Motionworks wrote:You can copy and paste the mask into the Camera Position property.

JD


Could you just pickwhip the xyz from the mask to the camera?

Dan
AKA Triphazard
If you ever need help with anything having to do with Macs, don't ask me... Hi, i'm Dan, and i'm a PC
Dan
VC Moderator
VC Moderator
 
Posts: 853
Joined: 08/3/2008, 10:04 am
Location: London, UK

Re: Can camera follow a mask ?

Postby lowmankind on 08/10/2008, 9:32 pm

Triphazard wrote:Could you just pickwhip the xyz from the mask to the camera?

only one way to find out!
lowmankind
 
Posts: 63
Joined: 08/1/2008, 7:54 pm
Location: Australia
Twitter: tomhauville

Re: Can camera follow a mask ?

Postby 3CardMonte on 08/11/2008, 6:21 am

are you asking if a camera can follow a moving MASK?
Or are you asking if the camera can follow a PATH in general that you draw yourself?

They're very different things, and they're both possible
Dennis Duty Jr.
Editing/Motion Graphics
http://www.changestoyesterday.com
3CardMonte
 
Posts: 145
Joined: 08/1/2008, 6:31 pm

Re: Can camera follow a mask ?

Postby Dan on 08/11/2008, 7:58 am

3CardMonte wrote: if the camera can follow a PATH in general that you draw yourself?


i wouldnt mind knowing how to do that. Might be good for making a set path rather than animating a null.

Dan
AKA Triphazard
If you ever need help with anything having to do with Macs, don't ask me... Hi, i'm Dan, and i'm a PC
Dan
VC Moderator
VC Moderator
 
Posts: 853
Joined: 08/3/2008, 10:04 am
Location: London, UK

Re: Can camera follow a mask ?

Postby Glowing Amraam on 08/11/2008, 11:26 am

3CardMonte wrote:are you asking if a camera can follow a moving MASK?
Or are you asking if the camera can follow a PATH in general that you draw yourself?

They're very different things, and they're both possible


Wait, so i can pretty much draw a path using the mask, and have the camera fly along that path?? ... Sounds very interesting, and i didnt know about this.

In simple steps, how would one go about doing it?
Official Eagle Dynamics Movie Producer
Glowing Amraam
 
Posts: 28
Joined: 08/1/2008, 7:05 pm

Re: Can camera follow a mask ?

Postby europa on 08/11/2008, 11:41 am

- Select the layer that has the mask in it and press M
- Click on Mask Shape and go Edit->Copy (CTRL+C)
- Select the camera layer and press P
- Click on Position and go Edit->Paste (CTRL+V)

That should do, if I'm not mistaken.
Alessandro De Micheli / Video Editor / VFX / Motion Graphics / I/T and security
obiettiva produzioni - Rome, Italy / http://www.obiettiva.it
Not dead yet.
europa
VC Moderator
VC Moderator
 
Posts: 440
Joined: 08/2/2008, 4:06 am
Location: Rome, Italy

Re: Can camera follow a mask ?

Postby cameronprudames on 08/11/2008, 11:50 am

cameronprudames
 
Posts: 99
Joined: 08/2/2008, 11:59 am
Location: leeds, uk


Re: Can camera follow a mask ?

Postby HamidSHS on 08/11/2008, 11:53 pm

Hi Every One
Thanks for all replies _Flower_
My question was : Is it possible that a camera follow the mask path ? means the positions value
I tested this : I copied the mask path.
Then pasted it in the position value of my camera.
But I just saw that my camera was going any where but where i wanted it to go :mrgreen:
because the mask path is just 2D and my camera was 3D .
after all , i found those tutorials that our friend [ cameronprudames ] put here , use full .
once again : Thanks Every ONE :D
Bye ;)
Imam ALI (as) said: "He who has even a little arrogance in his heart will not be allowed to enter Heaven."
Hamid From Iran
Http://WWW.After-Effects.Blogfa.Com
HamidSHS
 
Posts: 30
Joined: 08/1/2008, 7:22 pm
Location: Iran-Mashhad

Re: Can camera follow a mask ?

Postby cameronprudames on 08/12/2008, 12:49 am

Make the layer with the mask 3D.
cameronprudames
 
Posts: 99
Joined: 08/2/2008, 11:59 am
Location: leeds, uk

Re: Can camera follow a mask ?

Postby HamidSHS on 08/12/2008, 9:40 am

You mean I make the layer , 3D ?
OR make the ,MASK 3D :!: :!: :!:
How do you make a 3d mask ? :roll:
Thanks
Last edited by HamidSHS on 08/12/2008, 9:49 am, edited 1 time in total.
Imam ALI (as) said: "He who has even a little arrogance in his heart will not be allowed to enter Heaven."
Hamid From Iran
Http://WWW.After-Effects.Blogfa.Com
HamidSHS
 
Posts: 30
Joined: 08/1/2008, 7:22 pm
Location: Iran-Mashhad

Re: Can camera follow a mask ?

Postby UpNorthStudios on 08/12/2008, 9:44 am

HamidSHS wrote:You mean 3D layer?
OR 3D MASK :!: :!: :!:
How do you make a 3d mask ? :roll:
Thanks

The layer.
UpNorthStudios
 
Posts: 37
Joined: 08/8/2008, 12:09 pm

Re: Can camera follow a mask ?

Postby HamidSHS on 08/12/2008, 9:50 am

I made the layer , 3D
But also it didn't work ! :?
Any comments ?!
Imam ALI (as) said: "He who has even a little arrogance in his heart will not be allowed to enter Heaven."
Hamid From Iran
Http://WWW.After-Effects.Blogfa.Com
HamidSHS
 
Posts: 30
Joined: 08/1/2008, 7:22 pm
Location: Iran-Mashhad

Re: Can camera follow a mask ?

Postby djeddy on 08/12/2008, 10:10 am

copy the mask shape and paste it to both your camera's position(p) and source point(a).
djeddy
 
Posts: 37
Joined: 08/4/2008, 9:11 am

Re: Can camera follow a mask ?

Postby Psycho-Designs on 08/12/2008, 10:25 am

I think the problem is that the camera's position is 3D while the mask is 2D [even if you turn the layer to 3D]..
try this:
draw the mask path on a solid
create a null [2D].. copy the path and paste it in the null's position
take your camera's position .. alt+click on the stop watch to get the expression editor..
use pickwhip to get the Null's X position as the camera's X.. same thing for the Y

let me know if it works
Portfolio: Psycho-Designs.com
Youtube Channel: www.youtube.com/user/PsychoDesigns
Vimeo Channel: www.vimeo.com/psychodesigns
Psycho-Designs
 
Posts: 164
Joined: 08/1/2008, 10:13 pm
Location: Montreal, Canada

Re: Can camera follow a mask ?

Postby HamidSHS on 08/12/2008, 10:59 am

copy the mask shape and paste it to both your camera's position(p) and source point(a).

Thanks
But
Also didn't work ! :?
I think the problem is that the camera's position is 3D while the mask is 2D [even if you turn the layer to 3D]..
try this:
draw the mask path on a solid
create a null [2D].. copy the path and paste it in the null's position
take your camera's position .. alt+click on the stop watch to get the expression editor..
use pickwhip to get the Null's X position as the camera's X.. same thing for the Y

Hi
i tested that but also it didn't work ! :cry:
When we set the Null Position [X] Value to the camera [X] value and do this for [Y] , it just affect the null object .
not on our camera !
I Think Andrew should Help right NOW ! [Hey ,Where are you man ?! :D ]
Thanks again ;)
Imam ALI (as) said: "He who has even a little arrogance in his heart will not be allowed to enter Heaven."
Hamid From Iran
Http://WWW.After-Effects.Blogfa.Com
HamidSHS
 
Posts: 30
Joined: 08/1/2008, 7:22 pm
Location: Iran-Mashhad

Re: Can camera follow a mask ?

Postby Dan on 08/12/2008, 2:25 pm

HamidSHS wrote:I Think Andrew should Help right NOW ! [Hey ,Where are you man ?! :D ]
Thanks again ;)


He is a very busy man playing with helicopters.

Dan
AKA Triphazard
If you ever need help with anything having to do with Macs, don't ask me... Hi, i'm Dan, and i'm a PC
Dan
VC Moderator
VC Moderator
 
Posts: 853
Joined: 08/3/2008, 10:04 am
Location: London, UK

Re: Can camera follow a mask ?

Postby Psycho-Designs on 08/12/2008, 2:35 pm

HamidSHS wrote:Hi
i tested that but also it didn't work ! :cry:
When we set the Null Position [X] Value to the camera [X] value and do this for [Y] , it just affect the null object .
not on our camera !
I Think Andrew should Help right NOW ! [Hey ,Where are you man ?! :D ]
Thanks again ;)

You did it backwards.. just do it the other way around
Portfolio: Psycho-Designs.com
Youtube Channel: www.youtube.com/user/PsychoDesigns
Vimeo Channel: www.vimeo.com/psychodesigns
Psycho-Designs
 
Posts: 164
Joined: 08/1/2008, 10:13 pm
Location: Montreal, Canada

Re: Can camera follow a mask ?

Postby 3CardMonte on 08/12/2008, 5:51 pm

Or you can skip linking individual values and straight up parent the camera to the null, right?
Dennis Duty Jr.
Editing/Motion Graphics
http://www.changestoyesterday.com
3CardMonte
 
Posts: 145
Joined: 08/1/2008, 6:31 pm

Re: Can camera follow a mask ?

Postby Psycho-Designs on 08/12/2008, 5:57 pm

probably.. you have to test it to be sure.. the whole 3D and 2D thing.. sorry I can't try it myself because I don't have AE on this machine I'm using right now.. I'm trying to guess off the top of my head
Portfolio: Psycho-Designs.com
Youtube Channel: www.youtube.com/user/PsychoDesigns
Vimeo Channel: www.vimeo.com/psychodesigns
Psycho-Designs
 
Posts: 164
Joined: 08/1/2008, 10:13 pm
Location: Montreal, Canada

Re: Can camera follow a mask ?

Postby djeddy on 08/13/2008, 6:33 am

hey man,

looking at your question you are trying to follow a mask path...with all the suggestions i've been seeing i'm noticing there isnt any mention about orienting the camera to follow the mask's path.

is this what you are referring to?

if so, here is how you do it:
copy mask shape.
select position and paste path.
select point of interest and paste path.
then select camera layer.
right click and select transform.
go to auto orient.
and when the auto orientation window pops up..select orient along path.

if you select a custom view, you can see the camera following the path like a camera dollies on a track.

hope this helps you.
good luck.
e.
djeddy
 
Posts: 37
Joined: 08/4/2008, 9:11 am

Re: Can camera follow a mask ?

Postby HamidSHS on 08/13/2008, 10:21 am

He is a very busy man playing with helicopters.

:D
You did it backwards.. just do it the other way around

I tested it and still not work :?
Or you can skip linking individual values and straight up parent the camera to the null, right?

Yes
It's an other idea
let me test that ...
OK
I test that
When I Link the camera to the null object it moves the camera in a right way But it doesn't work for 3D Layers!
probably.. you have to test it to be sure..

Yes I tested That But...
orry I can't try it myself because I don't have AE on this machine I'm using right now.. I'm trying to guess off the top of my head

Thanks man ! :)
No Problem
hey man,

looking at your question you are trying to follow a mask path...with all the suggestions i've been seeing i'm noticing there isnt any mention about orienting the camera to follow the mask's path.

is this what you are referring to?

if so, here is how you do it:
copy mask shape.
select position and paste path.
select point of interest and paste path.
then select camera layer.
right click and select transform.
go to auto orient.
and when the auto orientation window pops up..select orient along path.

if you select a custom view, you can see the camera following the path like a camera dollies on a track.

hope this helps you.
good luck.
e.

Hi
Thanks
But when I turn on the auto orient option along path , its hard to control the camera !
When the camera follow the mask path , Suddenly it rotates 180^ ! :roll:
I This topic needs a video tutorial ! :D
Thanks All
Imam ALI (as) said: "He who has even a little arrogance in his heart will not be allowed to enter Heaven."
Hamid From Iran
Http://WWW.After-Effects.Blogfa.Com
HamidSHS
 
Posts: 30
Joined: 08/1/2008, 7:22 pm
Location: Iran-Mashhad

Re: Can camera follow a mask ?

Postby Psycho-Designs on 08/13/2008, 4:30 pm

I had a chance and tested it.. it pretty much works.. not sure if thats he effect you are looking for..

basically I drew the mask on the black layer.. pasted it into the position on the red null [I didn't use a real null because it was hard to see..
then I parented the camera to the red null..

file is attached [AE7]
Attachments
Camera following path.aep
(40.72 KiB) Downloaded 821 times
Portfolio: Psycho-Designs.com
Youtube Channel: www.youtube.com/user/PsychoDesigns
Vimeo Channel: www.vimeo.com/psychodesigns
Psycho-Designs
 
Posts: 164
Joined: 08/1/2008, 10:13 pm
Location: Montreal, Canada

Next

Return to After Effects