Re: transparency mapping with video ...

New Message Reply Date view Thread view Subject view Author view

Simon Gibbs (simon++at++viswiz.gmd.de)
Thu, 12 Jan 95 8:36:41 MET


>
>
> After checking all the Sirius 1.1 demo programs provided with 5.3 IRIX, I
> have a question about using RGBA video as a map and alpha channel as key
> for transparency ... None of the demos seems to use alpha channel in
> video for transparency but is this function available ? ... When I try
> transparency mapping the full map get wrong and opaque ... when transparency
> is off everything running fine !
> Thank's to everyone ...
>

I've experimented with transparent video textures using a Sirius.
The key elements in the program are:

        texPacking.intVal = SIR_TEX_PACK_RGBA_4;
        vlSetControl(vlSvr, ... VL_PACKING, &texPacking);

        ...

        pfTexFormat(... PFTEX_INTERNAL_FORMAT, TX_RGBA_4);
        numComponents = 4;
        pfTexImage(... numComponents ...);
        /*
         * NOT numComponents = SIR_VEN_16BIT_TEXEL;
         * as one of the demo programs implies
         */

        ...

        subtexload(... SIR_VEN_16BIT_TEXEL);

Regards,
Simon Gibbs


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:51 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.