Jim Helman (jimh++at++surreal)
Mon, 06 Jun 94 16:53:48 -0700
pfGStateMode(geostate, PFSTATE_ENTEXTURE, PF_OFF);
to the geostate you use for rendering the lines.
By default, Performer enables texturing (pfEnable(PFEN_TEXTURE))
when it initializes graphics state on machines with fast
texturing. You haven't turned texturing off for this
pfGeoState, so it inherits the texture enable. Unfortunately,
this means that you get the color of whatever texel coresponded
to the last texture coordinate sent down the pipe.
(We do things this way because it's more efficient to specify
the most common setting of a mode in the global state and leave
it unspecified in the individual pfGeoStates. Since most FLT
databases are textured, the FLT loader doesn't enable texture
explicitly in every pfGeoState instead leaving it to be
inherited from the default state.)
rgds,
-jim helman
jimh++at++surreal.asd.sgi.com
415/390-1151
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:19 PDT