amitbd
10-29-2003, 03:57 AM
Hello everyone,
after a long time wondering why my app returns an empty frame buffer but a valid depth buffer i figured that the problem was over limit use of memory.
i have a Geforce 2 mx400 with 32MB and i use
2kx2k 8 bit texture working offscreen with pbuffer 2kX1.5k with 8 bit color depth and 24 bit depth buffer.
this total to 16MB but this is not including index, vertex arrays and another small window i use.
but this is not realy what it takes as the advanced card settings for opengl says always use texture as 16/32/desktop bits which brings my memory consumption to at least 20/28 MB .
when i use 16 bit texture everything is ok.
but if i use 32 bit or desktop(which is 32) the frame buffer returns empty.
two problems :
1) i dont understand why is it that i ask for 8 bit texture and recieve 16/32. isn't the opengl code supposed to overide card settings.
2) is there something that can be done using window API's maybe to change those settings or maybe disable them at all.
This realy has gone on my nerves enough already. i plead for help. :confused
Thanks in advance,
Amit
after a long time wondering why my app returns an empty frame buffer but a valid depth buffer i figured that the problem was over limit use of memory.
i have a Geforce 2 mx400 with 32MB and i use
2kx2k 8 bit texture working offscreen with pbuffer 2kX1.5k with 8 bit color depth and 24 bit depth buffer.
this total to 16MB but this is not including index, vertex arrays and another small window i use.
but this is not realy what it takes as the advanced card settings for opengl says always use texture as 16/32/desktop bits which brings my memory consumption to at least 20/28 MB .
when i use 16 bit texture everything is ok.
but if i use 32 bit or desktop(which is 32) the frame buffer returns empty.
two problems :
1) i dont understand why is it that i ask for 8 bit texture and recieve 16/32. isn't the opengl code supposed to overide card settings.
2) is there something that can be done using window API's maybe to change those settings or maybe disable them at all.
This realy has gone on my nerves enough already. i plead for help. :confused
Thanks in advance,
Amit