I'm pretty new to this, so please bear with me. I'm following two books (I read the first one, but it used TAO, so I'm slowly swapping over to opentk).
I'm trying to follow though an example of using the stencil buffer. (if anyone happens to have the book, page 121)
Though it seems it doesn't work at all. In their example, using freeglut, they request a stencil buffer at application startup. Can someone
provide me with a simple learning example of this in opentk? I'm new to these forums and I'm not sure if I should post any code, or attach any projects.
I welcome all feedback and help and will gladly provide code or more information.
PS. The example goes as follows, clear the stencil buffer. Set it to fail all test. Draw a white spiral (I guess to the stencil buffer). Then draw a red square with a not equal flag set on the stencil buffer. This way the spiral is seen on the red square as it moves around.
Edit (info from the post I should have read first)
OS - Win7 64bit
gfx - Nvidia GeForce GTX 560 Ti
cpu - I7 (standard - non-oc)
Specifically - it looks like the stencil buffer isn't being used at all. The red square, and white lines both draw completely on the blue background.