Itoo Software Forum

Author Topic: unlimited types of Segments on vertex  (Read 808 times)


  • Newbie
  • *
  • Posts: 1
unlimited types of Segments on vertex
« on: March 15, 2016, 09:49:38 PM »

If i understand correctly the number of Segment-types that can be used on a vertex is limited to the (4) vertex types in MAX, that is


Is there any way or workaround that allows for more than these 4 types? for example by setting some sort of variable or value on the vertex,
this would be usefull imho considering that each vertex types has an obvious effect on the splines geometry and i would like to place different type of segments on vertexes independently from the splines geometry.

thank you all in advance

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1760
Re: unlimited types of Segments on vertex
« Reply #1 on: March 16, 2016, 10:25:07 AM »

Instead of using the vertex type you can use material IDs assigned to the base spline's segments to add as many types of corner segment as you need. To do this you'd follow these steps:

- Add your corner segment geometry to RailClone in the usual way.
- Create a Selector operator and wire the corner segments to it's inputs. The order is important as it represents the IDs you will need to allocate to the spline to pick a particular segment.
- Change the Selector operator's mode to Spline Mat. ID
- Select the base spline, go to the segment sub-object  level and assign material IDs. RailClone uses the material ID of the spline segment that comes before the vertex.

I've attached a demo file of this set-up.

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

Many thanks!

Paul Roberts
iToo Software