Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D Question about a cloner and shader field

  • Question about a cloner and shader field

    Posted by Matt Rossi on August 7, 2024 at 11:38 pm

    Hi Everyone,

    My goal

    I’m trying to animate a cloned grid of particles so that, at random, particles start to vibrate increasingly strongly, and the ones that do so also rise to a specific height (to be specific, by 50 cm).

    My concept

    I’m trying to accomplish this by using two effectors: a random effector to randomize the y-position oscillation as well as a plain effector to affect the y-position height change. I‘ve applied the same shader field to both of these effectors so that the ones that vibrate faster also increase in y-position.

    The problem

    This starts to work as intended, but as soon as particles increase in y-position, they inevitably enter another part of the shader, so they often stop going up.

    My question

    I might not be using the right method, but what I think I want is for the cloned objects to somehow only remember the value of the shader at their initial positions, not change their properties based on where in the shader they move to.

    I‘d appreciate any advice you have on my overall approach and what I might do to accomplish this.

    Thanks!

    Matt

    Kouraib Abdmalek
    replied 1 year, 11 months ago
    2 Members · 5 Replies
  • 5 Replies
  • Kouraib Abdmalek

    August 8, 2024 at 8:25 am

    Hi Matt,

    Have you tried changing the Blending to Clip and the Opacity to zero in one of the shaders? You explained the issue logically and clearly, but still, if you could, it would be better to post the file here so we can check it for you, maybe someone can help. As for the objects maintaining their initial motion at their initial positions, not changing their properties based on where in the shader they move to, I don’t think this is possible except by using a script if that’s even possible, because this is somewhat contradicts the shader principle, I have not seen such a thing possible except with Linear Field.

    I hope this is helpful to you.

  • Matt Rossi

    August 8, 2024 at 11:31 am

    Hi Kouraib,

    Thanks for the fast reply. I’ll try the clip and zero opacity solution.

    Here is my project file. You’ll notice that when you scrub through the timeline, the particles that start as red do indeed begin to vibrate and increase in y value, but some of them transition to blue and stop vibrating when they enter that part of the shader. Hopefully this demonstrates my problem well 🙂

    Thanks

  • Kouraib Abdmalek

    August 9, 2024 at 5:30 am

    You’re welcome, Matt! I’ve played around with the shader blending and attached the modified file, please confirm if this is what you want so all that’s left now is to make the blue particles not vibrate.

  • Matt Rossi

    August 12, 2024 at 8:22 pm

    Sorry for the reply. This looks great! Thank you 🙂

  • Kouraib Abdmalek

    August 13, 2024 at 8:39 am

    I’m so glad this was helpful to you, Matt!

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