Archived

This topic is now archived and is closed to further replies.

GLUT on Win32...anyone got this to work??

This topic is 5109 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

has anyone gotten GLUT to work on a win32 project? if so could someone lead the way through a link or perhaps some code. i am looking to make my own "trackball" class for manipulating my object on the screen with the mouse, and GLUT seems to be the easiest and most effective way to do this. i know about lesson 48 about the arcball but this doesnt work much well at all with other objects that are not circular or does not have the same continuing surface. thanks in advance!

Share this post


Link to post
Share on other sites
well i am on a win32 project.. not a win console. i am using Visual C++ 6.0. as it stands you just cannot include glut when you are already including windows interaction including in your program already. i am wanting to know how to include the glut callbacks but still have my windows callbacks intact. i read where it has been done but dont know if anyone here has tried it. the reason i want this is b/c glut offers very easy and neat features for mouse and keyboard interaction., especially when it comes to moving objects with the mouse on your screen that are in the 3D world. so is there a way for GLUT and windows to share effectively messaging commands for the keyboard and mouse?

Share this post


Link to post
Share on other sites