sklug
24-11-2006 09:46:58
Greetings, I've been messing around with trying to get CHC to work, and so far no luck. I did a quick forum search and didn't find anything I was obviously doing wrong. I'm running with strictly landscape here so far, no objects added to the scene. When I run with CHC enabled for culling, none of my landscape appears.
I've spent quite a bit of time in the debugger, and added a bunch of logging, and it looks to me like the hardware occlusion queries are all returning 0 pixels changed. At first I was suspecting something was wrong with the octree, but it looks like frustrum culling uses the same tree, and it works fine.
Any thoughts are appreciated. I don't have a huge need for CHC, but I'm trying to learn about how it works. Though I've learned a lot with this digging into the code, I can't be sure it's the right things to learn, since it doesn't seem to actually work.
--sklug
I've spent quite a bit of time in the debugger, and added a bunch of logging, and it looks to me like the hardware occlusion queries are all returning 0 pixels changed. At first I was suspecting something was wrong with the octree, but it looks like frustrum culling uses the same tree, and it works fine.
Any thoughts are appreciated. I don't have a huge need for CHC, but I'm trying to learn about how it works. Though I've learned a lot with this digging into the code, I can't be sure it's the right things to learn, since it doesn't seem to actually work.
--sklug