Professional Documents
Culture Documents
RailClone 2 - Tutorials
SEARCH
HOME
NEWS
PRODUCTS
GALLERY
TUTORIALS
SUPPORT
DOWNLOADS
ONLINE STORE
RailClone 2 / Tutorials / Drop Kerb DESCRIPTION GETTING STARTED TUTORIALS Tutorial Index Masonry Wall Curtain Wall Seaside Promenade Drop Kerb (new ) REFERENCE LIBRARY GALLERY BLOG BUY ONLINE
Watch videos
Summary
Description Software Level Files Create a pavement style that adds a drop kerb to any spline segment RailClone Lite 2, Max 2010 or higher Intermediate Drop Kerb Files
Introduction
In this quick tip tutorial for RailClone 2, were going to look at how you can apply specific generators, or styles, to different segments of the same base spline according to their material ID. Well create a pavement style that adds a drop kerb to any spline segment with a material value equal to 2. In creating these styles, well also be covering the combine, sequence, and reverse nodes.
The scene already has some splines and a road from the library in place. There are 5 small slices of pavement used to create a new style. Though this example demonstrates the creation of a Kerb and pavement in a single style, the same principles could be used to create them separately for a more flexible approach and easier re-use. To get started its helpful to think of the two parts of the pavement (normal and drop) separately even though were creating them as part of the same style. Theres an existing RC object in the scene we can use to get going. This tutorial can be completed using RailClone Lite. See the differences between Lite and Pro versions.
www.itoosoft.com/railclone/tutorials/tutorial_drop_kerb.php
1/3
10/15/13
Step 1: Create the full height pavement
RailClone 2 - Tutorials
This generator requires only two segments, a start and and a middle section. Using these we can create a kerb edge and govern the length of each stone. To get started select the existing RC object, open the style editor and add a new L1S generator to the construction view. Add a Spline object and pick Line001 from scene, connect this to the spline input of the generator. Add a new Segment object and pick the geometry called Kerb from the scene. Set Properties>General>Y alignment to bottom.
2 3 4
From the Deform menu, turn onApply Box Mapping and Real-World Map Size.
6 7
Attach this segment to the default input. Clone the Segment node using the Copy and Paste buttons, and assign the object called kerbStart from the scene. Attach this segment to the Start input. We now need a similar segment at the other end, to achieve this well simply mirror kerbStart and attach it to the end input. Add a new Mirror operator, connect the segment to its input and wire to the End slot of the generator. To create some joints to define individual stones we can reuse the existing kerbStart geometry. Create a new Sequence node and wire the existing kerb Segment, then the Mirror operator finally the kerbstart segment to its inputs. Click on the sequence node and change the number of times the kerb segment is repeated to 4 to control the length of the stones.
10
www.itoosoft.com/railclone/tutorials/tutorial_drop_kerb.php
2/3
10/15/13
11
RailClone 2 - Tutorials
Finally open the Material Editor and apply the kerb material to the RailClone object.
To add the default drop Kerb section, clone any segment and allocate dropKerb from the scene. Wire to a new Sequence node then attach the sequence node to the default input. Add another Mirror operator and connect the dropKerbStart segment to the input. Wire the mirrors output to the sequence node. Finally wire just the dropKerbStart segment to the final input of the sequence node. As described above, you can control the length of the stones by simply adjusting the number of times a segment repeats.
7 8
Do a similar thing for the full height kerb, turn on Material ID but this time ensure that the value is Equal 1, this should be the default settings.
Conclusion
In this tutorial we explored the use of Material IDs to selectively apply different generators. The pavement style also used a range of different composite operators to combine, sequence, mirror and reverse segments.
HOME
PRODUCTS
GALLERY
DOWNLOAD
SUPPORT
FORUMS
ONLINE STORE
www.itoosoft.com/railclone/tutorials/tutorial_drop_kerb.php
3/3