create fpbuffer(auxiliary buffers)

I want to create fpbuffer that has 10 auxiliary buffers but it doesn’t work.

I set the attribute list like below

int attribList[] =
{
WGL_SUPPORT_OPENGL_ARB, true,
WGL_DRAW_TO_PBUFFER_ARB, true,
WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV, true,
WGL_AUX_BUFFERS_ARB, 10,
WGL_FLOAT_COMPONENTS_NV, true,
WGL_RED_BITS_ARB, 32,
WGL_GREEN_BITS_ARB, 32,
WGL_BLUE_BITS_ARB, 32,
WGL_ALPHA_BITS_ARB, 32,
0,
};

wglChoosePixelFormatARB(hWindowDC, attribList, NULL, 1, &format, &nformats);
if (nformats == 0)
{
printf("ERROR~
");
return false;
}
////////////////////////

But after wglChoosePixelFormatARB(), nformat become 0. And false is returned.

I use following extensions.

"GL_ARB_texture_compression "
"GL_ARB_multitexture "
"GL_NV_vertex_program "
"GL_NV_texture_rectangle "
"GL_NV_fragment_program "
"WGL_ARB_extensions_string "
"WGL_ARB_pbuffer "
"WGL_ARB_pixel_format "
"WGL_ARB_render_texture "
"WGL_NV_render_texture_rectangle "
"GL_NV_float_buffer "

[This message has been edited by arbis (edited 09-18-2003).]

[This message has been edited by arbis (edited 09-18-2003).]

Run this tool: http://developer.nvidia.com/object/nvpixelformat.html

and see if your hardware exports any pixel formats that support 10 AUX buffers.

Thanks~
But I don’t know how to use the tool.
I installed the program, but I don’t know how I can get the possible number of aux buffers.

“Overlay/Underlay Plane description” information fields are always blank.
(There are CAuxBufs fields. but it is blank.)

I use geforceFX 5800.

[This message has been edited by arbis (edited 09-19-2003).]