Originally posted by BlackJack:
[b]If you use wglSwapInternalEXT or how ever it was called exactly you force the driver to use a tripple buffer, so that you can get higher FPS rates than the Hz of your monitor is, but… I don’t think that this will help you in any way with the latency of your occlusion culling.
You should handle it like following:
-“order” results of occlusion queries from object 0 to object x
-doing any non graphical things (AI blabla)
-from object x downto 0 testing if the result is available, if not calculating the visibility in software. why you should work here exactly the other way round answer yourself .
I don’t think that you await of everyone to have a GeForce 3 or better… after all this extension on ATI cards not at least exists as far as I know, so… well. I personally count OcclusionQuery as possible speed increase. I simply send my requests and only if they’re available I make use of them. If not… well, then the GPU was too slow, but a little bit faster it was nevertheless, if at least some of them were done fast enough.
I have a technical demo running of an graphics engine using only harwdare occlusion culling on a standard octree
with view frustrum culling.
We are pritty much stuck in the way is beeing rendered right know.
However in the edges the updating for oclussion testing is a bit late. You can see
this if you turn the camera very fast.
To get rid of this we want to render first pass in one frame (test occlusion) and then render the secound pass (if object visable and there is a secound pass) to the previous frame and then Swap buffers.
So that the hardware occlusion get some time to respond.
I think this is how it’s ment to be used the additional frame buffers.
Our stuff will work on Geforce3 and abouve (not MX) and ATI’s Radeon 8500 and abouve and I think PC10 from 3dlabs as well but I have yet to get this confurmed from 3dlabs.
The new Matrox card however doesn’t seam to support it yet and I think there is no plans to ever support HW Occlusion.
Any one knows differentlly please tell us.
And yes we are developing something usefull for the next 5 or 10 years. Anyway we need some thing simple and working, we can add software occlusion later if we have to.
AB Colorod Media