Sunday, March 2, 2008

Took a break...

The occlusion testing has me totally stumped at this stage, I'm afraid. The main problem I have is that I can certainly do it, but it's just too slow. While I could use the old traceline based idea, that's unfortunately no good at all with brush models, and that means it's no good for me, as I intend using this for being able to draw torch coronas properly. It's also essential for sprites.

I could use hardware occlusion tests, but they stall the pipeline as they have to read data back - aaaaarrrgghhh!

Logic tells me that a fast software implementation is possible, but right now it's been holding things up for too long, so no coronas and rubbish looking sprites for now, I'm afraid.

1 comments: