> Mike Werner wrote: > > [..] In fact I can't get any shaded polygons to show up correctly! > > Try this example. Just whipped it together based on one of > the other opengl examples on my 'fltk cheat' page. > > It's been many, many years since I've done anything that > with lights and materials in opengl, but I think this is right.
Your little example worked (sort of) when I added stencil operations to it. Strangely it seems to work better if you don't explicitly call 'mode' to enable stencil planes. My app gets really messed up if I call 'mode' to enable the stencil bits. So I took out that call, and the call to FL:visual. Stencil operations seem to be working o.k. now. That's counter-intuitive to me. _______________________________________________ fltk-opengl mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-opengl
