Re: pfTexture error

New Message Reply Date view Thread view Subject view Author view

Steve Baker (sbaker++at++link.com)
Fri, 24 Oct 1997 08:58:44 -0500 (CDT)


On Thu, 23 Oct 1997, James Klinge wrote:

> I've got a hopefully simple problem with pfTexture. We have an ONYX
> RE2 and and Indigo2. Both have Performer 2.0 and IRIX 6.2. When I
> run one of our Medit models on the ONYX with the complex.C sample
> program, everything works fine. But when I try to run it on the Indigo,
> I get this error repeated:
> PF Warning/Usage: pfTexture::apply() - bad number of components -1
> The application opens but almost all of the textures are missing.

I have seen this kind of problem with some texture maps created
with the MultiGen texture editing package. Some maps come out with
inconsistant 'dimension' and 'z-depth' fields in the image file
header. IIRC this happens when you convert a map from one image
'depth' to another (eg '.rgb' -> '.int' or '.rgba' -> '.rgb')

[ This may have been fixed in recent releases of MultiGen. ]

Anyway, you are using Medit (how are you creating your textures?)
and I can't explain why it might be different for RE2 versus Indigo
though, so maybe there is another reason.

Steve Baker 817-619-8776 (Vox/Vox-Mail)
Hughes Training Inc. 817-619-4028 (Fax)
2200 Arlington Downs Road SBaker++at++link.com (eMail)
Arlington, Texas. TX 76005-6171 SJBaker1++at++airmail.net (Personal eMail)
http://www.hti.com http://web2.airmail.net/sjbaker1 (personal)

** Beware of Geeks bearing GIF's. **

=======================================================================
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:56:07 PDT

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