View Issue Details

IDProjectCategoryView StatusLast Update
0002736FSSCPgraphicspublic2012-12-03 00:32
Reporterniffiwan Assigned ToValathil  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformHomebrew PCOSLinuxOS VersionMint 13
Product Version3.6.15 
Summary0002736: Odd ship/weapon rotation from aft viewing angles
DescriptionIt's easier to describe with a video:
http://www.youtube.com/watch?v=37JAwah88zA&noredirect=1

This occurs with -ship_choice_3d & -weapon_choice_3d launcher flags enabled. If you have a mod (e.g. BP2) that uses the in-game weapon models in the top right, the same issue occurs with them (i.e. not the ANI's in retail FS2)

It also occurs in the ship loadout screen.

Only appears to occur on Linux/OSX (both chief1983 & Valathil reported not seeing the issue on Windows)
Has occurred on both ATI & NVidia cards

Lastly, the commit that introduced the issue was r9101
Steps To ReproduceEnter either ship or weapon loadout screens.
Or, enter the F3 ship lab and rotate a ship around
Additional InformationThere's a forum thread on the subject here:
http://www.hard-light.net/forums/index.php?topic=82944.0

TagsNo tags attached.

Activities

niffiwan

2012-11-30 10:45

developer   ~0014236

Last edited: 2012-11-30 10:50

I've just found that in addition to the loadout screens, you get the same behavior in the F3 ship lab. If you enable model rotation, the effect is exactly the same as in the loadout screens. If you rotate the model manually with your mouse then any view near directly aft of the model will "snap" to viewing from directly aft, and won't let you move away from directly aft viewpoint until you move the mouse a significant distance.

edit: also - only seems to occur when the ship is in the "upright" orientation. i.e. if you flip the ship upside down and view from aft, everything works normally...

niffiwan

2012-12-02 03:48

developer   ~0014246

And here's a video demonstrating the effect within a mission:

http://www.youtube.com/watch?v=2VDqu3yG9vU&feature=youtu.be

a) the thruster effect is not consistently "tracking" with the ship (i.e. the thrusters might be changing viewing angles correctly, but the model isn't)
b) the ship abruptly switches between viewing angles

Valathil

2012-12-03 00:32

developer   ~0014263

Fix committed to Trunk @ 9389.

Bug was introduced due to using abs in the glCleanup. Linux and Mac have abs declared as abs(int). Changed to fl_abs

Issue History

Date Modified Username Field Change
2012-11-26 09:27 niffiwan New Issue
2012-11-26 09:28 niffiwan Platform Homebrew => Homebrew PC
2012-11-30 10:45 niffiwan Note Added: 0014236
2012-11-30 10:47 niffiwan Steps to Reproduce Updated
2012-11-30 10:50 niffiwan Note Edited: 0014236
2012-12-02 03:48 niffiwan Note Added: 0014246
2012-12-02 03:48 niffiwan Severity minor => major
2012-12-02 04:21 niffiwan Summary Odd ship/weapon rotation in loadout screens => Odd ship/weapon rotation from aft viewing angles
2012-12-03 00:30 Valathil Assigned To => Valathil
2012-12-03 00:30 Valathil Status new => assigned
2012-12-03 00:32 Valathil Note Added: 0014263
2012-12-03 00:32 Valathil Status assigned => resolved
2012-12-03 00:32 Valathil Resolution open => fixed