Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D Shader effector to keep rotating in the same direction?

  • Shader effector to keep rotating in the same direction?

    Posted by James Houston on March 2, 2019 at 3:27 pm

    Hello,
    I’m using a shader effector to rotate a grid of objects.
    The objects rotate one way 180 degrees (like a flip-clock) if the reference texture is black, and they rotate backwards to their original position if the texture is white. The objects are black on one side, and white on the other. This creates a giant binary pixel grid which acts like a screen.

    How do I keep the rotation direction the same throughout? They currently rotate, then rotate backwards. I’d like them to continually keep rotating the same direction every time the transition from black to white, or white to black, happens.

    I hope you understand the situation. Thanks for any help.

    Thanks, J

    James Houston replied 7 years, 2 months ago 2 Members · 4 Replies
  • 4 Replies
  • Brian Jones

    March 2, 2019 at 3:46 pm

    can you post that scene file?

  • James Houston

    March 2, 2019 at 4:20 pm

    Sure, I believe I’ve posted it here: https://f1.creativecow.net/13165/13165

    I must add, eventually each “pixel” square will be halved, to mimic the mechanics of a real flip-clock, but right now I’m just using full squares as a proof of concept.

    Cheers
    J

  • Brian Jones

    March 2, 2019 at 8:38 pm

    not that way, it’s responding to shades of grey. It doesn’t matter which ‘direction’. Right now it’s aware of it’s orientation and it flips to 100% (of 180) with white then back with black. It would need to add to it’s rotation with color change (regardless of the direction of change) rather than set a value depending on the level of grey… what that would be I don’t know at the moment

  • James Houston

    March 2, 2019 at 10:25 pm

    Thanks very much for your time Brian, I’m currently investigating a method using XPresso, I’ll post here if I get anywhere.
    Cheers
    James

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