Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: HomeForumBasicsExpressionsTutorialsPodcastsMotion GraphicsTrainingCinema 4DFAQ

Particular Halo

Cow Forums : Adobe After Effects Expressions

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>
Particular Halo
by Mark Poole on Jan 13, 2009 at 5:35:42 pm

Particular Halo
Here’s the situation:

I am creating an effect for a glowing halo to circle an actor’s head (shot against greenscreen). She moves about a bit.

The concept is a particle effect (Trapcode Particular) with the particle at birth being at it’s largest size, then a rapid falloff to pencil thin. The particles should form a circular trail in the form of a halo. It should look like an electron circling an atom and leaving a glowing tail. The particles will have a slight glow applied. I’ll kill the particles off after one rotation of the emitter. It's ok if the head moves and the particles move away from the head (slight inherit motion)

I will manually track the halo to the head (the shot is only 2 seconds long). I am thinking that I can use the keyed plate as a 3D layer and have the 3d particles on the backside of her head masked out.

The math and mechanics is what is dogging me. I’d like a mathematical solution, since I will be using the effect on other shots, as well.

My idea is to link the Particular effect to a null, rotate the null, and translate the null about to move the entire setup about.

However, when I pickwhip the location and rotation to the null, it attaches to the nulls rotation point. So when I rotate the null, Particular rotates in place. I then tried a lame x+100, which did move it out, but it still rotates in place.

Any hints?

Thanks in advance!

Mark E. Poole
Director
Anubis Digital Studios


Respond to this post   •   Return to posts index

Re: Particular Halo
by Victor Nash on Jan 13, 2009 at 11:12:19 pm

r = 50; //radius (in pixels)

f = 1; //orbits per second

angle = time*Math.PI*2*f;
value + [Math.sin(angle)*r, -Math.cos(angle)*r]



I haven't played with using Particular yet, however you could use 3d Stroke.

Just enable the taper and adjust the Start Thickness to 0 and End to 100. Perhaps adjust the end to a bit less then 100 so it doesn't 'connect' as much. Check Loop, then animate the offset. You could also enable the Comp Camera and parent the camera to the Null.. Then you have complete control.

I'll play with Particular tonight and see. This is me off the top of my head..

Also, here is nifty Orbiting Expression

Respond to this post   •   Return to posts index

Re: Particular Halo
by Brendan McCullough on Jan 13, 2009 at 11:19:37 pm

I was playing with making the emitter do circles this morning, so maybe this will help you. I may be misunderstanding your problem.

I applied the following to the X/Y position property of particular:

width = <i>someValue</i>;
speed = <i>someOtherValue</i>;

value + Math.sin(time*speed)*width;


and then to the Z position property:

width = someValue;
speed = <i>someOtherValue</i>;

value + -Math.cos(time*speed)*width;


this is off the top of my head, so please forgive any errors.

Anyway, this will create a halo ring, then animate your null with the camera parented to it.



Respond to this post   •   Return to posts index


Re: Particular Halo
by Mark Poole on Jan 14, 2009 at 1:39:49 am

Thanks, both of you. I'll give it a try and let you know.



Respond to this post   •   Return to posts index

Re: Particular Halo
by Victor Nash on Jan 14, 2009 at 1:20:15 am

Radius = 100;

Speed = 200;
RotationOffset = 0;

center = [this_comp.width/2,this_comp.height/2,0];
radius = 200;
angle = time * Speed + RotationOffset;
x = Radius * Math.cos(degreesToRadians(angle));
z = Radius * Math.sin(degreesToRadians(angle));
add(center, [x,0,z]);


Here you go.. Try this. Make sure to pick whip the XYZ rotations to the Nulls, as well as the XY Position, and Z Position from Particular. Then Apply this expression the the Null's Position



Respond to this post   •   Return to posts index

Re: Particular Halo
by Trent Armstrong on Jan 14, 2009 at 6:26:39 pm

Instead of parenting the particular layer to the Null or person, you should use the pick whip. Pick whip the Y rotation of the Null into the Y rotation of the particle emitter.

I also think you should might be better off using 3D Stroke. You'll get better trails that way. Parent the 3D stroke layer to the girl, set the stroke up with the taper. Then adjust the rotation of stroke using one of the expressions provided by the other contributors in this thread.

Then duplicate the 3D Stroke layer and bring the end point close to the beginning point to get only one dot.

Trent



Trent Armstrong - Creative Cow Leader
http://www.dallasaeug.com

Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]