Blender Git Commit Log
Git Commits -> Revision 3f02a17
Revision 3f02a17 by Benoit Bolsee (decklink) April 6, 2015, 14:18 (GMT) |
BGE: Fill-in DeckLink object. Implement the DeckLink object to output on DeckLink card. It takes a source like the Texture object and gets the image the same way. API: dl = bge.texture.DeckLink(0, "HD1080p24") # card nb, mode dl.source = bge.texture.ImageViewport() dl.source.whole = True dl.refresh(True) Known issue: using ImageViewport as source will not set the alpha channel right. This is because the framebuffer by default will not have an alpha channel. This can be solved either by inserting a 'green' filter that will convert the background color to alpha, or enable the alpha channel on the framebuffer (require change in Ghost). |
Commit Details:
Full Hash: 3f02a17bba87c340dda3e6e94f9fdb48778ca556
Parent Commit: edc169d
Lines Changed: +446, -147