TUTORIAL: Getting started with RailClone Part 2 (beginner)

TUTORIAL: Getting started with RailClone Part 2 (beginner)


Using RailClone to create your own 1D and 2D arrays couldn't be easier once you know a few simple principles. In this tutorial we'll recreate the Seaside Promenade image above and demonstrate the most frequently used features of RailClone.

Read a written version of this tutorial and download scene files from the iToo Software website: http://bit.ly/2GIHOIn

Free lite versions of our plugins are available that never expire, can be used commercially and include nearly all of the powerful features found in the Pro version! Find out more by following the links below

Forest Pack: http://bit.ly/2UZF11m
RailClone: http://bit.ly/2S43Wij #railclone #3dsmax #itoosoft
Closed Caption:

In the first section of this tutorial we
loaded a style from the library to create the fence on the left
side, and created a new style for the
balustrade on the right. In this video
we're going to extend those techniques
and introduce two-dimensional arrays.
To demonstrate this we're going to create
the paving slabs that run along the path
and the seawall itself. Let's get started
by creating a new RailClone object by
going to Create >iToo Software and
Railclone Pro. Drag out a new object anywhere in
the viewport. Come to the modify panel
and we're going to be creating a brand
new style, so click on the Open Style
Editor button. In the previous tutorial
we used linear 1S (L1S) arrays which use a
single spline to create the geometry.
Now we're going to use an array 2 spline or A2S generator. You can see this has a lot
more inputs than the L1S generator but most of these will come clear as we start to use it.
Unlike the L1S generator, this one
has two spline Inputs. X and Y.
It is also possible to create geometry using no splines at all just by setting the
X size and Y size parameters here.
In this example we're just going to use one
spline in the X slot because we want the
path to follow the revetment around the
corners. The width however is going to be
the same straight line throughout, so for
that we'll simply set the parameter here.
Let's get started by creating a new
Spline node and connecting it to the X
Spline input. Come over to the Base Objects rollout
and click on the spline picker
button and pick the base spline from the
scene. Now let's pick some geometry so we can see this in action. So come over to
your Items List, drag a new segments node
into the Construction View and connect
this to the Default input. This means
that this geometry will display in the
event that none of these other inputs
are being used. In the Segment's settings
pick "floor1" as the geometry. This is one of two paving slabs and the difference really
being that they just have different
material IDs so they can take different
colors. So click on "floor1" and still
nothing is displaying in the viewport.
That's because we haven't set the Y Size
yet, so just come over here with the
generator selected, come to
Properties > General and set the Y Size.
And as I turn this up you should start
to see things appearing in the Viewports.
Let's just try 5 meters. No, that's too much but as I reduce it you can see it
dynamically updating. Probably about
4 or 4.25M looks about right.
As we continue we'd like to be able to see
the geometry a little clearer in the
viewports while we make adjustments so
let's use the trick from the last video
and turn off Full Length. Set the Start
to about 40 meters with
a 20 meter length. We want it visible
just in front of the camera. Now that
we only have a small section we can
change the display mode from Points-
Cloud to Mesh to see each
one of those segments. This is going to
help us to make some adjustments.
First of all let's add a bit of
randomisation to these tiles.
Click on the Segment, go to Transform and come down to the section called Random.
This lets us randomise the translation
rotation and scale of each one of these
segments. For instance let's adjust the rotation on the z axis.
enter -1 for min and 1 for max.
You will see that they all have changed ever so slightly.
For a more exaggerated effect
you can see what happens if we put the
maximum to 45. Now it's worth mentioning
this tick box here.
It says Transform Affects Size, so this will
determine the placement of the
adjacent segments after the
transformations taken place. Meaning that
if this tile twists around, its size gets
larger and you can see there's no
intersection. If I turn it off they twist
in place but it doesn't displace the
adjacent segments. That's actually what
we want in this case, so we'll just
change that to minus 1 and make sure
that's off so they're not being
pushed around.
We'll also change the scale ever so
slightly so they they're slightly
thicker. Leave the minimum at
100% and set the maximum to 120% so we
have a number of different thicknesses.
Before I go any further let's put a material on this object.
If we examine the material it's quite
complex but there's four material IDs
being used. The first three are for the
default tiles, they're kind of greyish
color. There are basically three
different variations of that material.
The fourth one is a redder tile which we
can use for the edges and periodically
along the pathway. Before we close the material editor, let's just apply it. So I'll just
hit assign material to selection and you
should see the colours update.
Now we want this segment to be assigned randomly one of three material IDs that correspond to
that material. In order to do that, drag
in a material node. The material node is
very simple it has a target Material ID
that it is going to randomise. In this case
it will be material ID 1.
That's what's assigned to this
particular slab and we want to randomize
it between 1 and 3 to pick one of
those three materials we just saw. So
let's just change To to three and then
plug this segment here into the input of
the material node and then the output of
that goes into the Default input. You won't see much change in the
viewports but when you render it you'll
get a nice subtle randomization across
those slabs. Now we want to create some
red borders and some evenly spaced rows
So to do that we need a new segment
object but rather than drag this one in
let's just just copy the one we have
already, since we've already set up the
transform randomisation on that. Just
right-click on the segment to copy and
paste and then reassign this object to
"floor2". Let's adjust the viewport
so we can see our changes more
clearly when we move on to connecting
the floor.We will look
at it from above so that we can see how
these different slots relate to the
different parts of the 2D array. In this
case we want to connect this to the bottom now because X is
defining in the bottom the spline
running along the full length of the
revetment and Y is defining the height
when I connect this to the bottom side
input I should get a row of red tiles
running right along the bottom nearest
the balustrade.
If I connect it to the top I'll get them
along here and left on the left-hand
side and right on the right-hand side. We
also want to have some Evenly spaced
rows along the X-axis so if we just
connect this here, to the X Evenly input. Now we can see we've got evenly spaced rows if I
just click on the A2S generator
and go to the Rules you can see the
distance is set here, from the X Evenly section. When I move this I space them out further
apart, and as I reduce the number they
get closer together. We want it set at
about 4. I could also have
them spaced out along the Y Axis if you
wanted to. We don't in this case and we also have 4 other slots here that aren't being
used on this generator the left, right, top and bottom inputs for
corners which corresponds to these
points here left-top, right-top,
right-bottom, and left-bottom. Simply by
plugging a segment in to them
you'll be able to target
those sections of the array.
We can now switch back to the camera view and we can see that's working.
Finally let's just turn the display back
to Points-Cloud mode and set the spline
back to full length. Those are the
slabs along the revetment finished. Now
we're going to create our final
RailClone object. Once again we're going
to create another two-dimensional array
to create the sea wall itself. This one's
going to be slightly different.
It's going to use two splines: one to
determine the path but another
for the profile, since the sea wall isn't
just going straight down. There's a
spline already in the scene for this up
here found with the other segments.
To get started create another RailClone
object, go to modify and open the Style
Editor. Create a two-dimensional
array by dragging an A2S generator
into the Construction view. This time
we're going to use both spline slots
so we'll need two spline objects. Drag
them into the construction view and just
for clarity let's name one "path", and the other one "profile" and then
plug the path into the X Spline slot
and profile into the Y input.
These names are updated in the Base Objects rollout so it's easy to identify which is which.
Now. for the path we want the length of the revetment
so click on the spline picker button and
find the baseline spline.
Then click profile, click on the
spline picker again and then select the
profile from the scene. Now nothing is
appearing at the moment and that's because
we have no Segments. So let's add the
Segment which will be this one here.
Add a Segment node to the
Construction view. Click on the object
picker and click on this little set of
four blocks and wire this to the
Default input. It's working!
We've got geometry but it's not quite angled the
way we want it to be,
so let's come into the Array's settings and go to X Rotation
to turn that round we have a negative number. Just to
swing it round towards the sea, I
think about -90 is what
we're looking for, but you can see it
updating the viewport as I change it.
So minus 90 is what we're after and in
order to see this in a little bit more
detail so we can get the correct overlap
and make sure everything's working the
way we want, we want to see a small
section with the actual geometry rather
than the point cloud. We use the same
trick again, now remember that this
setting here is dependent on each spline
so in this case we want the path I'm on
and turn off full length there, and probably
set the length to about 20M. From
where I'm currently looking at it that's
probably okay, and then come down to
Viewport > Display and turn on Mesh and
there we can see the different
see all the different segments. You
can also see the problem - they're not closing up properly.
So in order to close that up
we need to change the Padding because
this controls the overlap between
adjacent segments, just like you did with
the balustrade earlier. Click on the
stone segment and the Right Padding.
Turn that down a bit
and you should see this gap start closing up.
The beauty of this is it's
interactive so I can do it visually.
When it looks about right so now you've
got a sea wall with overlapping segments.
Maybe we'll just add something at the
bottom here where it meets the sea since
it doesn't appear as though the bricks go all the way down to the sea itself. We'll
add another Segment pick the Stone End
geometry from the scene and then plug
this into the Top Input. The reason for
this is because the bottom of this
spline of course is defined by the
the path itself so in this path is
upside down. The bottom is up here and the top is down there. That's why we plug
this into the Top input. So it's going to the Top side you can see we've got something on
the bottom there now it's kind of going
the wrong way, you can see down here, so
we possibly want to rotate this a little
bit. Come into "stone end", go to
Transform and change the Rotation
on the Y-Axis to 180 degrees to turn it around.
It's also set back ever so slightly
from the wall, so we can try moving that
and you'll see as I change the Z Translation that it moves backwards. That's too much, try
-0.6. Yes -0.6 seems to line it up.
Remember you could do it by eye that seems to be about right. Now let's just apply the material.
Just hit M and it this uses the stone
material so just apply that to the
object like so. As we've seen these
materials use three different
texture variations in material ID slots
1 2 3 so to get a nice randomization on
the bricks. We'll just add a Material
operator to this just like before, change
the From value to 1 and the To value to 3 so it's randomising material ID 1 to those 3 new values.
Connect the stone 1 segment to the
Material nodes input and then the Material
node's output to the Default input and we've created that randomisation. Again you can
see the update on here so we have a nice
range of different colors on there now.
Let's add a little bit of position
randomisation. Click on the Stone segment and go to
Transform, come down to the Random
section and turn on Translation and this
time we'll turn up these Z axis a
little so just to break up the smooth
surface. The bricks now move ever so
slightly on the z axis some protruding
more than others. Possibly a bit too much
still at the moment. Something like
that's probably more natural. So
once you've done that go back to your
Display rollout and turn back on points-cloud, and turn on Full Length for the
path, and you should now have a seawall
that runs all the way along. Once you've
got your style complete if you wanted to
change the profile of the seawall, it's
a simple case of selecting the spline
connected to the style
and making some simple adjustments. You should see
on the left hand side as I move the
spline the wall updates in real time so
if I wanted to curve the tops, I convert
this to a smooth vertex, and you can see the
RailClone object automatically updates.
If I wanted the Sea Walls to be a little
longer I could just extend the spline A
little shorter, you shorten it. It's really very easy
to create sophisticated double curved
geometry using this tool. If you go back
to the camera view and hit render then you've got a completed scene.
Having followed this tutorial all the way through you should have learned how to create
RailClone objects, navigate the Style
Library, Import styles and pick
Base Objects and adjust Materials. You
should have learned how to create
a sophisticated one dimensional array
with evenly spaced pillars and lamps,
covered the basics of creating 2D arrays
with an A2S Generator and then
extended that technique to create double
curved 2D arrays using splines to control
the profile of the path. As always, if
you've got any questions please ask in
our forums and for more tutorials please
see Vimeo, YouTube or the tutorials page on our website.
section on the AI too soft website

Video Length: 16:22
Uploaded By: ITOOSOFT
Published: 6/4/2013
View Count: 20,053

Related Software Products
RailClone Pro icon
by Itoo Software
Parametric modeling plugin for 3ds Max: build fences, facades, floors by rules

Related Videos
Using RailClone Presets  | Getting started with RailClone Part 1 07:37
Introducing RailClone 7  - Smarter Modeling for 3ds Max Starts Here! 05:06
Copyright © 2026, Ivertech. All rights reserved.