Elvas Tower: Jerky superelevation effect - Elvas Tower

Jump to content

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

Jerky superelevation effect Rate Topic: -----

#1 User is offline   Csantucci 

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

Posted 01 July 2016 - 10:01 AM

I think it's not only me that is experiencing here and there jerky superelevation effects.
I have now isolated what I think could be a test case, in the Europe1 route, with attached path
Attached File  Testfreightweight.zip (459bytes)
Number of downloads: 229
More or less at this point
Attached Image: Jerky.jpg
the loco abruptly changes inclination, which can be best seen with camera #8. Coming from the left (from the switch) the loco inclines, however after some meters it returns to an almost vertical position. I checked with the route editor what track pieces are present there. After the switch there is a curved section A1tEndPnt10dLft.s and then a curved section A1t500r20d.s. When the loco reaches this second section, the loco inclination is abruptly reduced.

With release 1.0 the transition is smooth.

By the way with release 1.0 cameras 2 and 3 don't incline following the train inclination. I prefer it.

#2 User is offline   dennisat 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 474
  • Joined: 16-February 13
  • Gender:Male
  • Simulator:Open Rails & MSTS
  • Country:

Posted 01 July 2016 - 10:37 AM

View PostCsantucci, on 01 July 2016 - 10:01 AM, said:

By the way with release 1.0 cameras 2 and 3 don't incline following the train inclination. I prefer it.


Yes, I don't like it either so I soon patched my personal copy so that they don't incline.

Dennis

#3 User is offline   Csantucci 

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

Posted 01 July 2016 - 12:40 PM

View Postdennisat, on 01 July 2016 - 10:37 AM, said:

Yes, I don't like it either so I soon patched my personal copy so that they don't incline.

Dennis

Could you please attach the patch here? :)

#4 User is offline   Hamza97 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 606
  • Joined: 01-March 15
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 01 July 2016 - 09:21 PM

Yes, i too experience the jerky effect on places along the route, mostly on same location... :) :)

#5 User is offline   dennisat 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 474
  • Joined: 16-February 13
  • Gender:Male
  • Simulator:Open Rails & MSTS
  • Country:

Posted 01 July 2016 - 10:49 PM

View PostCsantucci, on 01 July 2016 - 12:40 PM, said:

Could you please attach the patch here? :)


Here it is, I hope it works OK for you. I'm not a games programmer, I Google a bit and look around for examples of what I want to do.

Attached File  cameras_cs.zip (561bytes)
Number of downloads: 193

#6 User is offline   Csantucci 

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

Posted 02 July 2016 - 09:30 AM

Thanks Dennis,
yes, it works. The checks for FreeRoamCamera and TracksideCamera are not necessary, because the patched method isn't used for such cameras (there is another version of the method), and in fact such two cameras already don't follow the inclination of the train.
If no one is against this patch, I would upload it as a "bug" correction, because I don't see reason why cameras 2 and 3 should incline like the train.

#7 User is offline   istvanek 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 23-March 15
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 03 July 2016 - 06:27 AM

View PostCsantucci, on 02 July 2016 - 09:30 AM, said:

Thanks Dennis,
yes, it works. The checks for FreeRoamCamera and TracksideCamera are not necessary, because the patched method isn't used for such cameras (there is another version of the method), and in fact such two cameras already don't follow the inclination of the train.
If no one is against this patch, I would upload it as a "bug" correction, because I don't see reason why cameras 2 and 3 should incline like the train.


Yes Carlo. I agree that 2 and 3 cameras should not follow train inclination.

#8 User is offline   Csantucci 

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

Posted 04 July 2016 - 08:38 AM

Attached are replacement .exe and .dll files for x.3591 that solve both the problem of jerkiness and of rotation of camera. Maybe there is still something to be adjusted at game startup.

Here are the two source patches


5/7/16 new release to avoid oscillations of superelevation at accelerated clock speed
Files deleted because patches committed

#9 User is offline   farrmp 

  • Hostler
  • Group: Status: Active Member
  • Posts: 84
  • Joined: 09-July 09
  • Gender:Male
  • Location:San Diego, CA
  • Simulator:OpenRails/MSTS
  • Country:

Posted 04 July 2016 - 09:24 AM

Just a question? I do not use Superelevation at all, but I really ENJ0Y the Cab Sway in ALL the
Camera Views. I am hoping that these changes to Camera Views 2 & 3 will not also eliminate the
Cab Sway from these Views. Hope I am wrong about this.

Paul

#10 User is offline   Csantucci 

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

Posted 04 July 2016 - 09:01 PM

Paul, cab sway is unchanged.
In post #8 I attached a new release of the patches, to avoid possible superelevation oscillation at increased clock speeds.

I've now noticed that tilting trains don't tilt any more. I will try to see what is needed to re-introduce train tilting.

  • 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