Blender Git Loki
Git Commits -> Revision 94e1a67
Revision 94e1a67 by Benoit Bolsee (decklink) April 10, 2015, 19:07 (GMT) |
BGE VideoTexture: 3D support+performance boost on DeckLink. ImageViewport will now skip the unnecessary RGBA32 filtering if the capture is already in the RGBA format. This will be the case if alpha=True and no filter is set. This saves a great deal of CPU. Add swap attribute to DeckLink to skip pixel format conversion between VideoTexture internal (RGBA) and DeckLink (BGRA). This is to test the benefit of passing the image directly to the board without intermediate copy => great boost of performance. However, it will be necessary to change the VideoTexture internal pixel format from RGBA to BGRA. 3D stream is now fully supported on DeckLink, the right eye image is passed via a new 'right' attribute (name not definitive). To generate this image one can simply put a second camera to figure the right eye and capture its view with ImageRende. |
Commit Details:
Full Hash: 94e1a67383e1a576e50758f26b6e8d2c4f29ad61
Parent Commit: bd99046
Lines Changed: +272, -77
6 Modified Paths:
/source/gameengine/VideoTexture/CMakeLists.txt (+1, -0) (Diff)
/source/gameengine/VideoTexture/DeckLink.cpp (+244, -59) (Diff)
/source/gameengine/VideoTexture/DeckLink.h (+5, -2) (Diff)
/source/gameengine/VideoTexture/ImageViewport.cpp (+17, -5) (Diff)
/source/gameengine/VideoTexture/VideoDeckLink.cpp (+4, -10) (Diff)
/source/gameengine/VideoTexture/VideoDeckLink.h (+1, -1) (Diff)
/source/gameengine/VideoTexture/DeckLink.cpp (+244, -59) (Diff)
/source/gameengine/VideoTexture/DeckLink.h (+5, -2) (Diff)
/source/gameengine/VideoTexture/ImageViewport.cpp (+17, -5) (Diff)
/source/gameengine/VideoTexture/VideoDeckLink.cpp (+4, -10) (Diff)
/source/gameengine/VideoTexture/VideoDeckLink.h (+1, -1) (Diff)