我有一颗BSP树被装上记忆。 我先看一下我所看到的那页。 其次,我对PVS进行了编码。 然后,我通过这个PVS的每一个地区,看看它是否属于我的图象。
我被告知,这是不正确的方法,我实际上应该通过 trav平巴普林来回头。 我如何这样做? 我看到了这样做的若干不同方法,这就是我为什么要问的。
For instance, the Quake 3 BSP rendering says: Traverse the BSP to determine in which leaf the camera is positioned. Retrieve and decompress the PVS for this leaf, iterate through PVS and mark leaves in the BSP. Traverse the BSP near to far If a Node is not marked, skip it. Test the Node Boundary Box against the Camera Frustrum. Add the current leaf to the rendition list
难道这仍然是今天或至少更简单的游戏的标准方式。