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 5 of 5

Thread: viewport limitations ?

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2000
    Location
    Paris,France
    Posts
    7

    viewport limitations ?

    Hi !
    I've got a bug with linux : it sounds like the viewport (glViewport) can't be larger than the window. Does anyone confirm this limitation ?
    It didn't happen with SGI.

    Thanks in advance.

  2. #2
    Junior Member Newbie
    Join Date
    Sep 2000
    Posts
    16

    Re: viewport limitations ?

    Hi Anne-Gael,

    Originally posted by Anne-Gael:
    Hi !
    I've got a bug with linux : it sounds like the viewport (glViewport) can't be larger than the window. Does anyone confirm this limitation ?
    It didn't happen with SGI.
    How did you experience this limitation?
    I changed my test programm to use a glViewport 100 pixels wider and higher than the window. The scene was cut off at the edge but worked as I would expect it to (that behavior could be false, since because I am new to OpenGL I do not know what should happen). Perhaps it is and Mesa-Limitation which does not occur on my box because I use the NVidia drivers for linux...

    Hope this helps, otherwise explain your problems more in detail...

    bxe Miq

  3. #3
    Junior Member Regular Contributor
    Join Date
    May 2000
    Location
    San Diego, CA, USA
    Posts
    110

    Re: viewport limitations ?

    You should check the OpenGL specs and see what they say about this. You should conform to the specs so that you can run on different hardware vendors.

    /skw|d

  4. #4
    Junior Member Newbie
    Join Date
    Mar 2000
    Location
    Paris,France
    Posts
    7

    Re: viewport limitations ?

    ok, OpenGL specs should always be checked.. I can read there is an implementation-dependant maximum for the dimensions.
    I asked for a 1280*1280 viewport, and only got a 1280*1200 one : 1200 looks as a max..
    I'll be able to verify only following days.

    Thanks again.

  5. #5
    Junior Member Regular Contributor
    Join Date
    May 2000
    Location
    San Diego, CA, USA
    Posts
    110

    Re: viewport limitations ?

    It makes sense that there is a 1200 row limitation, for some hardware cards cannot go beyond 1600x1200. The driver might be limiting the size to match the size of the framebuffer in your hardware.

    /skw|d

Posting Permissions

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