Juan R. Sáenz-Diez (jrsdm++at++artfutura.org)
Tue, 31 Aug 1999 18:42:38 +0200
I would suggest that if your scene is textured (most probable thing), the
first time you attempt to draw it, the textures are not in TRAM yet and they
need to be in order to be used, so they are automatically downloaded and
that takes a long time if it means downloading everything. Onyx2 will do
this _much_ faster than Octane. That's why you may want to call a dummy
pfFrame after loading the database but before actually starting your
simulation. Or else you may download everything making a texture pfList and
then downloading with some pfu function (I write this from my home PC and
dont have Mongoose yet! ;-). Take a look at pfu functions and perfly source
code). I hope that helps.
Regards,
Yuri.
Isabelle Lafon escribió:
> Hi,
>
> pfDraw() call take around 17.06ms to draw a scene the first time.
> At following frames it takes only 0.85 ms.
>
> This is not specific to a particular scene, I obtain big timing
> differences between the first and following frames for all scenes I
> load. Scenes are not modified between frames.
>
> This is not specific to a plateform, I have the same behavior on Onyx2
> and Octane, even though the timing difference is less important on Onyx2
> than
> Octane. This is, also, not specific to the multiprocess configuration;
> there
> is timing differences in ACD, AC_D and A_C_D
>
> I have checked execution times of all my preDraw, draw and
> postDraw callbacks and they don't change from one frame to another.
>
> Does anybody know if performer does some specific and costly work the
> first time a scene is drawn (such as scene tree optimization or stuff
> like
> that)?
>
> Any informations will be very appreciate.
> Thanks in advance.
>
> Isabelle.
>
> --
> Isabelle Lafon Discreet Logic
> Tel: (514) 954-7157 10 Duke
> Fax: (514) 393-0110 Montreal (Quebec)
> isabelle++at++discreet.com Canada, H3C 2L7
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
-- ------------------------------------------------------------------------ Juan R. "Yuri" Sáenz-Diez ARTFUTURA SW Development Manager jrsdm++at++artfutura.org http://www.artfutura.org
This archive was generated by hypermail 2.0b2 on Tue Aug 31 1999 - 09:44:47 PDT