Re: Performance hit on the first frame ?

New Message Reply Date view Thread view Subject view Author view

Isabelle Lafon (isabelle++at++discreet.com)
Tue, 31 Aug 1999 12:38:49 -0400


Hi,

Thanks Nigel, for the information. But I have no texture in my scene.
Sorry, I forget to mention that in my previous email.

Isabelle

Nigel Jenkins wrote:
>
> Isabelle
>
> Sounds like the delay in the first frame is because the computer has to
> download all the textures into texture memory for the first time.
>
> You need to pre load the textures into texture memory using something
> like:
>
> pfList * texture_list
>
> texture_list = pfuMakeSceneTexList( your_scene_node );
>
> pfuDownloadTexList( texture_list, style );
>
> style is one of:
>
> PFUTEX_APPLY
> PFUTEX_SHOW
> PFUTEX_DEFINE
>
> the show style does the slideshow like when you run perfly on a textured
> model eg town.perfly.
>
> be sure to run these commands in the DRAW process.
>
> cheers
>
> Nigel
>

-- 
Isabelle Lafon                 Discreet Logic
Tel: (514) 954-7157            10 Duke
Fax: (514) 393-0110            Montreal (Quebec)
isabelle++at++discreet.com          Canada, H3C 2L7

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Aug 31 1999 - 09:39:29 PDT

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