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,978

    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

Similar Threads

  1. Replies: 3
    Last Post: 07-15-2011, 06:14 AM
  2. Use openGL without glutMainLoop
    By David Doria in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 11-05-2008, 10:32 AM
  3. C++ callbacks
    By in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 07-27-2004, 06:48 PM
  4. registering callbacks?
    By dovkruger in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-13-2004, 01:07 AM
  5. GLU callbacks in c++
    By ageo in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 12-26-2002, 11:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean