CINEVERSITY

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

Int User Data/Jitter/Cloner Heirarchy/Multi-Instance

Question & Answers
2
4
289
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.
  • GregBollella
    GregBollella last edited by May 3, 2024, 2:04 PM

    I have a hierarchy of two cloners. (I can't see how to get the arrangement I need with just a single cloner). I want to use a Integer User Data node (or possibly some other User node) in the RS node graph to drive a Jitter node to create unique (color, ints, floats) for each clone. I have this working ok with the cloners use Instance mode. However, the scene has a lot of geometry and I would like to use Multi-Instance mode in the cloners. Also, I would greatly prefer to have a single material applied to the complete hierarchy.

    Here's a simple project file showing the Cloner hierarchy and how I get the unique values when the cloners use Instance mode.

    UserIntJitterAcrossMultipleCloners.c4d

    1 Reply Last reply Reply Quote
    • Dr. Sassi
      Dr. Sassi last edited by Dr. Sassi May 4, 2024, 3:06 AM May 3, 2024, 6:30 PM

      Hi GregBollela,

      Thanks for the file and for using Dropbox

      The simple answer is that the individual data is gone if you use anything but the Instance mode, (if for example cascading Cloners are used). That is the crucial element to accelerate this.

      I'm not clear about the production you'd like to run with it, but for now, I think of a bathroom with hand-crafted tiles as a working example.

      One way would be to produce enough child objects. It's not comfortable, but it's quickly done. Naming the objects, filtering them, and using them, e.g., after selecting all "cubes" named with the User Data "num," the variety is given. Num is placed into the field in all selected objects with the same parameter, the selection ID. Perhaps it is adaptable to your project.

      CV4_2024_drs_24_RSud_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.

      GregBollella 1 Reply Last reply May 4, 2024, 2:40 AM Reply Quote
      • GregBollella
        GregBollella @Dr. Sassi last edited by May 4, 2024, 2:40 AM

        @Dr-Sassi Here's another method I found working with folks on other forums. More procedural I think. Good control. Using 'Instance' only for a low-poly plane all the higher-poly objects are 'Multi-Instanced'. I have implemented this in the original scene and it works well.

        Cheers,
        Greg

        JitterClonersGreg.c4d

        1 Reply Last reply Reply Quote
        • Dr. Sassi
          Dr. Sassi last edited by Dr. Sassi May 4, 2024, 4:53 AM May 4, 2024, 3:13 AM

          It is excellent that this works for you, Greg.

          Yes, if you can define a Geo-based Matrix that works for you, that is perfect.
          In the past, I suggested using as many polygon objects as needed to create this Matrix (see below), which prevents the simple ID sequence from being broken. You can adjust each clone based on that single polygon (or use groupsas in the scene you have shared).
          CV4_2024_drs_24_RSud_11.c4d

          However, since your example was a demo and you mentioned there is no way to make it in one, I left this out; I expected your project setup to be more complex. Hence, my Bathroom Tile is a "working title," which can quickly become quite complex.

          Anyway, you have what you need, great.

          As a side note, here is the simplest way to do it, if we talk about your demo scene.
          CV4_2024_drs_24_RSud_22.c4d

          login-to-view

          Enjoy your weekend

          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
          3 out of 4
          • First post
            3/4
            Last post