Itoo Software Forum

Author Topic: Floor planks  (Read 916 times)

Darwin Ceballos

  • Newbie
  • *
  • Posts: 15
Floor planks
« on: October 23, 2014, 01:01:46 AM »
Hi! Have managed to stack 3 planks with different width and equal length in an sequence = Ax2 , Bx2, Cx1
All planks has length of 360cm and I just want some randomization offset in X direction. How can I do this?
Thanks :)



« Last Edit: October 23, 2014, 01:06:51 AM by CQ1888 »

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1517
Re: Floor planks
« Reply #1 on: October 23, 2014, 09:55:13 AM »
Hi Darwin,

To add some X offset variation you can add a random value to the Left Padding property for the first board in every row. To do this I've used a conditional operator so that if Segment > X Counter = 1 returns true. Then in the True input slot added a Transform operator, connect the sequence operator, exported the left padding and connected a Random number parameter node. In the False input connect just the sequence operator. The finished style should look like this:



I've attached the scene file for you to check out. Please let me know if you have further questions.

Cheers,

Paul
« Last Edit: October 23, 2014, 09:57:15 AM by Paul Roberts »
Paul Roberts
iToo Software

Darwin Ceballos

  • Newbie
  • *
  • Posts: 15
Re: Floor planks
« Reply #2 on: October 23, 2014, 11:57:24 AM »
Thank you so much for your help, just what I needed.
Cheers :)