Re: Texture space

New Message Reply Date view Thread view Subject view Author view

Nacho Sanz-Pastor. Computer Arts + Developments (nacho++at++comarts.es)
Fri, 23 Jun 1995 18:59:17 -0700


 Hi, Mike.

  I am not sure if you got my previous mail, since I didn't get it back in
info-performer distribution. Ok, here it goes again:

On Jun 22, 3:30pm, ml++at++Strider wrote:
> Is there any way of telling how full the texture memory is?
>-- End of excerpt from ml++at++Strider

   If you use the libpfutil texture download lists, there is a token that you
can activate in the source code ( ~/src/lib/libpfutil/tex.c ) that will show
you RM4 usage. You just have to add

#define WANT_TO_SEE_PERCENTAGE_OF_REALITY_ENGINE_RM_USAGE

and it'll tell you how much mem in bytes and % of RM4 use ( if you have RM5 you
can change the source just slashing the result by four ).

 This will warn you when you overlap the tex mem limits and force main memory
paging.

 If you need an example on how to use the download lists, perfly uses them in
the first PreDraw done.

  It's wise to use them anyway, since you guarantee that all textures will be
loaded in tex mem at first frame drawtime.

  Rgds,

-- 
-----------------------------------------------------	     mb$$m 
Nacho Sanz-Pastor					    b$"  $"$""$$b,
Email: nacho++at++comarts.es					   |$P  $P Pm  `$Pb
------------------------------------------------------	    $|  $   P,  `|P,
Computer Arts & Developments	Phone: ++ 34 1 3572751	    "$  P    P   `b$
Anita Vindel,10 		       ++ 34 1 3572752	      "PPPP   |  ,P
Madrid 28023 SPAIN		Fax  : ++ 34 1 3070339	           $bmm1" 
--------------------------------------------------------------------------------
           Computer Arts & Developments Visual Simulation Group
 An asteroid has crashed on Earth, and the Dinosaurs are close to being extinct
--------------------------------------------------------------------------------

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:36 PDT

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