Opengl newbie !

Started by
3 comments, last by Kelly G 19 years, 6 months ago
hi all, what prevents OpenGL to have support for windowing/audio/events/sound etc...why do we need to depend on GLUT/SDL/QT etc.... ~boyd
Advertisement
OpenGL is a graphics API. All of those things you mentioned fall outside the purpose of OpenGL.
nothing _prevents_ it, there just is no builtin aspect of opengl that does this. The reasoning behind it is that if you exclude those things, opengl is portable and cross-platform capable and as MikeMJH points out, the purpose of OpenGL is narrowly defined to be a graphics API.

The original ancestor of opengl, IrisGL did actually have things like windowing and i believe input, but when it was decided to make opengl they moved to remove suc haspects to enhance the portability of opengl.
And ill stop there because im rambling
so, what does medium to higher level OpenGL games use for their windowing/sound/events etc....

~boyd
windows API, MFC, Direct X, SDL, Xwindows, GTK, and many others.

This topic is closed to new replies.

Advertisement