I am trying to do stencil operations in an FL_GL_Window.  The 3D scene depicts 
a baseball field, stadium, parking lot, etc.  That all works fine, UNTIL I say -

mode (FL_RGB | FL_DEPTH | FL_DOUBLE | FL_STENCIL);

Then all hell breaks lose. Almost all objects in the scene made up of polygonal 
surfaces disappear. Lines still render correctly. Two polygonal objects that I 
compute interactively appear, but the lighting on them is very messed up 
(dark). The objects which disappear are created in Display Lists. Could that be 
a problem?  I make no attempt to do any Stencil operations. The only reference 
to stencil ops in the code besides the line above is -

glDisable (GL_STENCIL)

I have a demo of stencil operations written in glut which works fine on my 
system. So this is not a hardware problem.

Any suggestions?
_______________________________________________
fltk-opengl mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-opengl

Reply via email to