研究了三维电影播放应用中的视频纹理技术,分析了该方法的国内外研究现状、难题和挑战,提出了有效地解决方案,并对该方案进行设计。采用DirectShow进行视频数据的调度与管理,Direct3D作为图形渲染API,提取出传统渲染管道下的并行运算部分,利用可编程GPU并行运算的特性对其进行加速渲染,并利用GPU纹理压缩方法解决了显存容量有限的问题。实验结果表明,该设计方法能够有效地提高帧速率,缓解CPU负担,解决实时渲染中的性能瓶颈问题,在实际应用中具有较强的使用价值。
Detailed research is conducted on video texture for 3D movie play application and current research situation, problem and challenge in the world are analyzed. Then an effective solution is presented. DirectShow is used to manage the video data while Direet3D serves as graphics rendering API. The parallel computing module is extracted from the fixed rendering pipeline and takes full use of programmable GPU to accelerate the rendering process. In plus, GPU texture compression is used to solve the problem of limited graphic memory. The experiment and simulation prove that the designed method can effectively uplift the frame rate, mitigate the CPU burden and solve the bottleneck in real-time rendering. Finally, it is rather practical in certain applications.