Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D How do I use the Shader Effector to adjust the position of an array of cubes?

  • How do I use the Shader Effector to adjust the position of an array of cubes?

    Posted by Bill Paterno on November 1, 2010 at 9:01 pm

    I am working on my first C4D project where I have a cloner object with 10×10 cubes which I am using for a floor. I want to use a shader effector with a displacement map (quicktime movie) to adjust each cube. I created a 1024×1024 QT movie (black and white squares) and first tried to use it as a custom shader. But it would animate rows of columns. I could not find any place to change the projection. Then I tried applying the same displacement map to a plane and used that texture tag for the shading. It is close to working (tried every projection possible) but I am getting a couple of columns that are animating together instead of separately.

    Is this the way to go with what I want to achieve? If so, what am I doing wrong?

    Thanks in advance,
    Bill

    Bill Paterno replied 15 years, 6 months ago 2 Members · 6 Replies
  • 6 Replies
  • Adam Trachtenberg

    November 2, 2010 at 2:13 pm

    Sounds like you’re doing it the right way. Hard to say what the problem is without seeing the file.

  • Bill Paterno

    November 2, 2010 at 2:31 pm

    Any chance I could post the file and someone could look at it?

  • Adam Trachtenberg

    November 2, 2010 at 5:52 pm

    Sure, I’d be happy to look at it.

  • Bill Paterno

    November 2, 2010 at 6:02 pm

    Thanks so much! Here is a direct download link:

    https://dl.dropbox.com/u/1781264/ColumnTest.zip

    This is my first C4D project so be easy on me 😉

  • Adam Trachtenberg

    November 2, 2010 at 10:14 pm

    Okay, had a look. Here’s what I would do:

    1. On the plane that’s holding the texture tag, set the tag’s UV projection to Flat. Then use the texture axis tool to rotate the projection into the correct plane. Then right-click on the texture tag and select, “fit to object”.

    2. Select the animated texture, and in it’s Editor tab, check the “Animate preview” box. Then you’ll be able to see it animating in the viewport to make sure it’s aligned properly;

    3. Reduce the subdivisions in your cube clones. Seems you set subdivision really high for no apparent reason and that’s slowing everything down.

    hth

  • Bill Paterno

    November 3, 2010 at 11:06 am

    That totally helps! Thanks so much Adam!

    Bill

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