Hi all.
So I am making an industrial style canopy to go over tracks and join to buildings in spline form for flexible length. I am wondering is it possible for the end cap to be inside the main mesh rather than on the outside? As I can only seem to get it on the outside, I am hoping to just have the end triangle of the canopy as the cap rather than having to build an additional roof and side wall section too.
Thanks,
Mark
Help with spline end caps.
-
- Forum Veteran
- Posts: 1528
- Joined: Sun Dec 12, 2010 3:16 pm
- Trainz Version: TRS22
- Trainz Build: 116243
- Author KUID: 425700
- Location: Crewe, Cheshire, UK
Re: Help with spline end caps.
You can actually leave out the endcaps if it's just to go between buildings, they won't be seen anyway. For things like a viaduct spline I ignored end caps and made the abutments as trackside assets and just drop over the track at the ends. My hedges have no endcaps either.
I just use a config along these lines.
I just use a config along these lines.
Code: Select all
mesh-table
{
track-lod0
{
mesh "default.im"
}
}
track
{
mesh-length 6
adjust-cross-section-to-ground 0
track-lod-tree
{
mesh "track-lod0"
}
}
- Marky7890
- Site Admin
- Posts: 1473
- Joined: Sun Dec 12, 2010 1:57 pm
- Trainz Version: TRS2019
- Trainz Build: 90945
- Author KUID: 179051
- Location: Near Penryn, Cornwall
- Contact:
Re: Help with spline end caps.
I mean the track and canopy will be alongside the buildings so end triangles are needed at the ends of the canopy.
-
- Forum Veteran
- Posts: 1528
- Joined: Sun Dec 12, 2010 3:16 pm
- Trainz Version: TRS22
- Trainz Build: 116243
- Author KUID: 425700
- Location: Crewe, Cheshire, UK
Re: Help with spline end caps.
Ah misunderstood there,
Try this make the endcaps as 2 planes one on zero and other at the end of the spline mesh, use a size 0.001 for the endcaps, that should work OK, just tried it here.
Try this make the endcaps as 2 planes one on zero and other at the end of the spline mesh, use a size 0.001 for the endcaps, that should work OK, just tried it here.