A method was added to choose a random camera (with a strong preference for TV camera angles for a consistent visual language), along with logic to avoid bad camera angles. An option was added to the UI to choose to use only realistic camera angles (i.e. no chase cam, since that's an impossible camera angle in real life), and the logic accounts for that setting accordingly. Any camera change made by commentary now chooses a random camera instead of defaulting to "TV1." Additionally, logic is in place to avoid choosing the same camera twice, therefore avoiding the sudden slide over motion which happens when focus is turned to a nearby car on the same angle.
Fixes #14
Type of change
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
Testing
Multiple replays were run for several laps to ensure choosing cameras was working as intended.
Description
A method was added to choose a random camera (with a strong preference for TV camera angles for a consistent visual language), along with logic to avoid bad camera angles. An option was added to the UI to choose to use only realistic camera angles (i.e. no chase cam, since that's an impossible camera angle in real life), and the logic accounts for that setting accordingly. Any camera change made by commentary now chooses a random camera instead of defaulting to "TV1." Additionally, logic is in place to avoid choosing the same camera twice, therefore avoiding the sudden slide over motion which happens when focus is turned to a nearby car on the same angle.
Fixes #14
Type of change
Testing
Multiple replays were run for several laps to ensure choosing cameras was working as intended.