Looky1173 / launchpad-bugs-migration2

0 stars 0 forks source link

[BUG n°1184184] Cab and car body do not match with superelevation #713

Closed Looky1173 closed 9 years ago

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/bugs/1184184

Property Value
Reported by Nicholas Ozorak (etozorak)
Date reported Sat, 25 May 2013 18:37:46 GMT
Tags experimental, graphics

Some locomotives use part of the body as a freight animation so that the body may be seen outside of the cab. This is the BLW/ZT Central Vermont GP9. The body is leaning into a turn, but the cab is not, so you see there is a grey vertical bar that shouldn't be there. Version 1605.

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1184184/comments/1

Property Value
Posted by Nicholas Ozorak (etozorak)
Date posted Sat, 25 May 2013 18:37:46 GMT
Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1184184/comments/2

Property Value
Posted by Jijun Tang (jtang-h)
Date posted Fri, 12 Jul 2013 13:21:38 GMT

Where could we get the locomotive?

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1184184/comments/3

Property Value
Posted by Nicholas Ozorak (etozorak)
Date posted Fri, 12 Jul 2013 13:37:21 GMT

http://valleypass.com/Sales/CV.htm

However, any of their GP9, GP7, or Alco S2 locomotives would work for fixing this.

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1184184/comments/4

Property Value
Posted by Jijun Tang (jtang-h)
Date posted Fri, 26 Jul 2013 05:26:37 GMT

Do you have any of those free locomotives that we can download and test?

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1184184/comments/5

Property Value
Posted by Nicholas Ozorak (etozorak)
Date posted Fri, 26 Jul 2013 07:08:57 GMT

fjg_s2s.zip in the Trainsim file library.

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1184184/comments/6

Property Value
Posted by Jijun Tang (jtang-h)
Date posted Wed, 25 Sep 2013 02:41:54 GMT

OK, this is more difficult than I thought as to make the cab move nicely with the animated freight body, we need a cab texture much larger than the current size so we do not have gaps along the edges. Currently I have committed a code to avoid cab sway and body rotation if the locomotive has freight animation.

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1184184/comments/7

Property Value
Posted by Carlo Santucci (carlosanit1)
Date posted Sat, 28 Sep 2013 17:10:07 GMT

Some consists use freight animation to display the interior of the consist (e.g. many EMUs of the Bernina railway, the M90_SBB_CFF_FFS_Etr610 Pendolino tilting train). This interior is not visible from the cab so it gave no problems with superelevation. With this modification unfortunately such rolling stock does not rotate any more on superelevation. Waiting that you solve the problem, maybe you could temporarily insert an experimental checkbox to define if rolling stock with freightanimation rotates or not on superelevation?

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1184184/comments/8

Property Value
Posted by Jijun Tang (jtang-h)
Date posted Wed, 02 Oct 2013 16:00:29 GMT

Alt-R can now toggle cab rotation.

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1184184/comments/9

Property Value
Posted by Carlo Santucci (carlosanit1)
Date posted Wed, 02 Oct 2013 19:55:38 GMT

Jijun, thanks for this intermediate solution!

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1184184/comments/10

Property Value
Posted by Jijun Tang (jtang-h)
Date posted Thu, 03 Oct 2013 21:24:06 GMT

Fixed the problem by rotating cab camera correctly, so the FA rotates with the body now. Alt-R is changed to adjust the amount of cab rotation.

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1184184/comments/11

Property Value
Posted by Jijun Tang (jtang-h)
Date posted Thu, 03 Oct 2013 21:24:16 GMT

Fixed in 1795.