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: glRect call failing

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2002
    Posts
    9

    glRect call failing

    I'm trying to write a screensaver. I have donwnloaded some examples. And the first thing I have done is to try to draw a Rectangle. But to my surprise, it isn't shown. the clear routine works, a example function that I have downloaded works but the glRect directive does not.

    Any idea.

    Thanks.

    Iván

  2. #2

    Re: glRect call failing

    the possiblities are endless...
    what colour are you drawing the rect, same as the background?
    are you looking in the right direction?
    is your rect really small?
    is it really big?
    is your eye point and the rect both at 0,0,0?
    is the rect outside your clipping planes?
    etc

Posting Permissions

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