Re: pfDrawGSet warning

New Message Reply Date view Thread view Subject view Author view

From: Marcin Romaszewicz (marcin++at++asmodean.engr.sgi.com)
Date: 06/22/2000 18:28:16


You will only get this warning if you've passed NULL as the ilist for some
attributes, and non-null for others; there is no other way to generate
this error.

That being said, I think you've missed a place in your code where you're
mixing indexed and non-indexed attributes. From what I understand, you're
loading a pfb file and modifying the geosets. Make absolutely sure that if
you're modifying an indexed geoset to use non-indexed attributes that
you pass NULL as the ilist for all the attributes: PFGS_COLOR4,
PFGS_COORD3, PFGS_NORMAL3, PFGS_TEXCOORD2.

-- Marcin

On Thu, 22 Jun 2000, George F. Lawton wrote:

>
> I'm getting the following warning from perfly:
>
> 'PF Warning/Usage: pfDrawGSet(0x18174310) Cannot mixindexed and
> non-indexed attributes. Expect garbage or core dump.'
>
> The pfb file loaded has had some Quads and Tristrips modified. With all
> modifications, NULL is sent for ushort *ilist in the pfGSetAttr calls for
> the PFGS_COLOR4, PFGS_COORD3, and PFGS_NORMAL3 attributes.
>
> Any ideas on what I'm doing wrong?
>
> Thanks in adv,
> George
>
>
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Jun 22 2000 - 18:28:24 PDT

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