Hi to all,
It may be a basic doubt.I don’t know any thing abt Drivers.Which acceleration is the best ?I read that H/W ICD.If so How i can set it ? Becoz rendering speed of my application is very slow.I have to render around 15 laks of triangles.How i can increase the speed ?
The PIXELFORMATDESCRIPTOR structure is given below:-
static PIXELFORMATDESCRIPTOR pfd =
{
sizeof(PIXELFORMATDESCRIPTOR), // size of this pfd
1, // version number
PFD_DRAW_TO_WINDOW | // support window
PFD_SUPPORT_OPENGL | // support OpenGL
PFD_DOUBLEBUFFER | // double buffered
PFD_STEREO_DONTCARE ,
PFD_TYPE_RGBA, // RGBA type
24, // 24-bit color depth
0, 0, 0, 0, 0, 0, // color bits ignored
0, // 8 bit alpha buffer
0, // shift bit ignored
0, // no accumulation buffer
0, 0, 0, 0, // accum bits ignored
24, // 24-bit z-buffer
0, // stencil buffer
0, // no auxiliary buffer
PFD_MAIN_PLANE, // main layer
0, // reserved
0, 0, 0 // layer masks ignored
};
When i check the accleration it shows ‘Software’.The code is
int generic_format = pfd.dwFlags & PFD_GENERIC_FORMAT;
int generic_accelerated = pfd.dwFlags & PFD_GENERIC_ACCELERATED;
if (generic_format && ! generic_accelerated)
{
// software
}
else if (generic_format && generic_accelerated)
{
// hardware - MCD
}
else if (! generic_format && ! generic_accelerated)
{
// hardware - ICD
}
The display card is NVIDIA RIVA TNT2 Model 64/Model 64 pro.When i check the render and vender using glGetString()it returns the card name correctly not ‘Microsoft’.
How i can set to H/W accleration or any way to increase the speed of rendering ?
Sorry for bad English and thanks for any input.
Jerry