Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QGLWidget offscreen rendering and GL_MAX_TEXTURE_SIZE
Forum Updated to NodeBB v4.3 + New Features

QGLWidget offscreen rendering and GL_MAX_TEXTURE_SIZE

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JulienMaille
    wrote on last edited by
    #1

    Dear Qt-ers,
    I wrote a small application displaying an heightmap with a texture and I would like to export a snapshot bigger than my screen.
    I found the convenient QGLWidget::renderPixmap() but unfortunately it renders the scene with a "virtual" OpenGL1.1 device that has a limit of 1024x1024 for the texture size (GL_MAX_TEXTURE_SIZE).
    As expected, it works fine for small texture, but above the 1024² limit, the heightmap is not textured.

    Do I have alternative to achieve my "high-res" capture of the scene?

    Thanks a lot

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved