View Issue Details

IDProjectCategoryView StatusLast Update
0002189FSSCPlauncherpublic2010-04-21 21:13
ReporterHerra Tohtori Assigned ToThe_E  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.6.12 RC2 
Summary0002189: It is possible to set field of view value to zero with the custom command line, resulting in OpenGL errors and crashes.
DescriptionIf user sets

"-fov 0."

without values after the period, the game accepts this normally and doesn't inform user of an error nor revert to default field of view. And apparently the rendering engine goes berzerk when it tries to use zero field of view - unsurprisingly.

Of course this is in its core an user error, but bad values should still be filtered out from this kind of inputs, right?
Additional InformationI encountered this problem all of a sudden while testing BP:WiH missions. The opening cutscene - when it set its own field of view - initially worked, but when the field of view tried to use the value given in the erroneous command line input, the screen went black (most likely triggering similar render-cut off as the recently discovered match speed with sabotaged engines issue), showing only comm messages and HUD information in other missions. In a regular mission, target model was rendered in the upper left corner.

I initially thought I had some sort of GPU driver corruption or even graphics card failure at my hands, until I noticed the missing part of the -fov command line entry resulting from distraction while changing it.
TagsNo tags attached.

Activities

2010-04-21 18:29

 

fs2_open.log.7z (136,986 bytes)

Herra Tohtori

2010-04-21 18:31

reporter   ~0011901

I didn't exactly know whether to put this on launcher issues or some other place...

The_E

2010-04-21 20:44

administrator   ~0011902

Last edited: 2010-04-21 21:13

Fix committed to trunk revision 6073

Issue History

Date Modified Username Field Change
2010-04-21 18:29 Herra Tohtori New Issue
2010-04-21 18:29 Herra Tohtori File Added: fs2_open.log.7z
2010-04-21 18:31 Herra Tohtori Note Added: 0011901
2010-04-21 20:44 The_E File Added: fovcline.patch
2010-04-21 20:44 The_E Note Added: 0011902
2010-04-21 21:10 The_E File Deleted: fovcline.patch
2010-04-21 21:13 The_E Note Edited: 0011902
2010-04-21 21:13 The_E Status new => assigned
2010-04-21 21:13 The_E Assigned To => The_E
2010-04-21 21:13 The_E Status assigned => resolved
2010-04-21 21:13 The_E Resolution open => fixed