I have a fairly straight forward question. I have a commandline application I’m writing in C, and I want to bring up an OpenGL window from that application itself, not invoking another app. Can I use GLUT, or something?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
yes, if all you are doing is opening OpenGL windows (interactive or not) without need for system controls, GLUT will definitely make your life easy.
here is one of the best GLUT tutorials I know of:
http://www.lighthouse3d.com/tutorials/glut-tutorial/
for OSX you may need to change your includes.
to