|
|
发表于 2007-4-5 12:56:00
|
显示全部楼层
Re:遮挡剔除的效率
occlusion queries return data to the application. This in itself can be the cause of performance problems. To avoid stalling the rendering pipe, issue occlusion queries during rendering, but obtain occlusion query results only at the end of the frame. Use the results when you render the next frame. This technique works well for frame-coherent applications, but for initial frames or sudden changes in views, your application will need to assume that everything is visible and issue a new set of queries for use in successive frames.
|
|