>> Can you provide a sample app? This usually brings more attention to a
>> problem.
>>
>> kind regards
>> Kai-Uwe Behrmann

O.K. - part of a simple app is provided here (http://pastebin.com/m5d4f562). 
It's the FLTK CubeView demo and with lighting added. This file has most of the 
OpenGL code for this app. It runs fine as listed (with stenciling turned off). 
It displays a solid, shaded, cube, which I can translate, rotate, scale, etc. 
Seems to me that if I use line 102 instead of 103, and line 139 instead of 140, 
the program should work exactly the same way. I'm simply trying to make the 
window capable of doing stencil operations. I'm not actually trying to do any 
stencil operations (yet). But - I get a blank window. BTW, it doesn't help if I 
explicitly disable the stencil test somewhere in the draw routine. Am I missing 
something basic here, or is there something wrong with FLTK 1.0.11's 
implementation of the stencil buffer?

Thank you.
_______________________________________________
fltk-opengl mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-opengl

Reply via email to