Itoo Software Forum

Author Topic: Some gaps on the left side and right side of the areas. Please help me.  (Read 4419 times)

cc8boy

  • Sr. Member
  • ****
  • Posts: 286
  • I'll do my best.Welcome to www.c7design.cn .
    • C7design
Hi developers,
I think this maybe a simple question. I making very simple floors. There are some gaps on the left side and right side of the areas of the small pieces.
Please you fix my scene. Keep the setup of structure of the Railclone object as simple as possible. Thank you very much.
We are working hard in virtual effects in 3DSMAX. Welcome to our website in China.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Some gaps on the left side and right side of the areas. Please help me.
« Reply #1 on: November 13, 2014, 02:01:37 PM »
Hi,

Please see the attached scene. The spaces are caused because each row in an A2S generator is calculated independently, so segments can not flow down to fill the gap. Instead the next segment in the left and right input is added only when a new row is created. To resolve this I've used used a compose operator to add two tiles on the sides for every row and then a Transform operators to adjust the Padding and Fixed Translation to move them into the correct position.

I hope that helps.

Many thanks,

Paul
Paul Roberts
iToo Software

cc8boy

  • Sr. Member
  • ****
  • Posts: 286
  • I'll do my best.Welcome to www.c7design.cn .
    • C7design
Re: Some gaps on the left side and right side of the areas. Please help me.
« Reply #2 on: November 13, 2014, 02:20:48 PM »
Thanks for your scene file.
But if I want to change the size of the small pieces. I must edit the compose operator node again. This may be a little problem in the future. I hope there will be a very simple way to make this kind of floors.
I have another question about the empty segment nodes. According to your tutorial, I use some empty segment nodes with some padding value to move other segments. The Top and Bottom padding seems don't work in this trick. But the left and right padding work very well.
I hope there will be a "deleteMesh" node in the future release. Just delete the segment mesh what I want to delete and leave the empty space.
We are working hard in virtual effects in 3DSMAX. Welcome to our website in China.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Some gaps on the left side and right side of the areas. Please help me.
« Reply #3 on: November 13, 2014, 03:23:59 PM »
Hi,

The next version of RailClone will have the ability to automatically determine and export the size of any segment, meaning that we can add a couple of simple arithmetic operations to automatically set the padding and offset for styles like this.

Thanks for reporting the top/bottom padding issue. We'll look into that too.

Many thanks,

Paul
Paul Roberts
iToo Software

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: Some gaps on the left side and right side of the areas. Please help me.
« Reply #4 on: November 16, 2014, 10:27:32 AM »
I have another question about the empty segment nodes. According to your tutorial, I use some empty segment nodes with some padding value to move other segments. The Top and Bottom padding seems don't work in this trick. But the left and right padding work very well.

For empty segments, just be sure to add some value to Left or Right padding, besides the Top/Bottom paddings. If not, the segment is considered null and discarded, because it has not X size.
Carlos Quintero
iToo Software

cc8boy

  • Sr. Member
  • ****
  • Posts: 286
  • I'll do my best.Welcome to www.c7design.cn .
    • C7design
Re: Some gaps on the left side and right side of the areas. Please help me.
« Reply #5 on: November 17, 2014, 06:18:55 PM »
I have another question about the empty segment nodes. According to your tutorial, I use some empty segment nodes with some padding value to move other segments. The Top and Bottom padding seems don't work in this trick. But the left and right padding work very well.

For empty segments, just be sure to add some value to Left or Right padding, besides the Top/Bottom paddings. If not, the segment is considered null and discarded, because it has not X size.
What do you mean by "just be sure to add some value to Left or Right padding, besides the Top/Bottom paddings " ? I want to push the segments not only the along the X direction but also along the Y direction of the 2S Array. How can I push the segments with the empty segments that without Top/Bottom paddings?
We are working hard in virtual effects in 3DSMAX. Welcome to our website in China.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Some gaps on the left side and right side of the areas. Please help me.
« Reply #6 on: November 17, 2014, 07:14:42 PM »
Hi,

To use Top/Bottom padding with an empty segment it is also necessary to add left right padding too in order for RailClone to recognise the segment. Segments with a 0 length on the X axis are discarded which is why adding a value here is necessary.



You might also be interested to know you can also use the Fixed Size values in the same way.

I hope that helps,

Cheers,

Paul.
Paul Roberts
iToo Software

cc8boy

  • Sr. Member
  • ****
  • Posts: 286
  • I'll do my best.Welcome to www.c7design.cn .
    • C7design
Re: Some gaps on the left side and right side of the areas. Please help me.
« Reply #7 on: November 17, 2014, 07:26:57 PM »
Now I understand why the Top/Butom padding did't work. I kept the Left/Right padding value zero. Thanks for your answer.
We are working hard in virtual effects in 3DSMAX. Welcome to our website in China.