Itoo Software Forum

Author Topic: FS - Allow multiple stacked clipping areas  (Read 660 times)

IJ2087

  • Jr. Member
  • **
  • Posts: 59
FS - Allow multiple stacked clipping areas
« on: February 16, 2017, 09:08:33 PM »
Hello,

I am wondering if it is possible to have Rail clone use multiple stacked splines as clipping paths. This would allow for creation of varied floor plates for floor slab geometry. See attached file for more info. In the file you will see several spline subobjects that I'd like to use to clip the segment geometry, but Rail Clone only seems to show a boolean addition of the stacked splnes, rather than clipping each layer of the segment geometry defined by each spline subobject. Can this be added? Perhaps a threshold value for adjusting the range of distance from each spline will clip geometry?

See the image attached where the walls follow the splines, but the floors/roof are not clipped per spline.

Thanks.
« Last Edit: February 16, 2017, 09:12:43 PM by IJ2087 »

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1396
Re: FS - Allow multiple stacked clipping areas
« Reply #1 on: February 17, 2017, 10:20:36 AM »
Hi,

I'm afraid, that as the Clipping Area needs to be projected (using the Z axis) to work correctly in this case it needs to be divided - each floor should be handled in a separate Generator. Attaching modified scene. Hope you'll find it useful.

Best regards,

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1517
Re: FS - Allow multiple stacked clipping areas
« Reply #2 on: February 17, 2017, 03:45:14 PM »
Hi,

If I understand your request corectly then this feature is already implemented in RailClone 3 which should be available to beta test soon. In this version Clipping splines can be calculated individually, grouped using materials IDs and more.



I hope that will help.

All the best,

Paul
Paul Roberts
iToo Software

IJ2087

  • Jr. Member
  • **
  • Posts: 59
Re: FS - Allow multiple stacked clipping areas
« Reply #3 on: February 17, 2017, 06:02:43 PM »
Yes, this looks like what I am talking about. Hope to see the beta test soon! ;-)

Rokas

  • Sr. Member
  • ****
  • Posts: 406
Re: FS - Allow multiple stacked clipping areas
« Reply #4 on: February 19, 2017, 08:11:16 PM »
With every mention of RC3 I want it more and more! Stop teasing us ;)

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1517
Re: FS - Allow multiple stacked clipping areas
« Reply #5 on: February 19, 2017, 08:17:19 PM »
Not long to wait now hopefully ;)
Paul Roberts
iToo Software

iddqd

  • Newbie
  • *
  • Posts: 5
Re: FS - Allow multiple stacked clipping areas
« Reply #6 on: May 22, 2017, 02:44:42 PM »
Hi,

If I understand your request corectly then this feature is already implemented in RailClone 3 which should be available to beta test soon. In this version Clipping splines can be calculated individually, grouped using materials IDs and more.



I hope that will help.

All the best,

Paul

Hi, I instal beta of RailClone 3. But don't understand how to use this new feature.  have 3 types of lamp, and 30 floor, how I can set  one type of lamp on one floor?

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1517
Re: FS - Allow multiple stacked clipping areas
« Reply #7 on: May 22, 2017, 03:45:46 PM »
Hi,

To achieve this with RailClone 3 you would set Clipping Area > Hierachy Checking mode to None. This will cause each closed spline to create its own array.



Then, wire your 3 segments to a Selector operator. Export the Index value and wire this to a Random number node.

Change the Minimum to 1 and the Maximum to 3 and change Generate On to X Spline Start.



I've attached a demo file that will work with the current RC beta. I hope that helps, please let me know if you have any further questions.

Many Thanks,

Paul


Paul Roberts
iToo Software

iddqd

  • Newbie
  • *
  • Posts: 5
Re: FS - Allow multiple stacked clipping areas
« Reply #8 on: May 22, 2017, 03:57:09 PM »
Hi,

To achieve this with RailClone 3 you would set Clipping Area > Hierachy Checking mode to None. This will cause each closed spline to create its own array.



Then, wire your 3 segments to a Selector operator. Export the Index value and wire this to a Random number node.

Change the Minimum to 1 and the Maximum to 3 and change Generate On to X Spline Start.



I've attached a demo file that will work with the current RC beta. I hope that helps, please let me know if you have any further questions.

Many Thanks,

Paul
Thanks. It's Work. What if I want setup specific type of lamp to specific spline segment?

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1517
Re: FS - Allow multiple stacked clipping areas
« Reply #9 on: May 22, 2017, 04:59:08 PM »
HI,

At the moment to do that you would need to use the Generator's Limits > Materials ID feature. Create a new generator for each lamp type each with a separate ID. You can then change which segment is used simply by changing the Material ID applied to the spline.

Thanks to your suggestion, in future version of RailClone 3 you will also be able to do this using the Conditional and Selector operators, which should make things a little easier.

Attached is a file. Thanks for the feedback!

Paul
Paul Roberts
iToo Software