> Can you provide a sample app? This usually brings more attention to a > problem. > > kind regards > Kai-Uwe Behrmann > -- > developing for colour management > www.behrmann.name + www.oyranos.org > > > Am 23.11.08, 13:32 -0800 schrieb Mike Werner: > > mode (FL_RGB | FL_DEPTH | FL_DOUBLE | FL_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? >
Unfortunately, I can not provide a simple app. All of my apps use Fluid and there are many files involved. I have tried to put the 'mode' command above into some of my other apps and get the same result - all polygonal surfaces with lighting do not render. Lines do render. All I am adding to these apps is the 'mode' command which supposedly sets up the FL_GL_Window to be able to do stencil operations. Then I disable stenciling use glDisable (GL_STENCIL_TEST). The 'apps' I am talking about all use FL_GL_Window and no GLUT stuff. I also tried adding these 2 stenciling commands to the FLTK cubeview demo. The demo worked, BUT it does not try to render polygonal surfaces with lighting. Guess I can try to add lighting to the cubeview demo? Has anyone successfully done stencil operations in an FL_GL_Window involing shaded polygonal surfaces and no Glut stuff? Thanks. _______________________________________________ fltk-opengl mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-opengl
