From: J $B5.;V (ito-t++at++yk.toshiba-tesco.co.jp)
Date: 08/04/2003 22:28:40
Hi Alex,
I'm in the same trouble on an ATI's card (RADEON 9000) with my
multitexture application, in spite of using Performer Win 3.0.2.
It works fine on a nVIDIA's card (GeForce4 Ti 4600).
The same warning message concerning multitexture unit appears
even on a sample code (Src\pguide\libpf\C\multiTexBox.c).
An attached is the output message from the sample by setting
PFNFYLEVEL to 7.
Thanks,
--- Takashi> -----Original Message----- > From: Alexandre Naaman [mailto:naaman++at++laplace.engr.sgi.com] > Sent: Wednesday, July 30, 2003 6:22 AM > To: Devrim Erdem > Cc: info-performer Mailing List > Subject: Re: [info-performer] Performer Windows on ATI 8500 lacking > Multitexturing > > > > I have a performer application which uses multiple texture > units. The > > appliaction works fine on nVidia based systems but I had a > problem on an > > ATI 8500. The card itself supports multiple texture units > but Performer > > prints the following notification message : > > > > PF Warning: Only 1 multitexture units are available on this > hardware. > > PF Warning: pfGeoState::setMultiAttr - multitexture unit # 1 not > > available. || > > > > And textures on unit #1 are not rendered, base textures > render fine. Any > > hints ? > > > k > Hi Devrim, > > A change was made in the latest version of Performer (3.0.2) > to ensure > that the max # of textures is correctly set and so that > pfGeoState::setMultiAttr() would work correctly on win32. > Previously we > would just do a glGet() on GL_MAX_TEXTURE_UNITS_ARB to determine this > value. Now we check to ensure that this value is not larger than > PF_MAX_TEXTURES (4). Not doing this caused us to index too far into an > array which was only of length == 4 and ... boom. > > So, to make a long story short, on both windows & linux I > would upgrade > to 3.0.2 if you're having trouble with using newer graphics cards and > pfGeoState::setMultiAttr(). > > Cheers, > > Alex. > > PS: I'm assuming you're using a version of Pf pre 3.0.2, if > that's not the > case then I would suggest setting the PFNFYLEVEL to 7 and > running things > once more to see if something else is causing the problem. > > -- > Alexandre Naaman - naaman++at++sgi.com > > -------------------------------------------------------------- > --------- > List Archives, Info, FAQ: http://www.sgi.com/software/performer/ > Open Development Project: http://oss.sgi.com/projects/performer/ > Submissions: info-performer++at++sgi.com > Admin. requests: info-performer-request++at++sgi.com > -------------------------------------------------------------- > --------- > SIGGRAPH 2003 Friends of Performer Meeting: > Wednesday July 30 6:00pm San Diego Hilton Hotel Santa Rosa Room > -------------------------------------------------------------- > --------- >
This archive was generated by hypermail 2b29 : Mon Aug 04 2003 - 22:30:25 PDT