openGL as a library, not glutMainLoop callbacks possible?
newbie here. wish to use openGL services on
my sparc station, using Solaris, as a
conventional library "*.a" set of service
subroutines, rather than registering my
application software as a callback function.
since my application is Ada tasking mapped
onto solaris threads, the runtime system
requires control of the program counter.
TIA - cdavis
Re: openGL as a library, not glutMainLoop callbacks possible?
I'm no UNIX guru, but anyways...
Have a look at the online version of the Red Book , and look at appendix C. There are some X-specific functions for setting up a proper window for OpenGL rendering. I also recomend you buy a book. A good one is OpenGL Programming for the X Window System ($45 @ Amazon.com ). I assume it's using native X-functions to setup a window for rendering, and not GLUT, but please check this out before you buy it