Having a spot of bovver wiv me track

Go down

Having a spot of bovver wiv me track

Post by graymac on Sat Jun 30, 2018 8:11 pm

Haven't made any track for ages, so rustier than a preservation rail!  Using latest Trackgen version, the output item seemed strange, and it's longer than the usual 25m section Here's the settings:



And the result:

The ballast covers the 25m track length. Now, though this looks odd it isn't so dreadful with the item in place, though it's not quite right around the frog area, and the check rail on the (left) joining branch is very close to the running rail:



Other info: 1.6metre gauge, article placed as freeobj in the running rail and rotated at angle to align. Is this anything to do with the divergence distance being less than 2 metres ?  I'm banjaxed No


Last edited by graymac on Sat Jun 30, 2018 8:48 pm; edited 1 time in total (Reason for editing : attach zipfile)
avatar
graymac

Posts : 1952
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: Having a spot of bovver wiv me track

Post by leezer3 on Sat Jun 30, 2018 10:31 pm

I think I know what's happening here, but I can't investigate properly until tomorrow evening Smile

If I'm right, the issue here is your divergance value.
To be precise, I'd say the issue is that it's less than your track gauge.

If we think about what happens with the divergance:
The termination point for each rail gets moved in the X-plane by this amount to produce the second track for the switch.
Our outside rail starts at 0.8m & gets moved +1.16m ==> 1.96m ; This is fine.
Our inside rail on the other hand starts at -0.8m & gets moved +1.16m ==> 0.36m ; As you can see, the inside rail is still therefore within the outside rail of our original line. No use for a switch, when both need to be clear Razz

I'm guessing that the code has stretched the rails so that they end up outside the original line, but left the ballast at 25m length.
Need to investigate exactly how/ why, but my immediate instinct is that the program should be blocking any attempt to generate a switch with a divergance value less than the track gauge Smile

leezer3

Posts : 1218
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: Having a spot of bovver wiv me track

Post by graymac on Sun Jul 01, 2018 10:07 am

I had a feeling that the divergence of < track gauge might be the culprit. I'll revisit it later today, I'd been working all day on a new route when I started the pointwork so was a bit past me sell-by! Smile

I made another article, with the divergence at 2m. This didn't extend beyond the 25m section length, but the rail tops weren't generated on the insides - I thought this bug was fixed before??

avatar
graymac

Posts : 1952
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: Having a spot of bovver wiv me track

Post by leezer3 on Sun Jul 01, 2018 9:03 pm

Hmm...

The problem with the first file is as I suspected.

The second file is a little more complex, and has to do with the number of selected segments.
You're using 10 segments, hence 2.5m per segment.
If you note, the railheads should start at ~23.5m, and as there's less than 2.5m between the toe of the switch and the end and so it's omitting the railheads.

Need to think on this one to figure out exactly how to deal with it.
Increasing to 20 segments will fix the issue, but this ought to be handled better internally.

leezer3

Posts : 1218
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: Having a spot of bovver wiv me track

Post by graymac on Sun Jul 01, 2018 9:33 pm

Well, if the railheads are missing I can at least try a different number of segments. I try and use the minimum consistent with a smooth look, much the same as cylinder faces.
I suppose "x" crossings and double slips would be an impossible ask?? Suspect
avatar
graymac

Posts : 1952
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: Having a spot of bovver wiv me track

Post by leezer3 on Sun Jul 01, 2018 9:57 pm

Honest answer- Dunno Razz
Platforms and viaducts were actually relatively easy, as it's just a simple transform of the underlying structure, but getting switches working right is a nasty little set of math problems....

I'll think about it at some stage, but don't expect anything soon Sad

If you use the same track texture, those from Switch aren't *too* bad.

leezer3

Posts : 1218
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: Having a spot of bovver wiv me track

Post by graymac on Mon Jul 02, 2018 8:38 am

My problem with Switch is the gauge - Ireland's 1600mm
I've cheated in the past, if the crossover's not on the actual running rail, or too obviously visible, by letting the rails cross and dropping one of them by a couple of mm to stop "Y fighting". Very Happy  It looked better than a "Switch" item that I took ages to "doctor-up" - I gave up on that approach.
avatar
graymac

Posts : 1952
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: Having a spot of bovver wiv me track

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum