Displaying a short movie in same window over 3D display - need an advice
-
Hi all. I have a win32 window where I display my little 3D game using DX9 in full window size. I managed to load a QuickTime movie in same window but instead of movie I can still see my game rendered. Only while resizing the window teh movie appears. Also if I disable my 3D drawing then I can see the movie correctly. I am sure its something wrong with HWNDs or its something else? How can I solve it. Actually can somebody adivise me on this problem. What is the proper way to handle these two things. (displaying a movie and displaying 3D game world)? Note: I only want to have a single window and displa one thing at a time. So, when I want to watch a movie then the movie will be displayed in full window size and should be able to switch with a single key press back to my game again occupaying the entire window display. Apparently in windows I can create more than one display surfaceses. Should I do that or I can easily use one surface to manage that? Later I am planning to capture my 3D game into a movie file but I guess I'll worry about that later Thanks for your help in advance. ---------------------------- Robert Stuliglowa