Itoo Software Forum

Author Topic: Randomg Pendant Height with Vray Light  (Read 5783 times)

VelvetElvis

  • Newbie
  • *
  • Posts: 45
Randomg Pendant Height with Vray Light
« on: May 28, 2025, 04:49:59 pm »
I'm attempting to set up a pendant light fixture that has random heights. While I can successfully set up the pendants to be random heights, where I'm struggling is how to get a vray light to also be at the random height. If I set the light in the initial rail clone object, that light does not get passed through to the final pendant rail clone assembly. If I want to use the final rail clone assembly to place the vray light, I'm not sure how to get each light's size to then pass that along to the Z distance for the vray light.

I've attached the max file to play around with. We're still in Max 2024 and Rail Clone 6.4.1 but will be upgrading to the latest version of Rail Clone soon.

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2986
Re: Randomg Pendant Height with Vray Light
« Reply #1 on: May 29, 2025, 09:57:09 am »
Hi,

Instead of using 'nested objects', you can achieve it within a single style by nesting generators, which avoids this limitation. Additionally, you can simplify the style by using a Compose Operator in the Sequence mode, wired to the End Input of the first Linear1S generator. Please find attached a revised version of your scene. I hope this helps.

Best regards.

VelvetElvis

  • Newbie
  • *
  • Posts: 45
Re: Randomg Pendant Height with Vray Light
« Reply #2 on: May 29, 2025, 12:07:22 pm »
Hi,

Instead of using 'nested objects', you can achieve it within a single style by nesting generators, which avoids this limitation. Additionally, you can simplify the style by using a Compose Operator in the Sequence mode, wired to the End Input of the first Linear1S generator. Please find attached a revised version of your scene. I hope this helps.

Best regards.

Amazing, thanks for the fast response!