CustomGraphicsEngine: Samples for pictures and masks
Posted: Wed Jun 15, 2005 11:06 pm
				
				This is the picture for the floor:

Those are the masks:
 
 
 
 
 
 
 
 
 
 
(I may have made some small mistakes)
Note also that some locations are not used: the masks at distance 4 (0,4,6,5,1) and the walls on the far sides (2,3,10,11).
When transforming the masks to .bin files, you have to precise their coordinates: where should they be aplied on the floor picture, and where should the result mask + floor picture should be displayed on the viewport.
			
Those are the masks:
Code: Select all
--------------------------
| 0  | 4  | 6  | 5  | 1  |
|    |    |    |    |    |
--------------------------
| 2  | 7  | 9  | 8  | 3  |
|    |    |    |    |    |
--------------------------
| 10 | 12 | 14 | 13 | 11 |
|    |    |    |    |    |
--------------------------
     | 15 | 17 | 16 |
     |    |    |    |
     ----------------
     | 18 | 20 | 19 |
     |    | P  |    |
     ----------------
 
 
 
 
 
 
 
 
 
 
(I may have made some small mistakes)
Note also that some locations are not used: the masks at distance 4 (0,4,6,5,1) and the walls on the far sides (2,3,10,11).
When transforming the masks to .bin files, you have to precise their coordinates: where should they be aplied on the floor picture, and where should the result mask + floor picture should be displayed on the viewport.