Announcement

Collapse
No announcement yet.

Replacement A-Tracks Disappear with Fog

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Replacement A-Tracks Disappear with Fog

    It seems like fog causes the replacement A-tracks and ballast to disappear. This example is on the ATSF La Junta-Pueblo Sub. When I restore the old shape files from 2001 in the Global folder it looks normal. You can test it quickly with Shift and - (decrease) or = (increase). I'm using default-track-atrack-28may24.zip (File ID 88570).

    Click image for larger version

Name:	Open Rails 2024-10-14 09-41-53.jpg
Views:	8876
Size:	85.8 KB
ID:	2313561 Click image for larger version

Name:	Open Rails 2024-10-14 09-40-14.jpg
Views:	454
Size:	179.6 KB
ID:	2313562

    #2
    I concur, though never ran with this much Fog. With same degree of Fog and position from ground level, can see road textures fine, yet track texture is completely in "white out". Other 3D objects appear fine.
    Click image for larger version  Name:	Open Rails 2024-10-15 02-02-28.jpg Views:	0 Size:	19.2 KB ID:	2313564
    Taken on Pocahontas Route.
    Owner and CEO of Hart Rail Lines & Hart Commuter Railways, and Hart Rail Cars.
    It's my Train Sim world so I run HART RL anywhere I want.

    Comment


      #3
      Just ran a quick test with different track textures.

      Bluefield: can see track

      Click image for larger version

Name:	Open Rails 2024-10-15 02-26-52.jpg
Views:	1277
Size:	36.9 KB
ID:	2313566

      Mactier some pieces go to 'whiteout':

      Click image for larger version

Name:	Open Rails 2024-10-15 02-25-04.jpg
Views:	434
Size:	22.6 KB
ID:	2313567

      Could that be dynamic track pieces?
      Owner and CEO of Hart Rail Lines & Hart Commuter Railways, and Hart Rail Cars.
      It's my Train Sim world so I run HART RL anywhere I want.

      Comment


        #4
        Ran a test in video - from cabview without cab textures -interesting as track pieces seem to appear and disappear then reappear with full fog.
        track test.zip
        Owner and CEO of Hart Rail Lines & Hart Commuter Railways, and Hart Rail Cars.
        It's my Train Sim world so I run HART RL anywhere I want.

        Comment


          #5
          Perhaps the fog is creating some Z fighting with the alphas, or maybe LOD confusion. Anyone know how it's implemented?

          Sent from my SM-S911U using Tapatalk

          If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, items saved in our library or the ongoing development of our TSRE Fork, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

          Comment


            #6
            Running the new VRE Activities on RFP3

            Here's some shots, this seems to appear on runs of straight track only as track fades in and out.

            Start of the Part1 Act all is well, seen here after Fredricksburg:
            Click image for larger version

Name:	Open Rails 2024-10-22 01-11-41.jpg
Views:	532
Size:	77.3 KB
ID:	2313806

            Later as more fog set in track began to white out: time 07:56:30
            Click image for larger version

Name:	Open Rails 2024-10-22 01-25-59.jpg
Views:	283
Size:	63.7 KB
ID:	2313807
            Nearly whited out -Time 07:56:44

            Click image for larger version

Name:	Open Rails 2024-10-22 01-26-14.jpg
Views:	282
Size:	61.4 KB
ID:	2313809
            Beginning to return - Time 07:56:50

            Click image for larger version

Name:	Open Rails 2024-10-22 01-26-20.jpg
Views:	286
Size:	62.6 KB
ID:	2313810
            Now back to normal - Time 07:56:55
            Click image for larger version

