Menu
Forums
Login | Register

Home > Forums > Problems / Complaints > Depth Tutorial Page :  1 
Depth Tutorial
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
Hi,

Try passing GLUT_DEPTH to the glutInitDisplayMode function. e.g.

glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH);

Regards,
Grant

Home > Forums > Problems / Complaints > Depth Tutorial Page :  1 

You need to be logged in to reply to this topic.


All Rights Reserved, © Zeus Communications, Multimedia & Development 2004-2005

Read the Disclaimer

Links