Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30

Thread: Track and Inertial Modelling

  1. #11

    Default

    Quote Originally Posted by StevenSam View Post
    Are there any other sources of information I could look into as I can't access ElvasTower?
    Why can't you access ET ?

    Something they do not like about your personal details !

  2. #12

    Default

    @OTTODAD,

    I can't access the forums without being logged in, and when I click on the registration link, I get the following message:

    "[#10123] The administrator is currently not accepting new membership registrations."

  3. #13
    Join Date
    May 2010
    Location
    Melbourne, Australia
    Posts
    628

    Default

    I also tried to sign up to ET a little while back and got the same message. I thought it might have been a precautionary measure to prevent some of the "hijackings" that were going on in the MSTS world then, but a few days ago when I tried again, I got the same result.

  4. #14

    Default

    Quote Originally Posted by ossie View Post
    I also tried to sign up to ET a little while back and got the same message. I thought it might have been a precautionary measure to prevent some of the "hijackings" that were going on in the MSTS world then, but a few days ago when I tried again, I got the same result.
    Yes. looks like ET is still suffering from the effects of what Kraus-Yao did !

    http://www.elvastower.com/forums/index.php?/topic/26759-elvas-tower-is-closing/

  5. #15
    Join Date
    Apr 2003
    Location
    Silicon Valley, CA, USA.
    Posts
    3,385

    Default

    That's right, Elvastower.com is not accepting new members at this time. When I decide it's time to change that then new members will be accepted again. This thread probably isn't the place to discuss this further and I'm not going to explain anything elsewhere.
    Dave Nelson

    Seldom visiting, posting less often that that.

  6. #16

    Default

    Thanks for info... So, I'll try to focus my efforts on a narrower scope. I would really like to understand the format / data structure of the track representations. Can someone help with this, or let me know where I could find help?

    I am completely new to the software here, but I am an experienced engineer and programmer. What is the file hierarchy? I have noticed there are Track files, track databases, etc. If I wanted to write a program that did nothing but load a model of a track into memory for me to manipulate somehow, what would I need to do? Which files would I need to open, and how is data stored within those files?

    Is there a binary data structure, or is the data stored as ASCII or what?

    Thanks again all, I appreciate the help.

    Regards,
    -Steve

  7. #17
    Join Date
    Feb 2013
    Location
    known universe
    Posts
    1,935

    Default

    Quote Originally Posted by StevenSam View Post
    Thanks for info... So, I'll try to focus my efforts on a narrower scope. I would really like to understand the format / data structure of the track representations. Can someone help with this, or let me know where I could find help?...
    -Steve
    This item below was suggested for reading (I'm in the learning stage about route and track editing) by Carlo Santucci (on the Open Rails development team) it may provide some information you are looking for. I'm really not sure, this whole thread is waaayyy beyond me, but interesting, nonetheless.

    I downloaded some time ago at UKtrainsim (uktrainsim.com) the file with ID 22427, "TDB Primer v1.2.pdf" by SDTrains, that is an excellent document that also has some precise suggestions about how to repair the .tdb file. I'd expect that parts of it apply also to the .rdb file.
    Cheers, R. Steele [Gerry] It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.


  8. #18
    Join Date
    Apr 2003
    Location
    Silicon Valley, CA, USA.
    Posts
    3,385

    Default

    Quote Originally Posted by StevenSam View Post
    Thanks for info... So, I'll try to focus my efforts on a narrower scope. I would really like to understand the format / data structure of the track representations. Can someone help with this, or let me know where I could find help?

    I am completely new to the software here, but I am an experienced engineer and programmer. What is the file hierarchy? I have noticed there are Track files, track databases, etc. If I wanted to write a program that did nothing but load a model of a track into memory for me to manipulate somehow, what would I need to do? Which files would I need to open, and how is data stored within those files?

    Is there a binary data structure, or is the data stored as ASCII or what?

    Thanks again all, I appreciate the help.

    Regards,
    -Steve

    http://openrails.org/contribute/developing-code/

    That should help. They're also rather short on help right now so if you wanted to sign up I'll wager your offer would be quite welcomed.
    Dave Nelson

    Seldom visiting, posting less often that that.

  9. #19

    Default

    Thanks guys,

    @R. Steele, I have a feeling that I've read the TDB Primer document before, but I can't seem to find it again, do you have a link to where it lives?

    @ muskokaandtahoe, I have already downloaded the sourcecode, however the soltuion seems to be made up fo a lot of different projects, and as it alll seems to be broken down into quite discrete blocks of functionality, I am unable to find where in the code a track file (or database, or whatever) is opened, parsed and put into a data structure / class. If you do have any idea about which project, or file handles this that would be amazing.

    Thanks again guys,
    -Steve

  10. #20

    Default

    I'v had a look through some of the files, and I was hoping someone could explain some of the terms.

    Within the *.rdb file, the content seems to be along the lines of:
    TrackDB (
    Serial ( 1726 )
    TrackNodes ( 2643
    TrackNode ( 1
    TrEndNode ( 0 )
    UiD ( -6115 15145 1820 2 -6115 15145 850.105 51.2188 -799.334 -0.00521607 -2.19303 -0.000456356 )
    TrPins ( 1 0
    TrPin ( 1021 0 )
    )
    )
    TrackNode ( 2
    TrEndNode ( 0 )
    UiD ( -6115 15145 3026 0 -6115 15145 981.283 50.3211 -709.805 0 -0.360445 0 )
    TrPins ( 1 0
    TrPin ( 22 1 )
    )
    )
    TrackNode ( 3
    TrEndNode ( 0 )
    UiD ( -6115 15145 908 1 -6115 15145 575.434 50.7929 -54.5506 0.0182562 -0.475623 -0.00159736 )
    TrPins ( 1 0
    TrPin ( 81 0 )
    )
    )

    Can someone explain these structures. What are the UiD's and TrPins? What are the numbers within the brackets for each of these, co-ordiantes?

    What is the significance of TrEndNode ( 0 )?


    Some track nodes have a TrVecotNode, TrVecotrSections and TrItemRefs, what are these?


    TrackNode ( 461
    TrVectorNode (
    TrVectorSections ( 17 1 144 -6126 15147 465 1 0 00 -6126 15147 -76.0888 54.377 710.25 -0.0523598 1.28021 -1.26834e-007 209 151 -6126 15147 464 2 3 00 -6126 15147 -28.2506 56.9938 724.556 -0.0370156 1.28021 -0.0370408 1 144 -6126 15147 463 2 3 00 -6126 15147 -3.65134 58.5296 744.591 -0.0523598 0.494133 1.37526e-007 217 137 -6126 15147 462 2 3 00 -6126 15147 20.0299 61.1464 788.55 0 0.494137 0 2 127 -6126 15147 461 1 0 00 -6126 15147 29.5155 61.1464 806.158 -0.0523598 0.494141 -1.22171e-007 270 196 -6126 15147 460 2 3 00 -6126 15147 76.8781 66.3799 894.074 -0.0515637 0.494142 -0.00910015 2 127 -6126 15147 459 2 3 00 -6126 15147 94.1988 68.6656 934.282 0 0.319379 0 209 133 -6126 15148 316 2 3 00 -6126 15148 125.597 68.6656 -1018.78 0.0523599 0.31938 1.91506e-008 220 140 -6126 15148 317 2 3 00 -6126 15148 123.258 67.2409 -987.133 0.0523599 5.81648 -1.44231e-008 2 127 -6126 15148 318 1 0 00 -6126 15148 113.299 66.4699 -974.388 0.0523599 5.4233 -1.08182e-007 208 133 -6126 15148 319 1 0 00 -6126
    15148 37.6261 61.2363 -909.225 0.0523598 5.42329 7.46081e-009 1 126 -6126 15148 320 2 3 00 -6126 15148 24.3855 59.7004 -882.944 0.0523599 6.20937 -6.67033e-010 217 137 -6126 15148 321 2 3 00 -6126 15148 20.7034 57.0836 -833.148 0 6.20937 0 2 127 -6126 15148 324 2 3 00 -6126 15148 19.2285 57.0836 -813.202 0.0523599 6.20937 -6.67033e-010 2 127 -6126 15148 325 1 0 00 -6126 15148 11.8643 51.85 -713.611 0 6.20937 0 2 127 -6126 15148 326 2 3 00 -6126 15148 4.48974 51.85 -613.884 -0.0523599 6.20936 -4.98688e-010 3 128 -6126 15148 327 2 3 00 -6126 15148 -2.87497 57.0836 -514.293 0 6.20936 0 )
    TrItemRefs ( 2
    TrItemRef ( 359 )
    TrItemRef ( 358 )
    )
    )
    TrPins ( 1 1
    TrPin ( 459 1 )
    TrPin ( 458 1 )
    )
    )



    In the *.tdb file looks similar, what is the difference between these files, and how are they meant to be used together?


    TrackDB (
    Serial ( 1724 )
    TrackNodes ( 1101
    TrackNode ( 1
    TrJunctionNode ( 0 39000 0 )
    UiD ( -6130 15149 164 0 -6130 15149 -171.709 35.9139 -39.343 0.00167127 2.01677 0.000119041 )
    TrPins ( 1 2
    TrPin ( 1016 1 )
    TrPin ( 37 0 )
    TrPin ( 1017 0 )
    )
    )
    TrackNode ( 2
    TrVectorNode (
    TrVectorSections ( 11 38511 38521 -6130 15149 157 2 3 00 -6130 15149 738.886 34.5611 -234.158 0 4.91008 0 38512 38522 -6130 15149 158 2 3 00 -6130 15149 689.86 34.5611 -224.337 0 4.91008 0 38513 38523 -6130 15149 3 2 3 00 -6130 15149 591.806 34.5611 -204.696 -0.00167546 4.91008 -2.81741e-008 38513 38523 -6130 15149 4 2 3 00 -6130 15149 395.702 34.8962 -165.414 -0.00167555 4.91008 4.81364e-008 38512 38522 -6130 15149 5 2 3 00 -6130 15149 199.598 35.2312 -126.131 -0.00167559 4.91008 4.07441e-008 38512 38522 -6130 15149 135 2 3 00 -6130 15149 101.546 35.3988 -106.49 -0.00167551 4.91008 -3.20286e-009 38509 38520 -6130 15149 138 2 3 00 -6130 15149 3.49436 35.5662 -86.8485 -0.00167551 4.91008 2.44329e-009 40106 40045 -6130 15149 134 1 0 00 -6130 15149 -25.9076 35.6266 -80.958 -0.002484 4.90994 0.000121763 40105 40045 -6130 15149 134 1 0 00 -6130 15149 -32.9675 35.6444 -79.5449 -0.002484 4.90994 0.000121763 38785 39538 -6130 15149 132 1 0 00 -6130 15149 -108.909 35.838 -62.399 0 4.95894 0 36366
    39400 -6130 15149 130 2 0 00 -6130 15149 -129.808 35.838 -56.1584 -0.00167171 5.0462 0.0001148 )
    TrItemRefs ( 13
    TrItemRef ( 2037 )
    TrItemRef ( 2039 )
    TrItemRef ( 2041 )
    TrItemRef ( 2035 )
    TrItemRef ( 1054 )
    TrItemRef ( 1055 )
    TrItemRef ( 2042 )
    TrItemRef ( 2046 )
    TrItemRef ( 2048 )
    TrItemRef ( 2044 )
    TrItemRef ( 1042 )
    TrItemRef ( 1058 )
    TrItemRef ( 1057 )
    )
    )
    TrPins ( 1 1
    TrPin ( 3 1 )
    TrPin ( 4 0 )
    )
    )




    Thanks very much for your help.

    Regards,
    -Steve

Tags for this Thread

Posting Permissions

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