Re: loading into pfSwitch

New Message Reply Date view Thread view Subject view Author view

Steve Baker (steve++at++mred.bgm.link.com)
Mon, 11 Nov 96 10:57:16 -0500


> i have a simple application that loads approx 150 rather small objects
> into a switch for cycling thru.. these objects are textured with the
> same texture. i get some unexpected behavior.
>
> the FIRST time thru the switch values is really slow between updates.
> all subsequent passes thru are smooth and behave as one would expect.
>
> why does the first cycle behave the way it does ?

Dear mike-the-soon-to-be-enlightened

It sounds a lot like you are not doing a pfApplyTex on the textures.

Do a pfApplyTex for every texture in the database on the first time
through the DRAW process.

If they are all really sharing the same texture map then you ought to get
just one glitch on the first frame (when Performer does the pfApplyTex
on your behalf). So it looks like you are also failing to share the
textures between all those objects. You didn't say what you are using for
a loader.

Steve Baker 817-619-1361 (Vox-Lab)
Hughes Training Inc. 817-619-8776 (Vox-Office/Vox-Mail)
2200 Arlington Downs Road 817-619-4028 (Fax)
Arlington, Texas. TX 76005-6171 Steve++at++MrEd.bgm.link.com (eMail)
http://www.hti.com (external) http://MrEd.bgm.link.com/staff/steve (intranet)
                                http://web2.airmail.net/sjbaker1 (external)

=======================================================================
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:53:55 PDT

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