Re: [info-performer] help with drawing backmaterial !

New Message Reply Date view Thread view Subject view Author view

From: Goncalo Carvalho (g.carvalho++at++gsa.ac.uk)
Date: 01/31/2003 02:06:05


Hey,

Use the token PFSTATE_BACKMTL in the geostate setAttr. You will probably
need to enable a two sided
lighting model with a pfLightModel.

Goncalo

Johan Stenlund wrote:
>
> Hi!
>
> I'm new at Performer and I need help with an easy (probably) thing.
> The thing is that I have a model with tristrips where some of the polygons
> are back facing and some are front facing. I have noticed that Performer
> by default, only draws frontfacing materials, and cull away all back facing
> polygons. I know how to disable backface culling, but the backfacing
> polygons are
> then drawn black. How do I enable drawig both front and back materials?

-- 
Goncalo Carvalho
Digital Design Studio - Glasgow School of Art
House for an Art Lover - Bellahouston Park
10 Dumbreck Road 
Glasgow G41 5BW
United Kingdom

Tel: +44 (0) 141 353 4616 Fax: +44 (0) 141 353 4422 Mobile: +44 (0) 7766 295867 mailto:g.carvalho++at++gsa.ac.uk


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Jan 31 2003 - 02:12:05 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.