Name:	Open Rails 2024-10-22 01-26-24.jpg
Views:	287
Size:	70.7 KB
ID:	2313811

            All in a matter of 25 seconds, and continues like this on straight sections, fading in and out.
            Attached Files
            Owner and CEO of Hart Rail Lines & Hart Commuter Railways, and Hart Rail Cars.
            It's my Train Sim world so I run HART RL anywhere I want.

            Comment


              #7
              This shot as a good example.
              Click image for larger version  Name:	Open Rails 2024-10-15 02-22-31.jpg Views:	0 Size:	24.5 KB ID:	2313813
              Note the switch the engine is on is in fair detail, the switching piece going to the left is totally whited out, and the other straight piece to the left is less whited out.
              Owner and CEO of Hart Rail Lines & Hart Commuter Railways, and Hart Rail Cars.
              It's my Train Sim world so I run HART RL anywhere I want.

              Comment


                #8
                Hope the activities are running smoothly for you. Another error that I was getting when testing the 312 activity that may or may not be related to this was "Warning: At least one precipitation index is out of bounds: x = 256, z = 154, Location.X = 1024, Location.Z = 208.66, BlockSize = 8, HeightDimensionX = 256, HeightDimensionZ = 256 ; fixing it" That also seemed to go away when changing back to the 2001 track shapes. I ended up dialing back the precip intensity and the error went away.

                Comment


                  #9
                  Originally posted by wmuzeke View Post
                  Hope the activities are running smoothly for you.
                  So for other than the track and fog issue, find it is running fine.

                  I was doing a little testing and went to one of my routes that I use the US Track version. Again in the issue only appears to happen with straight track and is not uniform as pictured:

                  Notice depth of Whiteout is not unform with all track pieces. Those further away are seen clearer. None of this track is dynamic either. As I panned the camera the amount of whiteout does not change with each track piece, (close or distant).

                  Click image for larger version  Name:	Open Rails 2024-10-25 02-35-05.jpg Views:	0 Size:	44.4 KB ID:	2313914

                  Click image for larger version  Name:	Open Rails 2024-10-25 02-36-19.jpg Views:	0 Size:	35.0 KB ID:	2313915
                  Here precipitation and overcast was removed, fog only.

                  Click image for larger version  Name:	Open Rails 2024-10-25 02-37-41.jpg Views:	0 Size:	56.2 KB ID:	2313916
                  Owner and CEO of Hart Rail Lines & Hart Commuter Railways, and Hart Rail Cars.
                  It's my Train Sim world so I run HART RL anywhere I want.

                  Comment


                    #10
                    I'm wondering if there's something wrong with the normal vectors given inside the shape files. Funky lighting usually means funky normals.
                    ​​​
                    ​Contributing to ORTS on GitHub as SteelFill

                    Comment


                      #11
                      Could be. The shapes themselves are script generated from Doug Jones' trackshape.py for Blender.
                      If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, items saved in our library or the ongoing development of our TSRE Fork, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

                      Comment


                        #12
                        Originally posted by eric View Post
                        Could be. The shapes themselves are script generated from Doug Jones' trackshape.py for Blender.
                        Does the code from Doug Jones "dump" the created shape in blender BEFORE export to .s? If it does, it is rather simple to see the "normals" to the plane of each polygon. If those "normals" to the polygon plane are missing or errant, they can be re-created to point outwards. This might be also done programmatically in python in blender as an extra step. I am sure that Pete could look into this, when he has some time.

                        If this is not the source of trouble, then, have you tried different versions of OR to see if the same effect occurs? Very sadly, simple text file editing of the .fx files has been trashed with more recent versions of OR. Any changes you make with .fx files have to be re-compiled before you can see their effects, if any, in runactivity.exe. I have written elsewhere that this is a huge step backwards to the .xnb days with the XNA platform we once used.

                        The alligators of life are still biting my rear, so there is little time at present to indulge in one of my favorite hobbies. Some other kind soul will have to do this work. A long, hot summer, keeps my sim machines off for many months to save on AC costs.

                        Steve

                        Comment


                          #13
                          Howdy y'all,

                          This issue with fog is not new and has been around for a couple of years. I believe I first noticed it with the introduction of "weather randomization" in the options of OR. If I were to hazard a guess, I would have a look at the shader used in the X-Track shapes. BlendATexDiff might be a culprit. As I said, just a guess.

                          Peter

                          Comment


                            #14
                            BlendATexDiff is definitely used. What's a better alternative to preserve the alpha?

                            Sent from my SM-S911U using Tapatalk

                            If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, items saved in our library or the ongoing development of our TSRE Fork, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

                            Comment


                              #15
                              Originally posted by eric View Post
                              BlendATexDiff is definitely used. What's a better alternative to preserve the alpha?

                              Sent from my SM-S911U using Tapatalk
                              Hi Eric,

                              I did a quick Google search this morning and the only shader that I could find that might work is one called... "AddATexDiff". I believe that Railworks uses the same shaders as MSTS and Open Rails, as I found it in a link to them. Hopefully OR can support this, otherwise we'll just have to keep using the "Shift + -" to tone down the fog issues.

                              Peter

                              Comment

                              Working...
                              X