glScissor for a circular area?

Started by elias4444, May 24, 2006, 15:38:22

Previous topic - Next topic

elias4444

Anyone know if there's a way to do something like glScissor for a circular area?

I'm using a circular radar, and don't want objects drawing outside of the radar screen area. I only display items that are in the radar range, but some objects are big and draw partially inside and outside.
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

princec


elias4444

Yeah... I've avoided using the Stencil Buffer thus far (it intimidates me). Guess I better go do some reading on it.
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com