Re: Asynchronous database import?

New Message Reply Date view Thread view Subject view Author view

From: Brian Furtaw (brian++at++sgi.com)
Date: 05/30/2001 04:00:00


So you have tried using pfDBase(void) are you creating a pfBuffer before
you call pfdLoadFile()? Are you merging the pfBuffer back into the main
pfBuffer after you load everything?

Brian

Hugh Fisher wrote:
>
> Is there any way to run pfdLoadFile as a separate
> thread/sproc?
>
> I'm importing large scene files into a walkabout/fly around
> type application and it takes 30 seconds or more to load the
> file during which the user is staring at a blank screen. It
> would be really nice if I could progressively "rez up" the
> screen as the database loaded, but I'd settle for having a
> simple splash screen/animation display while waiting.
>
> Trying to call pfdLoadFile from a newly created sproc dumps
> core with a segment violation deep inside. I thought that
> maybe an asynchronous database function would do the trick,
> but that also dies somewhere: Performer reports that it has
> "Caught SIGCHLD, exiting..." before the load is done.
>
> The version of Performer is 2.2, has this functionality been
> added to a later version?
>
> Any help appreciated.
>
> --
> Hugh Fisher
> DCS, ANU
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: 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

-- 
    ----oOOo----    ----oOOo----    ----oOOo----    ----oOOo----

Brian Furtaw (brian++at++sgi.com) Graphics Guru Office:(301)572-3293 Fax: (603)250-0370 12200-G Plum Orchard Drive OpenGL/Performer/OpenInventor/ImageVision Silver Spring, Maryland 20904 Volumizer/Optimizer/React/PCI Device Drivers


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed May 30 2001 - 04:09:10 PDT

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