Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: openGL as a library, not glutMainLoop callbacks possible?

  1. #1
    Guest

    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

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,982

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •