Splitscreen doesnt work with more than 4 players

Bug #656996 reported by Jannik Waschkau
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RageTracks
Fix Released
Undecided
Carsten Pfeffer

Bug Description

If you add the 5th player the Splitscreen segmentation wont be right.

Revision history for this message
Carsten Pfeffer (tuschcarsten) wrote :

with four players it doesn't work either

Revision history for this message
pinguin999 (pinguin999) wrote :

the bug is not in calculateRegions()

Test:
        for i in range(1,10):
            print i, self.calculateRegions(i)

1 [(0.0, 1.0, 0.0, 1.0)]
2 [(0.0, 0.5, 0.0, 1.0), (0.5, 1.0, 0.0, 1.0)]
3 [(0.0, 0.5, 0.5, 1.0), (0.5, 1.0, 0.5, 1.0), (0.0, 0.5, 0.0, 0.5), (0.5, 1.0, 0.0, 0.5)]
4 [(0.0, 0.5, 0.5, 1.0), (0.5, 1.0, 0.5, 1.0), (0.0, 0.5, 0.0, 0.5), (0.5, 1.0, 0.0, 0.5)]
5 [(0.0, 0.33333333333333331, 0.5, 1.0), (0.33333333333333331, 0.66666666666666663, 0.5, 1.0), (0.66666666666666663, 1.0, 0.5, 1.0), (0.0, 0.33333333333333331, 0.0, 0.5), (0.33333333333333331, 0.66666666666666663, 0.0, 0.5), (0.66666666666666663, 1.0, 0.0, 0.5)]
6 [(0.0, 0.33333333333333331, 0.5, 1.0), (0.33333333333333331, 0.66666666666666663, 0.5, 1.0), (0.66666666666666663, 1.0, 0.5, 1.0), (0.0, 0.33333333333333331, 0.0, 0.5), (0.33333333333333331, 0.66666666666666663, 0.0, 0.5), (0.66666666666666663, 1.0, 0.0, 0.5)]
7 [(0.0, 0.33333333333333331, 0.66666666666666663, 1.0), (0.33333333333333331, 0.66666666666666663, 0.66666666666666663, 1.0), (0.66666666666666663, 1.0, 0.66666666666666663, 1.0), (0.0, 0.33333333333333331, 0.33333333333333331, 0.66666666666666663), (0.33333333333333331, 0.66666666666666663, 0.33333333333333331, 0.66666666666666663), (0.66666666666666663, 1.0, 0.33333333333333331, 0.66666666666666663), (0.0, 0.33333333333333331, 0.0, 0.33333333333333331), (0.33333333333333331, 0.66666666666666663, 0.0, 0.33333333333333331), (0.66666666666666663, 1.0, 0.0, 0.33333333333333331)]
8 [(0.0, 0.33333333333333331, 0.66666666666666663, 1.0), (0.33333333333333331, 0.66666666666666663, 0.66666666666666663, 1.0), (0.66666666666666663, 1.0, 0.66666666666666663, 1.0), (0.0, 0.33333333333333331, 0.33333333333333331, 0.66666666666666663), (0.33333333333333331, 0.66666666666666663, 0.33333333333333331, 0.66666666666666663), (0.66666666666666663, 1.0, 0.33333333333333331, 0.66666666666666663), (0.0, 0.33333333333333331, 0.0, 0.33333333333333331), (0.33333333333333331, 0.66666666666666663, 0.0, 0.33333333333333331), (0.66666666666666663, 1.0, 0.0, 0.33333333333333331)]
9 [(0.0, 0.33333333333333331, 0.66666666666666663, 1.0), (0.33333333333333331, 0.66666666666666663, 0.66666666666666663, 1.0), (0.66666666666666663, 1.0, 0.66666666666666663, 1.0), (0.0, 0.33333333333333331, 0.33333333333333331, 0.66666666666666663), (0.33333333333333331, 0.66666666666666663, 0.33333333333333331, 0.66666666666666663), (0.66666666666666663, 1.0, 0.33333333333333331, 0.66666666666666663), (0.0, 0.33333333333333331, 0.0, 0.33333333333333331), (0.33333333333333331, 0.66666666666666663, 0.0, 0.33333333333333331), (0.66666666666666663, 1.0, 0.0, 0.33333333333333331)]

Revision history for this message
Carsten Pfeffer (tuschcarsten) wrote :

Fixed.

The problem was, that the empty camera slots weren't filled with None if you add a single cam
(only by adding multiple ones).

Changed in ragetracks:
status: New → Fix Committed
assignee: nobody → Carsten Pfeffer (tuschcarsten)
Changed in ragetracks:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.