CINEVERSITY

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

    Variation shader inadvertently affected by a field

    Question & Answers
    variation sh
    2
    4
    271
    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

      I have a winding pathway (an editable cube with many polygons) with the variation shader set so each of its polygons have a different color. Along either side of this pathway, I'm growing cloned cubes by means of an animated linear field. The problem is that while the field animates (growing the cubes from scale -1 to 0), polygons in the pathway change colors as if its variation shader random seed has been keyframed, but it hasn't. Is there a way to prevent this?

      thanks,

      • Mike
      1 Reply Last reply Reply Quote
      • Dr. Sassi
        Dr. Sassi last edited by Dr. Sassi

        Hi Mike,

        Does the file show what you need, or at least duplicate your setup?
        CV4_2023_drs_23_MGvs_01.c4d

        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
        • itsmikem
          itsmikem last edited by

          Close Dr. Sassi, but not quite, and I appreciate your attempt! My winding colorful path is not part of the cloner. The cloner has one child (a cube), mode:Object, distribution: surface, and the surface object is a plane with some subdivision surfacing to make the plane look hilly. The clones begin to appear as a plain efffector's linear field sweeps over it, "growing" the cubes from a scale of -1 to 0. It seems like the variation shader in the winding path's material takes into account the sum total of all objects in the scene when it calculates the random seed. That's the only thing I can think of. I'm not keyframing anything int he variation shader itself, and the "flickering" of colors in the path only occur within the field's animation timespan.

          1 Reply Last reply Reply Quote
          • Dr. Sassi
            Dr. Sassi last edited by

            Hi Mike,

            Please share a file. IF the size is too large for the forum, then please Dropbox, Google, Apple, Adobe or Wetransfer.

            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
            • First post
              Last post