Results 1 to 2 of 2

Thread: QGLWidget Problems

  1. #1
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    332
    Thanks
    37
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default QGLWidget Problems

    Does a QGLWidget have any constraint problems? I have a viewport with a height of about 8000 and the ortho is about 500. I have lines drawing every 7.5 ortho points, but the lines only draw up to about 2000 viewport coordinates. Does a QGLWidget not allow for a viewport of around 8000 pixels or what could be causing this problem? Thanks for your help!

  2. #2
    Join Date
    Jan 2006
    Location
    Third rock from the sun
    Posts
    106
    Thanks
    17
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QGLWidget Problems

    Some implementations of OpenGL do not support viewports > 2048. glGetIntegerv( GL_MAX_VIEWPORT_DIMS, &maxDim ) returns the maxiumum dimension of the viewport.


  3. The following user says thank you to Rayven for this useful post:

    ToddAtWSU (3rd October 2006)

Similar Threads

  1. QGLWidget renderText rotation
    By ToddAtWSU in forum Qt Programming
    Replies: 4
    Last Post: 19th September 2007, 20:52
  2. Using QGLWidget paint engine to draw regular widgtes?
    By high_flyer in forum Qt Programming
    Replies: 11
    Last Post: 9th October 2006, 12:06
  3. QGLWidget with multiple monitors
    By Rayven in forum Qt Programming
    Replies: 3
    Last Post: 4th August 2006, 10:28
  4. QGLWidget updateGL()
    By Lele in forum Qt Programming
    Replies: 7
    Last Post: 30th May 2006, 15:08
  5. QT4 Plugins - problems, problems
    By NormanDunbar in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2006, 15:39

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.