Results 1 to 2 of 2

Thread: Frame borders

  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
    Dec 2007
    Posts
    1,077

    Re: Frame borders

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

Similar Threads

  1. Re-create FBO (frame buffer object) each frame
    By Yossi Koren in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 06-15-2017, 03:25 PM
  2. How to set borders for the screen?
    By in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 09-13-2002, 02:23 PM
  3. borders around lightmaps
    By JacekPoplawski in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 08-09-2002, 07:09 AM
  4. Texture borders
    By thebluegnu2000 in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 11-23-2000, 12:23 PM
  5. Mipmap Borders
    By MikeM in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 10-03-2000, 07:51 AM

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