Re: texture loading delays

New Message Reply Date view Thread view Subject view Author view

Sharon Clay (src++at++rose)
Wed, 17 Jan 1996 14:07:40 -0800


+>---- On Jan 17, 3:09pm, Dewey Anderson wrote:
> Subject: texture loading delays
->I have an application (running in 2.0 on Impact and Onyx) that I think is being
->"glitched" by texture loading delays.
->
->I have several texture-mapped objects that I fly onto the screen. When some of
->the "late arrivals" just come onto the screen, it appears they cause a
->momentary glitch in the motion of the "early arrivals". My guess is that the
->glitch is due to a short delay while the late-arrival's texture is loaded into
->texture memory, now that it's is going become visible.
->
->Does that guess sound correct? If so, is there some way to force all the
->textures to be loaded into texture memory at the start so that this glitch does
->not happen?
->
->I've noticed that demos like PerformerTown appear to draw all textures on the
->screen momentarily before running. I wonder if this is to force them to all be
->loaded into texture memory. I don't think this is an option for my application
->because I don't want the screen to show that little dance before the fly-on
->begins.

Good observations.
You are right - perfly preloads the textures on the screen by calling
pfuDownloadTexList() from the draw process with a pfList of thes textures.
pfuDownloadTexList() also takes a style arg which can be PFUTEX_APPLY
and the polygons won't actually be displayed.

src.

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com  (415) 933 - 1002  FAX: (415) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++

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:52:15 PDT

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