From: Jasmina Orman (jasmina.orman++at++student.uni-tuebingen.de)
Date: 03/09/2001 09:41:08
Hi,
I actually have 2 questions
1) on my machine EXT_subtexture is not supported,
so I'm not able to use PFTEX_SUBLOAD_FORMAT !
Is there any alternative for this ?
2) I tried to use pfuTextureManager in order to obtain some
data about tex memory:
for example
cout<<"-------------------------------"<<endl;
texMan->Print(level );
texManList->load();
cout<<"Tex Memory Size :"
<<texMan->getTextureMemorySize() <<endl;
cout<<"Tex Memory Available :"
<<texMan->getTextureMemoryAvailable() <<endl;
cout<<"Tex Memory Used :"
<<texMan->getTextureMemoryUsed() <<endl;
cout<<"Tex Memory used in percent :"
<<texMan->getTextureMemoryUsedPercent() <<endl;
cout<<"-------------------------------"<<endl;
AND this is what I get :
-------------------------------
Texture memory : 57.231 MB of -0.000 MB filled = 0.000 %
Tex Memory Size :-1
Tex Memory Available :-60011269
Tex Memory Used :60011268
Tex Memory used in percent :0
-------------------------------
Isn't it strange ???
Also using pfuShowTextureMemory returns this
PF Warning: pfuShowTextureMemory: No Texture Memory
IS THIS NOT SUPPORTED ON Performer for Linux !
********************************************************************
If someone is interested how I solved my Problem of "replacing old texture
with new ones", well I done something like
tex->apply(); // INSTEAD of glBindTextur :-) !!!!
doCompression(tex); // this is completely in OpenGL
My scene is now using those compressed images, but if I ask for
texture size, or printing some data with pfNotifyLevel(4); I'm still
getting the OLD values ???
Is is because I'm not really downloading my compressed textures ?!
Thanks for any help !
Jasmina
This archive was generated by hypermail 2b29 : Fri Mar 09 2001 - 09:41:16 PST