Re: line rendering in performer (part 3)

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Tue, 07 Jun 94 12:41:20 -0700


For the same reason as with texturing, the default in perfly is to
have lighting enabled in the default state. If you're not
specifying normals with the lines and have lighting explicitly
enabled or inherited, you'll just get lighting from whatever normal
was sent to the pipe last via GL. Try:

    pfGStateMode(gs, PFSTATE_ENTEXTURE, PF_OFF);
    pfGStateMode(gs, PFSTATE_ENLIGHTING, PF_OFF);

Or bind normals to the pfGeoSet.

rgds,

-jim helman

jimh++at++surreal.asd.sgi.com
415/390-1151


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:19 PDT

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