噢,是的,我们使用一个偏移量来获得每个数据帧序列的一个窗口。
Oh yeah, we used an offset to get a window for each data frame row.
这将防止重叠的失真窗口显示出相互冲突的视频帧部分。
This will prevent overlapping distortion Windows from showing conflicting portions of video frames.
随后,主循环在每次循环时都检查事件、重置绘图状态、绘出圆形的“门户”窗口,然后以动画形式将其失真返回当前时帧。
Then, each pass of the main loop checks for events, resets the draw state, draws the circular "portal" windows, then animates their distortion back to the current time frame.
应用推荐