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

Thread: CPW Font weirdness

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2001
    Location
    Melbourne
    Posts
    9

    CPW Font weirdness

    Whenever I display a string through either cpwDrawFont or cpwDrawBufferedFont, the text will stay onscreen for a few seconds then blink out. The piece of code that is being called to render the font is still being called, and the string to render is still there also... it just doesn't show onscreen (although every other rendered object is). Any ideas?

  2. #2
    Junior Member Regular Contributor
    Join Date
    Feb 2002
    Posts
    133

    Re: CPW Font weirdness

    Maybe you could post some code? I've never seen this type of thing happen. The font routine cpwDrawFont uses glDrawPixels for writing into the frame buffer. cpwDrawBufferedFont gives you a buffer so you control how it is written to the scene.

    Regards,
    Jim
    --
    Jim Mathies http://www.mathies.com/

    \"The best way to predict the future is to invent it."

  3. #3
    Junior Member Newbie
    Join Date
    Sep 2001
    Location
    Melbourne
    Posts
    9

    Re: CPW Font weirdness

    Heh, never mind, I realised I was initialising the fonts before I had initialised cpw completely, seems to work okay now.

Posting Permissions

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