Re: [info-performer] Re: Performer Mailing List Info

Date view Thread view Subject view Author view

From: Jason Daly (jdaly++at++ist.ucf.edu)
Date: 09/29/2003 08:39:27


On Mon, 2003-09-29 at 05:49, Christian Stock wrote:
> I'm trying to load a LOT of models into software that is based on Perfly
> using pfdLoadFile (about 10,000 obj files). The whole lot is about 200MB
> big (so each file is just about 1kb - 500kb). The problem I'm having is
> that with each call to pfdLoadFile the loading time increases
> significantly. While the first models take about 0.001 seconds, the time
> increases quickly to several seconds per obj file. Hence, it would take
> several hours to load the 10,000 obj files.
>
> Has anyone else come across this and possibly knows how to fix that?
>

This is just a guess, but is your software calling drawFrame() between calls
to pfdLoadFile()? Because of Performer's multi-buffering mechanism, it has a
hard time dealing with big changes to the scene graph at run time (it seems to
get worse as the scene gets bigger, as well). We've seen the same behavior
deleting a lot of stuff from the scene between frames.

If you are loading things between drawFrame() calls, try loading everything
before the first drawFrame() call and see if that helps.

Hope this helps,

--"J"


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Sep 29 2003 - 08:43:57 PDT