OpenGL Issues

Started by
10 comments, last by Roy Fokker 21 years ago
I agree with the above - it''s seems to be related to the sizing of the window.

Also, you should really set the depth bit in the PIXELFORMATDESCRIPTOR correctly. ie - use 16 or 24. On some older cards you might not get the results you''d expect. Although on newer cards this shouldn''t be a problem - I know that NV drivers will ignore a 16 bit depth with 32 bit color ... it''ll give you 24 bit depth.
Advertisement
I have the
width = LOWORD(lParam);
height = HIWORD(lParam);

Just before winproc gets in to the switch case.

and as for the bit depth, its at 32bits, which is what i run the application at.

As for the PIXELFORMATDESCRIPTOR, i have it set to 16, but that has never cause this sort of problem before.
And i have tried using 24 as bit depth value. still get the same results

This is most infurating.
Well, just in case any one wants to see, the whole shabang, such as it is
Engine.zip
Its not very well commented.
and the controls for the camera are simple enough. arrow keys for xy plane, and Home and End for the Z-axis.

the solution uses VS.net format. but it think it should work on almost all windows compilers, with proper linker setups



[edited by - Roy Fokker on March 25, 2003 9:32:03 PM]

This topic is closed to new replies.

Advertisement