Re: pfTexture::apply() warning

New Message Reply Date view Thread view Subject view Author view

Allan Schaffer (allan++at++southpark.engr.sgi.com)
Wed, 29 Jul 1998 14:55:47 -0700 (PDT)


On Jul 29, 3:30pm, Mark Sigda wrote:
> I'm getting the following message repeatedly when I run my application:
>
> => warn pfTexture::apply() - bad number of components -1 ( Error 0 )
>
> Other than that, the application runs fine and looks the way it should.
> Can anyone give some insight into the possible causes of this?
>
> I'm using: n32 app, Performer 2.2, IRIX 6.2, Onyx IR.

According to the code, this error occurs when you create a pfTexture
object but don't specify an image (pfTexImage, pfTexLoadImage, etc).

To find it, you could do a traversal of the scene graph, find all the
pfTexture objects, and find one where pfGetTexImage returns NULL, or
a wierd number of components..

Allan

-- 
Allan Schaffer                                                allan++at++sgi.com
Silicon Graphics                               http://reality.sgi.com/allan
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/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 2.0b2 on Mon Aug 10 1998 - 17:57:46 PDT

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