Elvas Tower: Some dynamic tracks render wrong - Elvas Tower

Jump to content

  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

Some dynamic tracks render wrong Rate Topic: -----

#11 User is offline   eric from trainsim 

  • Waste Disposal Engineer
  • Group: Private - Open Rails Developer
  • Posts: 1,571
  • Joined: 30-October 10
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 19 May 2015 - 04:30 AM

It's interesting to me that it took 10+ years for someone to try that, instead of just flipping the pieces...

#12 User is offline   copperpen 

  • Executive Vice President
  • Group: Status: Elite Member
  • Posts: 3,143
  • Joined: 08-August 05
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 19 May 2015 - 06:11 AM

View PostLutz_s, on 19 May 2015 - 04:08 AM, said:

That's the normal way. Goku has implemented the dynamic tracks in his route editor with both directions. MSTS knew only left curves.


Ah. That is why the error popped up. . I never did like the MSTS dynamic curve tool. I think I will give the new one a try.

#13 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 08 December 2016 - 10:39 PM

I see this bug is still not fixed.

But now I see that not only shape rendering is broken, but track paths too. And I don't know how is it even possible? Why train does not just follow TDB and tsection path?

http://www.elvastowe...962#entry211962

#14 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 09 December 2016 - 02:00 AM

Example route that shows this bug:

http://koniec.org/cc...ntrack_test.zip

Two dyntracks are only rendering wrongly but third dyntrack "20m strt, A .500 100r curve, 20m strt" does something weird things with trains.*

Everything works ok in MSTS Game and MSTS RE.

* It turns out that weird train circles was TSRE bug wisible only in OpenRails.
Was:
TrackSection ( SectionCurve ( 0 ) 40038 30 15 )
Should be:
TrackSection ( SectionCurve ( 0 ) 40038 30 0 )

In MSTS and TSRE it was not visible, because these apps choose between line/curve by SectionCurve ( LINE/CURVE ), not second value.

#15 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,996
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 09 December 2016 - 01:49 PM

The problem is probably in the Decompose method in runactivity\viewer3D\DynamicTrack.cs. Not sure I'll find it out, it's full of matrixes there :sweatingbullets:

#16 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 09 December 2016 - 11:58 PM

In TSRE that small part of code does it:
1. TSRE works like OR
2. TSRE fix
3. OR ..

http://i.imgur.com/0xkWlvh.png

#17 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 10 December 2016 - 12:05 AM

I think in OR the fix might look like this:

(don't have environment configured, can't check if it works)

http://i.imgur.com/P1bdyJK.png

#18 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,996
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 10 December 2016 - 12:27 AM

Thanks Goku, that did it!

Attached Image: dyntracks.jpg

I prepare the complete patch now (the same problem occurs also on overhead wire and on superelevated tracks).

#19 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 10 December 2016 - 12:36 AM

Thanks. Please tell when the new version will be available for download.

#20 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,996
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 10 December 2016 - 01:02 AM

In x.3687 I uploaded the patch for standard dynamic track. Still to be solved for superelevated track and overhead wire, because simply applying the same patch does not work.

  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users