Return-Path: Received: from mail-yk0-f169.google.com ([209.85.160.169] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 5385565 for AE-List@media-motion.tv; Fri, 21 Feb 2014 04:50:44 +0100 Received: by mail-yk0-f169.google.com with SMTP id 142so4468904ykq.0 for ; Thu, 20 Feb 2014 19:50:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=eSx9jjZRjjbSsi02e1UbRwHjfCsoa1Hq/oe4Sur6D30=; b=Y8/eXSXrSGd4kHfGL58XjOmkzGPE/lOk+DVJITdLweCKmOJtCHP96Zjby5WM21XNh7 6Nm2ZfgkmycBl5+CgL1p7/Vmi3l/xG5lVumNGb/OxczlGerM//1SjiaPiQgXB39lUL+4 hh/+OxmgV9czzpz0ARiwJbNAJEdjBttrmyfbwtSugg0/tuawiQREON+Ybfp41lBgVhV7 WQ6sYNYKQpFu/sqJNe+bViFqB2016WUTWmTtwbSEUcfrvUPoPgutY/8FK5+GBmDqQKlZ +44aS7bMwsHTpbDMx2PVXInJYQluVR2xVuEv1iPb9zNcDFzMlwDAjJykDN10tpLTJFIH XCuw== X-Received: by 10.236.92.115 with SMTP id i79mr8100171yhf.62.1392954649244; Thu, 20 Feb 2014 19:50:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.160.6 with HTTP; Thu, 20 Feb 2014 19:50:09 -0800 (PST) In-Reply-To: References: From: Teddy Gage Date: Thu, 20 Feb 2014 22:50:09 -0500 Message-ID: Subject: Re: [AE] 3D ribbon with Particular To: After Effects Mail List Content-Type: multipart/alternative; boundary=20cf3011d9750e77e904f2e28783 --20cf3011d9750e77e904f2e28783 Content-Type: text/plain; charset=ISO-8859-1 Nice Chris, I'm gonna try that. Will definitely give sParticular a look as well. Would there be a way to integrate a 3D element from cineware into 3d AE layers? dealing with hundreds of photos mixed with video is much slower in cinema -TG On Thu, Feb 20, 2014 at 7:59 PM, Chris Zwar wrote: > Forget the obscuration layer, you need to create and use a Z depth map. I > do this a fair bit with particular within AE. > > There are 2 ways - you can buy a plugin (which is accurate but very slow) > or you can use an expression, which is fast and free but a bit of a pain > and not always 100% perfect (because the corners of a layer are a different > distance to camera than the centre). > > To do it in AE, you need to duplicate your main composition with all your > 3D layers and make a Z-depth version. Strip out everything that isn't a 3D > layer and isn't going to interact with the ribbon. Add the fill effect to > each layer, apply an expression to the colour to fill it with a shade of > grey based on the distance to the camera: > > > camp=thisComp.layer("Camera 1").toWorld([0,0,0]); // camera position // > lp=thisLayer.toWorld(thisLayer.anchorPoint); // layer position // > d=length(camp,lp); // distance from camera to layer // > > min=0; // this this number for white in particular // > max=20000; // use this number for black in particular // > > v=linear(d,min,max,1,0); // convert distance to value 0 - 1 // > > [v,v,v,1] > > > To keep things speedy I would pre-render the z depth map, import it and > use it with particular -use the same camera distance value in particular as > the min and max values in the expression. > > > > -Chris > -----Original Message----- > From: Teddy Gage [mailto:teddygage@gmail.com] > Sent: Friday, February 21, 2014 10:58 AM > To: 'After Effects Mail List' > Subject: [AE] 3D ribbon with Particular > > So I am working for a fashion brand asking for a 3D ribbon effect that > twists through fields of photos and video, going in front of and behind the > images. My first thought was 3D stroke, but it didn't work, as I need it to > have some shading from the comp lights. There's also the issue of painfully > retiming the stroke moves using percentages of completion, and not actually > having full "3D" control. (I can't draw a path that goes in all dimensions, > just postcard transforms on the 2D mask paths, AFAIK.) I may however use it > for some simple bending and repeating elements. > > My next idea is to use a particular 2.0 layer with 0 emit velocity, > and having the emitter tied to a null that I can then fully animate through > 3D space. So far this is working pretty well. Comp lights work, it is easy > to control. However I am having some of the classic issues with Particular > where it crosses other 3D objects in the scene and doesn't respect the > stacking order. The ribbon is either completely in front of or completely > behind the images. > > - now I could add 1 or 2 "obscuration layers" but it is not reasonable to > do this for over a hundred layers individually > > - Would I need to precomp the entire layout, collapse transformations, and > THEN use the precomp as an obscuring layer? Is this even possible? It would > be a difficult way to work, I'd need to have every element layed out in 3D > first. Doable, but I'd prefer to create both at once. > > - is there another solution I'm not thinking of? A good script for > Particular maybe? > > Thanks, > -TG > > > > -- > _____________________________ > VFX & Motion Graphic Artist > teddygage dot com > > > > +---End of message---+ > To unsubscribe send any message to > -- _____________________________ VFX & Motion Graphic Artist teddygage dot com --20cf3011d9750e77e904f2e28783 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Nice Chris, I'm gonna try that. Will definitely give s= Particular a look as well. Would there be a way to integrate a 3D element f= rom cineware into 3d AE layers? dealing with hundreds of photos mixed with = video is much slower in cinema =A0
-TG


On Thu, Feb 20, 2014 at 7:59 PM, Chris Zwar <chris@chriszwar.com&g= t; wrote:
Forget the obscuration layer, you need to cr= eate and use a Z depth map. =A0I do this a fair bit with particular within = AE.

There are 2 ways - you can buy a plugin (which is accurate but very slow) o= r you can use an expression, which is fast and free but a bit of a pain and= not always 100% perfect (because the corners of a layer are a different di= stance to camera than the centre).

To do it in AE, you need to duplicate your main composition with all your 3= D layers and make a Z-depth version. =A0Strip out everything that isn't= a 3D layer and isn't going to interact with the ribbon. =A0Add the fil= l effect to each layer, apply an expression to the colour to fill it with a= shade of grey based on the distance to the camera:


camp=3DthisComp.layer("Camera 1").toWorld([0,0,0]); // camera pos= ition //
lp=3DthisLayer.toWorld(thisLayer.anchorPoint); // layer position //
d=3Dlength(camp,lp); // distance from camera to layer //

min=3D0; // this this number for white in particular //
max=3D20000; // use this number for black in particular //

v=3Dlinear(d,min,max,1,0); // convert distance to value 0 - 1 //

[v,v,v,1]


To keep things speedy I would pre-render the z depth map, import it and use= it with particular -use the same camera distance value in particular as th= e min and max values in the expression.



-Chris
-----Original Message-----
From: Teddy Gage [mailto:teddygage@g= mail.com]
Sent: Friday, February 21, 2014 10:58 AM
To: 'After Effects Mail List'
Subject: [AE] 3D ribbon with Particular

=A0 =A0 =A0So I am working for a fashion brand asking for a 3D ribbon effec= t that
twists through fields of photos and video, going in front of and behind the=
images. My first thought was 3D stroke, but it didn't work, as I need i= t to
have some shading from the comp lights. There's also the issue of painf= ully
retiming the stroke moves using percentages of completion, and not actually=
having full "3D" control. (I can't draw a path that goes in a= ll dimensions,
just postcard transforms on the 2D mask paths, AFAIK.) I may however use it=
for some simple bending and repeating elements.

=A0 =A0 =A0My next idea is to use a particular 2.0 layer with 0 emit veloci= ty,
and having the emitter tied to a null that I can then fully animate through=
3D space. So far this is working pretty well. Comp lights work, it is easy<= br> to control. =A0However I am having some of the classic issues with Particul= ar
where it crosses other 3D objects in the scene and doesn't respect the<= br> stacking order. The ribbon is either completely in front of or completely behind the images.

- now I could add 1 or 2 "obscuration layers" but it is not reaso= nable to
do this for over a hundred layers individually

- Would I need to precomp the entire layout, collapse transformations, and<= br> THEN use the precomp as an obscuring layer? Is this even possible? It would=
be a difficult way to work, I'd need to have every element layed out in= 3D
first. Doable, but I'd prefer to create both at once.

- is there another solution I'm not thinking of? A good script for
Particular maybe?

Thanks,
-TG



--
_____________________________
VFX & Motion Graphic Artist
teddygage dot com



+---End of message---+
To unsubscribe send any message to <ae-list-off@media-motion.tv>



--
_____________________________
<= font style=3D"background-color:rgb(255,255,255)" color=3D"#6aa84f" size=3D"= 1" face=3D"georgia, serif">VFX & Motion Graphic Artist
teddygage dot com
--20cf3011d9750e77e904f2e28783--