Jerky superelevation effect
#1
Posted 01 July 2016 - 10:01 AM
I have now isolated what I think could be a test case, in the Europe1 route, with attached path
Testfreightweight.zip (459bytes)
Number of downloads: 233
More or less at this point
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
Posted 01 July 2016 - 10:37 AM
#3
Posted 01 July 2016 - 12:40 PM
#4
Posted 01 July 2016 - 09:21 PM
#5
Posted 01 July 2016 - 10:49 PM
Csantucci, on 01 July 2016 - 12:40 PM, said:
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.
cameras_cs.zip (561bytes)
Number of downloads: 198
#6
Posted 02 July 2016 - 09:30 AM
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
Posted 03 July 2016 - 06:27 AM
Csantucci, on 02 July 2016 - 09:30 AM, said:
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
Posted 04 July 2016 - 08:38 AM
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
Posted 04 July 2016 - 09:24 AM
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
Posted 04 July 2016 - 09:01 PM
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.