Int User Data/Jitter/Cloner Heirarchy/Multi-Instance
-
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.
-
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.
All the best
-
@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 -
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.c4dHowever, 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.c4dEnjoy your weekend