Hi Matthias,

On Tue, 2006-02-28 at 11:41 +0100, Matthias Stiller wrote:
> Hello Dirk,
> 
> since the introduction of the front/back material I have trouble to 
> understand what it is really about and what can be done with it and how 
> to achieve these effect (Andreas couldn't explain it either). I am used 
> to the semantics that SGIs Optimizer used, where the front and back 
> material could be really different, but lighting was not perfect for 
> the back material (it had the advantage that you could use different 
> textures for both sides). 

It is a wrapper for OpenGL front and back material, see the description
of glMaterial (e.g. at
http://www.die.net/doc/linux/man/man3/glmaterial.3.html). It essentially
is a separate set of OpenGL material parameters
(diffuse,ambient,emission,specular, shininess) that are applied to the
backside of a polygon, if two-sided lighting is enabled.

> How can I achieve different colors for front and back ? At the moment I 
> would use a multipass material, with different materials for front and 
> back (each having a PolygonChunk with activated front/back culling).

You can get different colors with the back material, different textures
need the MultiPassMaterial solution you mention.

Yours

        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