CINEVERSITY

  • Recent
  • Popular
  • Users
  • Groups
  • Login
Maxon Logo
  • Login
  • Search
  • Recent
  • Popular
  • Users
  • Groups

Variation shader on animated clones changes their color

Question & Answers
cinema 4d variation sh render random effector
2
6
1.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • itsmikem
    itsmikem last edited by Dr. Sassi Mar 19, 2023, 8:29 PM Mar 19, 2023, 3:40 PM

    Hi. I have a cloner with a material containing the variation shader in the color channel. This cloner has one cube as its child, and has two effectors: a Hide Selection and Random. In both effectors' Parameter tab, Color mode is set to off. In the Random effector's Effector tab, I am animating Maximum and Minimum to create movement. The problem is that these cubes are changing colors until the animation completes. I want each of these cloned cubes to maintain one steady color from start to finish. I am not sure what's causing this. Any help is greatly appreciated, thank you!

    1 Reply Last reply Reply Quote
    • Dr. Sassi
      Dr. Sassi last edited by Mar 19, 2023, 8:28 PM

      Hi itsmikem,

      I can't reproduce the problem. For future questions, please share an example.

      Please have a look here:
      https://stcineversityprod02.blob.core.windows.net/$web/Cineversity_Forum_Support/2023_PROJECTS_DRS/20230319_CV4_2023_drs_23_MGvc_01-11.zip

      There are two files in ink.
      One tries to reproduce the problems.
      The other shows an alternative to getting colored Cubes while being able to define them.
      The MoGraph Color Shader is set to ID, producing Gray values that are then translated via the Colorizer.

      All the best

      Dr. Sassi Sassmannshausen Ph.D.
      Senior Trainer, Maxon Master Trainer, L&D - Strategist
      Cinema 4D mentor since 2004, Member of VES, DCS.

      1 Reply Last reply Reply Quote
      • topic:timeago_later,8 days
      • itsmikem
        itsmikem last edited by Mar 28, 2023, 12:11 AM

        Hi Dr. Sassi, thank you for your response, as always. You've been very helpful to me and I appreciate it. I think I solved this issue. The culprit is the Boole that the clones are sitting in. I have an array arranged as a grid, and the clones are spread out along the z-axis. All of the clones are then flattened down to the same z-position. When they're coming together, they're "trimmed" to within a volume in a Boole. What I noticed was that some of the clones originally reside outside of the Boole volume, so each time one of these clones entered into the Boole, that indexed clone color would change. I tested this without the clone being in a Boole and there wasn't any flickering. Problem solved. Thanks again!

        1 Reply Last reply Reply Quote
        • Dr. Sassi
          Dr. Sassi last edited by Mar 28, 2023, 5:00 AM

          Thank you so much for the update, itsmikem.

          That is very kind of you.

          I'm glad it work for you. If avoiding the Boole works, great.

          My best wishes for your project.

          Dr. Sassi Sassmannshausen Ph.D.
          Senior Trainer, Maxon Master Trainer, L&D - Strategist
          Cinema 4D mentor since 2004, Member of VES, DCS.

          1 Reply Last reply Reply Quote
          • itsmikem
            itsmikem last edited by Mar 28, 2023, 12:17 PM

            You're welcome Dr. Sassi. I didn't avoid the boole, I just made it larger to accomodate all of the clones. What I noticed was that clones were changing color, but only when another clone moved to within the previously smaller sized boole. My guess is that it was throwing off the clone indexs somehow.

            • Mike
            1 Reply Last reply Reply Quote
            • Dr. Sassi
              Dr. Sassi last edited by Dr. Sassi Mar 28, 2023, 5:10 PM Mar 28, 2023, 5:09 PM

              Thanks for the extra effort, Mike!

              Cheers.

              Dr. Sassi Sassmannshausen Ph.D.
              Senior Trainer, Maxon Master Trainer, L&D - Strategist
              Cinema 4D mentor since 2004, Member of VES, DCS.

              1 Reply Last reply Reply Quote
              6 out of 6
              • First post
                6/6
                Last post