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: Frame borders

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2002
    Location
    Munich, Bavaria, Germany
    Posts
    9

    Frame borders

    I have a small problem. I draw my OpenGL - Objects in a Window which is inherit from QGLWidget (a QT - class). My object is for example a cube. If i touch or hit the frame my polygon lines don't go with the object instead they will bend with the border and the form of the object will be changed. This happens only with some lines not with all.
    I'm sure that i have no wrong code. This happens with a simple triangles too. What's the reason ? Is this a problem from OpenGL oder QT 1.45 ?
    Thanks very much

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2000
    Location
    Hannover, Germany
    Posts
    1,258

    Re: Frame borders

    Maybe try to feed glViewport with the correct window size and gluViewport with the correct aspect ratio?
    - Michael Steinberg

Posting Permissions

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