sharing downloaded textures in database process

New Message Reply Date view Thread view Subject view Author view

John Rauch (m248582++at++fltsim.stl.mo.boeing.com)
Thu, 16 Oct 1997 11:53:26 -0600 (CDT)


We have a performer task which generates real-world visuals for a flight
simulatior. We have implemented a database process which controlls the
asynchronous loading of pfb database files, using the pfpfb.c database
loading routines.

All of the textures which are used in the database are known before hand
and are downloaded to the the hardware, using the pfDownloadTexList
routine.

The pfpfb routines appear to keep their own list of pfTextures, which
differs from the pfList which is used by pfDownloadTexList to put the
textures in texture memory.

It appears that I will have to create an initialization routine in
pfpfb.c that converts the pfList of pfTextures to a list of tex_list_t
structures.

My questions are:

1. Has anyone else dealt with this situation before?

2. Is there some sample (available) code which does this already?

Thanks in advance for any help!

John C. Rauch Flight Simulation Technology
john.c.rauch++at++boeing.com The Boeing Company
=======================================================================
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:05 PDT

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