pBuffer checks

Started by pigandham, September 11, 2005, 15:26:53

Previous topic - Next topic

pigandham

I'm playing around with pBuffers and have noticed a few conditions that I need to check for to make it play nice with everyone.

1. Is it true that you can't render to a texture that is non-power of two even if your card supports power of two textures normally?
2. Some cards can't support retangular textures for pBuffer? I see that you have that check in the capabilities.
3. Some cards can't support textures above a certain size? On my home PC I'm able to render fine to a 1024 x 1024 texture, but when I try it on a mac I only get garbage rendered to the texture (and a very slow framerate). As soon as I lower that to 512 x 512 it renders fine. Is there a way that I can determine what the biggest pBuffer size a card can support? I'd like to dynamically adjust the size for the card.

Are there any other "gotchas" I should check for?

Thanks,
piggy