Has anyone been able to get the OpenGL Stencil Buffer to work in a Cocoa App using the GLUT Framework? I've ported over 2 examples that render fine but the Stencil Buffer won't work. I can send you all my source and you can try it on your machine. I have the suspicion that either I'm not setting up my Rendering Port properly or Stencilling is not included in this rev of GLUT but I can't be sure. Any help would be appreciated.
Here is the program that I ported over:
http://nehe.gamedev.net/tutorials/lesson27.asp
Mark
macmark@rsglab.com