[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Yeesss, I did it ! I have finished to merge P3D v1.7 with Allegro.
Phewww...
Since it is a (very) big patch I've uploaded it to the Patch Manager at
SourceForge. The patch contains the whole P3D 1.7 functionalities
(z-buffer has already been merged) :
- scanline rendering (see the new file scene3d.c)
- transparent textures rendering
I'll update the docs later.
There is also a minor bug fix (Ben Davis noticed some time ago that some
"funny" things were drawn for GRGB rendering in 8 bits)
Note that :
- When I added the new rendering modes the file iscan.s became so big
that I had to split it into 2 files : iscan.s and iscanmmx.s
- Polygons now behave accordingly to bmp->clip. I know this won't speed
things up but I did it for the sake of it :-) Now docs are right : every
graphics primitive take this flag into account (so far 3d polygons did
not)
- I have added the new transparent rendering modes to ex3d so that
everyone can test them and give me info back.
- I finally moved the fceil() function to inline headers (alinline.h
al386gcc.h al386vc.h and al386wat.h). I did it because scene3d.c also
need fceil() so it can't remain "static" in poly3d.c. The MSVC and
Watcom version are untested since I don't have those compilers. I coded
them by copying/pasting other ASM functions. Please, can someone debug
them ?
Bertrand.