Itoo Software Forum

Author Topic: Hypthetical question - biasing randomisation along array  (Read 359 times)

Rio

  • Jr. Member
  • **
  • Posts: 80
Hypthetical question - biasing randomisation along array
« on: February 13, 2023, 06:49:53 PM »
Hypothetical question that may become a very needed feature for me soon - is it possible to bias the likelihood of a segment appearing in a random array by way of a texture map or similar.

Case use is a facade that wants to have more larger windows at one end and more solid panels at the other.

Is there a macro that can do that?

TIA

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Hypthetical question - biasing randomisation along array
« Reply #1 on: February 14, 2023, 04:09:45 PM »
Hi,

Please take a look at this thread which discusses a similar case. you can graduate the probability of an item being selected based on its position on the X or Y spline.

This tutorial may also be of interest.


I hope that helps, please let me know if you have any further questions.

Cheers!

Paul
Paul Roberts
iToo Software

Rio

  • Jr. Member
  • **
  • Posts: 80
Re: Hypthetical question - biasing randomisation along array
« Reply #2 on: February 15, 2023, 04:47:29 PM »
That's great, for the purposes of this image the standard macro worked out, but I may well need it to merge from A to B to A again, in which case I'll use your custom one.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Hypthetical question - biasing randomisation along array
« Reply #3 on: February 15, 2023, 04:48:52 PM »
Great - glad we could help out!

Cheers,
Paul
Paul Roberts
iToo Software