|
From: Dirk R. <dre...@ia...> - 2006-02-27 00:04:26
|
Hi Bjoern, On Fri, 2006-02-24 at 17:22 +0000, bjo...@uf... wrote: > Dear all, > > How do use a different material and different colors on the front and > back side of the polygons? > > I have a simple quadrangle with colors (and secondary colors -> where > are these used?") set. I > > would like to render the front and back side of this polygon > differently, e.g. with a general material > > on the front (not using the colors on the vertices) and using the > colors from the vertices on the back > > side: I tried the code below. When I change values for the front side > (for example setting > > ColorMaterial to GL_DIFFUSE) this always seems to affect both sides. I had some problems reproducing your effect, but looking at the code the handling of front and back color materials was not working right for some cases. Now it looks like I would expect in the OpenGL log, can you try it again? It's a little late for the Monday dailybuild in Germany, but the VS.Net2003 noQT version should have the change already. Hope it helps Dirk |