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 5 of 5

Thread: SIOUX console & GLUT

  1. #1
    Guest

    SIOUX console & GLUT

    Does anyone know how to get BOTH a SIOUX console and a GLUT window active together? I think it might require changing the buffer size of the Metrowerks SIOUX console while running GLUT...it seems that you have to have call the printf() function about ~200 times before you exceed the default buffer so that the SIOUX console appears and gets updated. If anyone can help I would appreciate it... Thanks!

  2. #2
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    Newark, DE
    Posts
    16

    Re: SIOUX console & GLUT

    I'm not sure about C but if you use the C++ std lib object cerr all output will bypass the buffer and be updated on demand.

    Hope this helps

  3. #3
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    Newark, DE
    Posts
    16

    Re: SIOUX console & GLUT

    I'm not sure about C but if you use the C++ std lib object cerr all output will bypass the buffer and be updated on demand.

    Hope this helps

  4. #4
    Junior Member Newbie
    Join Date
    Jun 2001
    Location
    North America, .
    Posts
    26

    Re: SIOUX console & GLUT

    With GLUT, you need to call fprintf(strerr etc, instead of using printf. It's how it work, you can do nothing against it, it's buggy, and it's one of the many reasons why I don't use GLUT anymore.
    Did you know that trekbbs use the same bbs engine???

  5. #5
    Guest

    Re: SIOUX console & GLUT

    Thanks -- you guys are TERRIFIC. Using the stderr definitely works.

    Incidently, I too am finding GLUT underwhelming, but I have to use it since the code has to be cross-platform (targets = IRIX, MacOS, and Linux).

Posting Permissions

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