Page 1 of 1

CustomGraphicsEngine: Samples for pictures and masks

Posted: Wed Jun 15, 2005 11:06 pm
by Zyx
This is the picture for the floor:
Image

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  |    |
     ----------------
Image Image Image Image Image

Image Image Image

Image Image Image

Image Image Image

(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.

Posted: Thu Jun 16, 2005 1:29 am
by Paul Stevens
For the sake of time and space these masks could be
made smaller. There should not be any horizontal white
lines at the top or the bottom and there should never
be more than 15 vertical white lines on the sides.

I may add a check and a warning for that.