Re: Loading textures on an RE

New Message Reply Date view Thread view Subject view Author view

Remi Arnaud (remi++at++remi.asd.sgi.com)
Tue, 16 Apr 1996 09:46:48 -0700


On Apr 16, 12:48pm, ROY RUDDLE wrote:
> Subject: Loading textures on an RE
> This must have a simple answer, but I can't find it anywhere:
>
> As I'm running a small DB I want to force all textures to be loaded into
> the RE's texture memory while (or just after) the DB is loaded. I've got
> plenty of texture memory. At the moment (ie. by default) textures are
> being paged in when they first get displayed.

That's it. All textures are mip-mapped the first time they are displayed.
So, one must display all textures when (or just after) the DB is loaded.
That's why perfly shows all textures before entering in the 'drive' mode.

It's not mandatory to display the texture, one can use the back-buffer to draw
a polygon per texture when displaying something else on the front-buffer.

In libpfutil, a smart function called pfuMakeTexList() construct a list of
textures by traversing the scene graph, pfuDownloadTexList() will do the
downloading job. Look at the man pages for more informations.

-- 

o o Remi ARNAUD - Silicon Graphics, Advanced Systems Dev o o o o Mail Stop 590 - 2011 N. Shoreline Boulevard o o o o Mountain View, California 94043-1389, USA o o o o Tel: (415) 933 6208 Fax: (415) 965 2658 o o


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:42 PDT

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