.
Results 1 to 8 of 8

Thread: Procedural - Meaning?

  1. #1
    Join Date
    Nov 2007
    Location
    United States of America, Pennsylvania, Murrysville
    Posts
    4,123
     

    Question Procedural - Meaning?

    Procedural popped up in the context of Trainz. I do not remember the meaning of the word as used in Trainz.
    As an example procedural track versus its forerunner - the differences.
    ========================
    I rechecked the Wiki and found an answer that somehow I missed earlier:

    https://online.ts2009.com/mediaWiki/...ocedural_Track
    A well done treatment of the subject.

    Simply put - things that used to be customer supplied elements of track are now builtin.

    The dreaded Red Circle is explained....
    Last edited by boleyd; June 14th, 2021 at 07:49 AM.
    Dick near Pittsburgh, Pa. i5-2500K 4.2ghz, 8gb memory, GTX1060 3gb video card. 111951

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

    Default

    While this Wiki article pertains to the track with its computer auto-generated track components, the Turf-FX grass and other plants are also procedurally placed by the computer based on the components given and by the math in the algorithms used for placing the objects. In other programs, in particular 3d graphics programs, some textures are procedurally generated. Textures such as wood, marble, stone, bricks, and other patterns are generated using algorithms.

    While the textures have their usefulness in some areas, there are those that require a specific pattern and that's impossible to obtain due the the random number generator and the numbers used to generate the textures.
    John
    Trainz User Since: 12-2003
    Trainz User ID: 124863
    T:ANE Build: 94829
    TRS2019/Trainz-PLUS: 109641

  3. #3
    Join Date
    Nov 2007
    Location
    United States of America, Pennsylvania, Murrysville
    Posts
    4,123
     

    Default

    As they said in Laugh-In" Verly interesting". Perhaps some math fiddling could cleanup the lumpy spline/PBR interface.
    Dick near Pittsburgh, Pa. i5-2500K 4.2ghz, 8gb memory, GTX1060 3gb video card. 111951

  4. #4

    Default

    DTG TS also refers to procedural grass and flora, i.e. auto generates along with the texture.

    Mind you spline is another invented word which I can't recall seeing prior to the emergence of the train sim hobby, though in point of fact it was coined by the people who did 3D Railroad Master which precede Trainz by some years. Auran as they were then latched on to it in order to describe their version of flexible/stretchy linear assets, mainly track.
    Building In TRS19, Driving Trucks In Snowrunner

  5. #5
    Join Date
    Nov 2006
    Location
    was in the Netherlands
    Posts
    5,409
    Blog Entries
    1
     

    Default

    According to my dictionary a spline is a mathematical term that long predates any train sim.
    A spline curve is a mathematical representation for which it is easy to build an interface that will allow a user to design and control the shape of complex curves and surfaces. The general approach is that the user enters a sequence of points, and a curve is constructed whose shape closely follows this sequence.
    Sort of sums up nicely what happen in Trainz. We specify the start and end points and whether the previous and subsequent splines have a straightened parameter applied and the track is generated. Elevations also need to be considered when junctions have to be created hence the red circles when not within track norms.


    70337:
    TRS19 Platinum, build 110491 SP2, Win10 Pro 64 bit, i7-7700 3.6GHz 16 GB, GTX 1070 Ti

  6. #6
    Join Date
    May 2007
    Location
    United Kingdom, Cheshire
    Posts
    4,014
     

    Default

    Spline is a very old word, used in shipbuilding when wood was the main material: a spline is a long strip of wood used for filling. The word has come through time and is now generally used in engineering.

    https://www.dictionary.com/browse/spline

    Rob.

  7. #7
    Join Date
    Nov 2006
    Location
    Australia, NSW, Sydney
    Posts
    7,913
    Blog Entries
    3
     

    Default

    I have also seen the term "spline" used in early (1980s) image morphing software.
    Trainz Plus build 111951 and build 114205
    Trainz Simulator 3 (Mobile)

  8. #8
    Join Date
    Nov 2006
    Location
    South Africa, West Cape, Sedgefield
    Posts
    1,150
     

    Default

    And in hardware terms, a spline shaft is one that has flutes, allowing a gear with a corresponding hole milled into it to slide along the shaft and still have a positive drive, such as found in rear-wheel drive propeller shafts of motor vehicles. Google for Spline shaft.

    Trevor

Posting Permissions

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