AE ENHANCERS

Expressions/Scripts/Presets
It is currently Sat Apr 19, 2014 7:40 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: turning layers in blanck and white according to the Z positi
PostPosted: Wed Feb 11, 2009 6:53 am 
Offline

Joined: Wed Feb 11, 2009 4:26 am
Posts: 1
Hello,

I'd like to transform all the comp of a projet in render where the layers are white when they're close to the camera and black when they're far away (with all the gray scale between). It's working if I'm using the tint filter and ajusting the parameters by hand but I'm sure that it's possible to do it simply with expression ou script. May be just something that could change the tint according the Z position (from white to black) or ajusting the transparency (in this case I could change the background to black).

Does someone as a solution ?

thanks (and sorry for my poor english :-) )

Olivier


Top
 Profile  
 
 Post subject: Re: turning layers in blanck and white according to the Z positi
PostPosted: Wed Feb 11, 2009 7:13 pm 
Offline

Joined: Tue Feb 03, 2009 6:30 pm
Posts: 84
Location: Paris - France
A few weeks ago, Andrew Kramer posted a presset on his website that does what you want.

http://www.videocopilot.net/tutorials/3d_falloff/

But the basic idea would be to create a simple expression that gets the distance of your layers anchor points to the camera, and then do a linear between your min-max values to 0-100 value of your tint.

_________________
S├ębastien
http://www.yenaphe.info


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group