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

Date view Thread view Subject view Author view

From: Benedikt Kessler (bjk++at++munich.sgi.com)
Date: 09/29/2003 09:12:59


Hi!

I've seen something similar before.

Performer tries to reuse Performer state (I know for sure from the pfb
loader); but if there are user data attached to that state (texture,
material or whatever), it will be seen as a separate object and not
shared; also the list with all (unique) state objects seen (wich are
used as potential future candidates for sharing) will grow larger and
larger which explains the time increase.

Bye! Benedikt

Jason Daly wrote:
>
> 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"
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: 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
> -----------------------------------------------------------------------

-- 
+---------------------------------+----------------------------------+
|Benedikt J. Kessler              | Silicon Graphics GmbH            |
|MTS-Design	OpenGL            | Am Hochacker 3 - Technopark      |
|SGI                              | 85630 Grasbrunn-Neukeferloh, FRG |
|    ---  __o       ,__o          |                                  |
| ------_ \<,_    _-\_<,          | Phone: (+49) 89 46108-366 or -0  |
|----- (*)/ (*)  (*)/'(*)         | Fax:   (+49) 89 46107-366        |
+---------------------------------+----------------------------------+
|E-Mail: bjk++at++sgi.com    Web (private): http://reality.sgiweb.org/bjk |
|   Web: http://www.sgi.de                                           |
+--------------------------------------------------------------------+


Date view Thread view Subject view Author view

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