From: Jasmina Orman (jasmina.orman++at++student.uni-tuebingen.de)
Date: 02/16/2001 06:45:01
Hi,
I want to use the advantages of texture compression offered by Nvidia
GeForce GTS2 card in terms of OpenGl extensions. My Problem is how to
implement it with OpenGl Performer for Linux ?
I want to use GL_ARB_texture_compression extension.
I'm not working with textures directly but only with a very large database
(pfb type) where my scene is stored together with the textures.
My idea was to:
- load the file (database)
- read all textures in a pfList
- set the interna format for textures on GL_COMPRESSE_RGB_ARB
something like:
...
pfTexture *tex;
myTexList=pfuMakeSceneTexList(scene);
tex_num =myTexList->getNum();
for(int s=0;s<tex_num;s++)
{
tex =(pfTexture *) myTexList->get(s);
tex_name = tex->getName();
tex->setFormat(PFTEX_INTERNAL_FORMAT,GL_COMPRESSED_RGB_ARB);
}
Unfortunatelly this doesn't work !
If you have any idea how this can work, please let me know !
Thanks
Jasmina
This archive was generated by hypermail 2b29 : Sat Feb 17 2001 - 11:59:42 PST