Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions particular 3d problem

  • particular 3d problem

    Posted by Marcel Ooms on September 11, 2010 at 5:02 pm

    Hi, I’ve been working on some kind of magic beam with particular. I want 1 main beam and a few going around it.

    In the main beam I have done anything special, just keyframed the emitterZ and than created a camera and rotated it 90 so you see a streak.
    The thing that is going around is again just a particular streak with no velocity. I used videocopilot’s 3d orbit to let a null go around in a circle and pigwipped the xy emitter to this null. Everything works as it should work.

    Only when I view everything from the side AfterEffects doesn’t recognize the position values of particular, only the values of the layers. I understand a bit that it’s hard because you don’t have to set a particular layer to 3d.

    so my question, is there a way to fix this and let after effects see the real x,y and especially the z position.

    see picture, the main streak does go through the middle but when you move it from the side the red layer will always be in front of the streak

    I wonder if there even is a solution, but thank in advance anyway

    Radius = effect("Radius")("Slider");
    Speed = effect("Speed")("Slider");
    RotationOffset = effect("Rotation Offset")("Angle");

    //

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

    Marcel Ooms replied 15 years, 8 months ago 2 Members · 3 Replies
  • 3 Replies
  • Jamie Bradshaw

    September 12, 2010 at 11:59 am

    Hi Marcel.

    I’m guessing that the issue here is not the expression but the way Particular works.

    Which version of Particular do you have?

    Do you have the Particular effects on two separate layers or on just one?

    Are you aware of the Obscuration Layer under the Visibility section on the Particular effect?

    Cheers,
    Jamie

    JimJam•Graphics
    https://www.jimjamgraphics.com/

  • Marcel Ooms

    September 12, 2010 at 12:47 pm

    First of all, thanks for your reply

    I am using particular 2.0
    I have the two different particulars on two different layers. I don’t think it is possible to have more than 1 particular per layer.
    Of did not think of the Obscuration layer, but I tried it and nothing happened.

    I still think that you are right that it should be done with the obscuration layer. The problem is that a obsucation layer should always be 3d and if you make a particular layer 3d it becomes flat.

    nice try thou, again a step closer

  • Marcel Ooms

    September 12, 2010 at 12:54 pm

    First of all, thanks for your reply

    I am using particular 2.0
    I have the two different particulars on two different layers. I don’t think it is possible to have more than 1 particular per layer.
    Of did not think of the Obscuration layer, but I tried it and nothing happened.

    I think I now know what the problem is. Although particular is a 3d plugin, you put all the particles on a layer, a layer is always 2d (even if you put it to 3d mode it is still a flat piece) So all the particles, how different in zspace are all on the same 2d layer. So if you move on layer +1 or -1 in z space I get that one layer is fully on top over the other one.

    EDIT: I found the solution thanks to a tut. https://allbetsareoff.com/tutorials/rgtv-ep-15-better-compositing-with-particles/
    he has the same problem and I’ve used the same technique to solve it.
    Thank a lot anyway

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy