I can’t seem to get PgSetFillTransPat to work.
I’m trying:
…
PgSetFillTransPat(Pg_PAT_HALF); // or even Pg_PAT_CHECKB8
PgSetFillColor(Pg_YELLOW);
PgDrawPolygon(points, n, &zero, Pg_DRAW_FILL_STROKE | Pg_CLOSED);
but my polygon becomes completely filled.
I tried the -DA switch to the Pg.flatdc32 but no change.
The on-line docs mention that the hardware must support this.
Could someone tell me if I can have transparancy by the contents of
my crt.1 file, attached below ?
thanks in advance
–
Per Åkesson
Carmenta AB
SWEDEN
Per Akesson wrote:
I can’t seem to get PgSetFillTransPat to work.
I’m trying:
…
PgSetFillTransPat(Pg_PAT_HALF); // or even Pg_PAT_CHECKB8
PgSetFillColor(Pg_YELLOW);
PgDrawPolygon(points, n, &zero, Pg_DRAW_FILL_STROKE | Pg_CLOSED);
but my polygon becomes completely filled.
I tried a GeForce 2 card with the following:
Null.ms;Pg.tnt -g1152x864x32 -d0x10de,0x110 -I0 -HNqnx/crt
-DA;#1152,864,32,200,0CBDr,tnt - nVidia Riva TNT/TNT2
But still my polygons gets filled.
Doesn’t the hardware support transparency ? or have I missed something ?
thanks for any input
\
Per Åkesson
Carmenta AB
SWEDEN