qirenz
April 19th, 2005, 02:44 AM
Hi
I using directshow 9 sdk to develop an interface for webcams. I am using VMR9, but the alpha blending don't seem to work. I did the following before adding the bitmap to the VMRbitmapmixer.
pVMR9AlphaBmp->clrSrcKey = RGB(255, 255, 255);
pVMR9AlphaBmp->dwFlags |= VMR9AlphaBitmap_SrcColorKey;
But after adding a bitmap, I do not see the desired results.(ie. white pixels should be transparent, but they are not) Please advise...
2nd issue is I tried to use the VMRBitmap_Disable flag. But it did not hide the existing bitmap.
qiren
I using directshow 9 sdk to develop an interface for webcams. I am using VMR9, but the alpha blending don't seem to work. I did the following before adding the bitmap to the VMRbitmapmixer.
pVMR9AlphaBmp->clrSrcKey = RGB(255, 255, 255);
pVMR9AlphaBmp->dwFlags |= VMR9AlphaBitmap_SrcColorKey;
But after adding a bitmap, I do not see the desired results.(ie. white pixels should be transparent, but they are not) Please advise...
2nd issue is I tried to use the VMRBitmap_Disable flag. But it did not hide the existing bitmap.
qiren