Re: subload...

New Message Reply Date view Thread view Subject view Author view

From: Angus Dorbie (dorbie++at++sgi.com)
Date: 03/09/2001 11:14:32


Is Performer refusing?

This is part of Vanilla OpenGL 1.1. It may be that we erroneously rely
on the extension string being reported.

All recent and not so recent stystems should support this, heck even a
VGXT probably supports this.

What's your system?
What error message do you get?
What OpenGL version string & extensions does your server report? (Use
glxinfo on the command line)

Cheers,Angus.

Jasmina Orman wrote:
>
> 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

-- 
For Performer+OpenGL tutorials http://www.dorbie.com/

"Whenever there is a conflict between human rights and property rights, human rights must prevail." --Abraham Lincoln


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Mar 09 2001 - 11:15:01 PST

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