PDA

View Full Version : oposite of glScissor



elimin8tor
02-13-2002, 06:47 AM
Hi, how can I render a square with out a smaller square inside it. I basically mean, that the square is supposed to look like a picture frame afterwards.
thx

chowe6685
02-13-2002, 08:20 AM
you could use the stencil test

satan
02-13-2002, 04:36 PM
i think the tessalation objects of glu provide a way to render complex polygons
so you should take a look at the glutess... functions (i think glutesscontour is the right thing here)