View Single Post
Old 05 October 2016, 18:29   #6
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 2,476
You could maybe have some hardware assistance by using Direct3D stencil buffer for real-time use: https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx

The stencil mask would correspond to the transparent pixels in each Amiga frame.

Given a frame of background video (e.g. from playing an AVI, assuming there's an API to render AVI frames to a D3D surface) you'd set that as the stencil reference to have it show through. The details could be fiddly; you'd need to scale background video to the emulated Amiga display but maybe Direct3D could handle that and pixel format conversion???
mark_k is offline  
 
Page generated in 0.06619 seconds with 9 queries