用于Windows的高性能彈幕引擎:libwtfdanmaku
用于Windows的高性能彈幕引擎,基于Direct2D和DirectComposition API.
只支持 Windows 8 之后的版本
特性
- Hardware accelerated by Direct2D, DirectWrite, Direct3D 10.1 and DXGI 1.3
- Few cpu usage (<= 5%) with smooth animation
- Accurate danmaku layout
TODO
Renderable's bitmap invalid issueMultiple instance- Optimize danmaku style effect
- Rendering Statistics
Hi-DPI support, and pre-Monitor DPI Aware- Further performance optimization
Resize support (need rebuild device-dependent resources)BottomDanmaku, L2RDanmaku, Mode7 support, etc.- Refined error handling
- User-friendly
C & C++ API - C++/CLI wrapper for .NET
- Interoperate with Media Player
- Optimize Renderable building (maybe concurrent)
- Windows Phone / UWP compatible
- Windows 7 compatible (maybe LayeredWindow?)
- Move to Direct3D 11 (?)
- Extensible architecture
Build
My environment: Visual Studio Community 2013. Also tested under VS2015.
Don't forget to checkout submodule (git submodule init, git submodule update, ...)
Launch WTFDanmaku.sln for demo and libwtfdanmaku library.
libwtfdanmaku is permitted to work under shared library (DLL) according to the license.
Screenshot
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!