.
Results 1 to 14 of 14

Thread: Accidental Discoveries in Trainz - You can superelevate non-track splines

  1. #1
    Join Date
    Mar 2008
    Location
    Lost
    Posts
    1,721
    Blog Entries
    4
     

    Default Accidental Discoveries in Trainz - You can superelevate non-track splines

    Did you know you could superelevate non-track splines? I sure didn't until I accidentally superelevated an embankment spline instead of the track on top of it. As a test, I also superelevated this telegraph pole, to simulate it leaning.



    How is it done? The same way you superelevate track. Use your vertex properties tool (track panel, advanced section) on the spline vertex, just as you would with track, and set the angles.

    Matt
    Intel Core i7-7700K 4.20 GHz
    PNY GTX 1070 8GB Overclocked GPU
    16 GB DDR4 RAM
    275 GB SSD + 1 TB HDD + 500 GB HDD

  2. #2
    Join Date
    Nov 2006
    Location
    United States of America, Massachusetts, Haverhill
    Posts
    26,392
     

    Default

    Way cool! Must try...

    Thanks Matt.
    John
    Trainz User Since: 12-2003
    Trainz User ID: 124863
    T:ANE Build: 94829
    TRS2019/Trainz-PLUS: 105100

  3. #3
    Join Date
    May 2018
    Location
    Australia, NSW
    Posts
    583
     

    Default

    That must be in TRS19, no option for angles in T:ANE, although I've actually seen this effect, I think in the Coal Country route?

  4. #4
    Join Date
    Nov 2006
    Location
    Newcastle NSW Australia
    Posts
    6,330
     

    Default

    Cool. Wobbly fences at last.
    T:ANE SP4 build 105946 and TRS2019 SP1 build 105096
    Win 10, i7 5820K, 3.3 GHz, 32GB ram, GTX 980Ti, 2x512GB SSD

  5. #5
    Join Date
    Nov 2011
    Location
    United States of America, Tampa, FL
    Posts
    1,170
     

    Default

    Interesting. This opens a whole new level of route prototypicality...
    "Cave Johnson. We're done here."

  6. #6
    Join Date
    Nov 2006
    Location
    Newcastle NSW Australia
    Posts
    6,330
     

    Default

    It does work, but I can't make a straight fence "wobble", it only tilts if there is also curvature. Makes sense for tracks, not so much for fences.


    .
    Last edited by Dinorius_Redundicus; January 13th, 2020 at 07:32 PM.
    T:ANE SP4 build 105946 and TRS2019 SP1 build 105096
    Win 10, i7 5820K, 3.3 GHz, 32GB ram, GTX 980Ti, 2x512GB SSD

  7. #7

    Thumbs up

    This is so Cool,,,,Thanks for Sharing.......

  8. #8
    Join Date
    Nov 2006
    Location
    United States of America, Massachusetts, Haverhill
    Posts
    26,392
     

    Default

    Quote Originally Posted by Dinorius_Redundicus View Post
    It does work, but I can't make a straight fence "wobble", it only tilts if there is also curvature. Makes sense for tracks, not so much for fences.


    .
    I've been too busy to try it yet. Does adding in some extra spline points here and there help with that?
    John
    Trainz User Since: 12-2003
    Trainz User ID: 124863
    T:ANE Build: 94829
    TRS2019/Trainz-PLUS: 105100

  9. #9
    Join Date
    Nov 2006
    Location
    Newcastle NSW Australia
    Posts
    6,330
     

    Default

    Quote Originally Posted by JCitron View Post
    I've been too busy to try it yet. Does adding in some extra spline points here and there help with that?
    Not really. The tilt is functionally linked to the spline curvature at the vertices with super-elevation parameters applied. If there's no curvature, no tilt. And you can't input negative tilt angles. If you curve a fence to the left, it will always tilt to the left. To make it lean the other way, you can only do it by curving the fence to the right.
    Last edited by Dinorius_Redundicus; January 14th, 2020 at 12:25 AM.
    T:ANE SP4 build 105946 and TRS2019 SP1 build 105096
    Win 10, i7 5820K, 3.3 GHz, 32GB ram, GTX 980Ti, 2x512GB SSD

  10. #10
    Join Date
    Nov 2006
    Location
    United States of America, Massachusetts, Haverhill
    Posts
    26,392
     

    Default

    Quote Originally Posted by Dinorius_Redundicus View Post
    Not really. The tilt is functionally linked to the spline curvature at the vertices with super-elevation parameters applied. If there's no curvature, no tilt. And you can't input negative tilt angles. If you curve a fence to the left, it will always tilt to the left. To make it lean the other way, you can only do it by curving the fence to the right.
    Thanks for the explanation. I have yet to do any Trainzing. I've been busy again with another music project that's kept my nose to the grindstone.
    John
    Trainz User Since: 12-2003
    Trainz User ID: 124863
    T:ANE Build: 94829
    TRS2019/Trainz-PLUS: 105100

  11. #11
    Join Date
    Aug 2019
    Location
    In Front Of My PC
    Posts
    557
     

    Default

    This super-elevation feature would make a roller coaster, twisting turning, banking track possible
    Last edited by MP242; January 14th, 2020 at 12:55 PM.
    My 4325 car RGCX train is 53.24 miles long, and takes 1 hour to pass through town !

  12. #12
    Join Date
    Nov 2006
    Location
    United States of America, South Jersey
    Posts
    1,851
    Blog Entries
    1
     

    Default

    Quote Originally Posted by epa View Post
    Did you know you could superelevate non-track splines? I sure didn't until I accidentally superelevated an embankment spline instead of the track on top of it. As a test, I also superelevated this telegraph pole, to simulate it leaning.

    How is it done? The same way you superelevate track. Use your vertex properties tool (track panel, advanced section) on the spline vertex, just as you would with track, and set the angles.

    Matt
    Matt, what version of TRS19 are you working in? I've got TRS19 "Classic" tb 100240 Regional NA - NON SP1, NON PLUS, NON SILVER, NON GOLD, NON PLATINUM, NON EVERYTHING and I don't see this behavior. For me it works identically to TANE (SP3). I don't recall when it came into TANE but we were playing around with it in the dev forums back in 2015. Anyhow I can apply the 2 params in surveyor to any spline but only track splines show the twist.

    In the 2 pics below the same spline point properties were applied to all the spline points. The 2 scenery splines (embankment and telegraph poles) show no twist at all and the 2 track splines (ng3 procedural track and ng3 track w/fill) show the applied superelevation.

    Looks like a bug to me. 8-)

    Bob Pearson


    TANE SP3 tb 94916




    TRS19 "Classic" tb 100240
    Last edited by RPearson; January 15th, 2020 at 02:04 AM.
    TRAINZ-UTC-TRS04-TRS06-TC1&2-TC3-TS09-TS10-TS12-TANE(TEG)-TMR17-TS19
    Member since 6-14-2002

  13. #13
    Join Date
    Nov 2006
    Location
    Newcastle NSW Australia
    Posts
    6,330
     

    Default

    Bob

    I also see no super-elevation effect on some road splines (eg. AASHTO roads by gfisher). I'm wondering if it's because they are old-style splines (TB 2.0, 2.4) without mesh-tables and track containers in the config. Was it TS2009 when that first came into force?

    I'm curious now and will try it on a more modern road spline (TB > 2.8) and see if that accounts for the difference.

    ~ Deane


    EDIT: That did indeed make a difference. The test example was a 32ft AASHTO road by author slabay, TB 2.9. It showed the super-elevation effect. All this was in TANE SP3. I assume it will be the same in TRS19.
    Last edited by Dinorius_Redundicus; January 15th, 2020 at 03:47 AM.
    T:ANE SP4 build 105946 and TRS2019 SP1 build 105096
    Win 10, i7 5820K, 3.3 GHz, 32GB ram, GTX 980Ti, 2x512GB SSD

  14. #14
    Join Date
    Nov 2006
    Location
    United States of America, South Jersey
    Posts
    1,851
    Blog Entries
    1
     

    Default

    Thanks Deane. I'll have to check TB on the assets I used and try a few others. SE came in with TANE but I'm not sure now if it was the original or in a service pack. The new kind track came in with TB 2.9 in TS09.

    Bob Pearson

    [EDIT] PS. The track splines were TB 3.5 and 3.9, The scenery splines were tb 1.3 and 2.0. On further testing it worked with a pole spline TB2.9 and failed with a track spline TB2.0. So it appears to work only with the new type of spline that was introduced in TB 2.9.
    Last edited by RPearson; January 15th, 2020 at 05:05 AM.
    TRAINZ-UTC-TRS04-TRS06-TC1&2-TC3-TS09-TS10-TS12-TANE(TEG)-TMR17-TS19
    Member since 6-14-2002

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •