Do we actually know how the locations for individual members of a population are calculated?
I have just made a test based on two basic assumptions:
- 1:- The members of a population are placed at the "Centre" points of Voronoi cells having a scale equal to the Object Spacing and using the same seed value as the population.
2:- The Voronoi cells are generated using an internal Get Position for the X and Z values are taking the Y value from the placement of the population.
What I have done is started with a Get Position, extracted the X and Z values; Rebuilt a position vector using these plus a constant equal to the Y value of the centre of the population. I have then taken this modified position and used it as the input to a Voronoi 3D Cell Scalar; Using two constants, one for scale equal to the population Object spacing and another for the seed making this equal to the population seed. I have used the result of this as the Mix Controller of a Merge Shader, which is being used to vary the colouring of the object.
I have used a duplicate of this mix setup to add colour to the terrain so that I can see the Voronoi cells.
Either my assumptions are wrong or the nodes are not set up right because THIS DOES NOT WORK
I am not at all sure how clear my explanation is; so here is a screen grab of the nodes, the result and the tgd.
I know this doesn't work but posting may save someone else wasting time trying something similar