Hi Bjoern,

On Fri, 2006-02-24 at 17:22 +0000, [EMAIL PROTECTED] 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




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to