PDA

View Full Version : QGLWidget Problems



ToddAtWSU
2nd October 2006, 15:45
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!

Rayven
2nd October 2006, 22:06
Some implementations of OpenGL do not support viewports > 2048. glGetIntegerv( GL_MAX_VIEWPORT_DIMS, &maxDim ) returns the maxiumum dimension of the viewport.

:D