PDA

View Full Version : Please help!!!!!(Mac OS 9.2)



hcrogma
04-23-2003, 10:29 AM
How do I use open GL to draw to my window.

How do I quit glutmainloop with out leaving my program...

shinpaughp
04-23-2003, 12:20 PM
Hey,
Go to http://developer.apple.com/techpubs/ or http://developer.apple.com/techpubs/macosx/Carbon/graphics/OpenGL/opengl.html and look for MacOS9 OpenGL documentation and samples. The samples can be found in the SDK v1.2 for MacOS 9. They should provide you with how to create rendering contexts unless they use glut or the documentation should somewhere.

Gavin
04-23-2003, 02:56 PM
with regard to quitting mainloop check the list archives, someone has made a hack to do this

nexusone
04-23-2003, 04:38 PM
Without hacking the GLUT source you can't.
And if you hack it then, that would make it not portible to other systems.

You may check and see if there is a example of using native Mac code to open a drawing contex in Mac.
Which I am sure there is.


Originally posted by hcrogma:
How do I use open GL to draw to my window.

How do I quit glutmainloop with out leaving my program...