Depth Tutorial |
Author :
mond
Post Date :
2007-08-19 14:57
Posts :
1
|
I am having a problem getting the Depth Tutorial Dev-C++ Source Code for GLUT to run properly. Pressing the 'D' or 'd' key has no effect on the triangles.
I have tried to debug this code myself, but commenting out the #pragma statement, rebuilding, and recompiling doesn't allow the DOS Prompt window to appear on my screen. Thus any std::cout statements remain unseen.
Regards,
Mond |
Author :
grant
Post Date :
2007-08-20 12:24
Posts :
117
|
Hi,
Try passing GLUT_DEPTH to the glutInitDisplayMode function. e.g.
glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH);
Regards,
Grant |
All Rights Reserved, © Zeus Communications, Multimedia & Development 2004-2005