I was trying to render a .avi file on a panel. The sound plays but the panel becomes invisible. I have use tons of file formats include uncompressed avi. Thats not the problem. It plays the movie full screen if NULL is passed as the target map pointer, prefectly fine.I'm thinking it's my old ati card. But just to check is there anything I did wrong in the fallowing code.
BMAP* bMap1="background.tga";
BMAP* bMap2="renTarget.bmp";
PANEL* panMovie =
{
bmap=bMap1;
pos_x=100;
pos_y=100;
layer=999999;
}
function main()
{
wait(2);// init d3d_device
panMovie.target_map=bMap2;
set(panMovie,SHOW);
media_play("video.avi",bMap2,50);
}
I think it right is there something else I must do before I can render a avi on a panel? Is there a way to check if my vidCard doesn't support this? my vid Card is ati radeon 9600.
Thank you for reading and/or replying to this post.
Malice
Texas USA