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

Thread: Max Viewport Resolution / Max Stack Depths

  1. #1
    Junior Member Regular Contributor
    Join Date
    Feb 2000
    Location
    Bolton, United Kingdom
    Posts
    105

    Max Viewport Resolution / Max Stack Depths

    Hi,
    I need to clarify a couple of points ...

    1. I need a fairly high resolution in a selection routine and set the viewport size to 65536 (I'd come across a reference to this figure). Anyway, I suspect that the reference is wrong ... do I have to use the values returned from a glGet using GL_MAX_VIEWPORT_DIMS bearing in mind that I'm doing a GL_SELECT ?
    (I need to use a viewport size of about 2048 ... is that going to be fairly typical if I can't use 65536 ?)

    2. I'm picking up to a maximum of 120 named objects ... am I safe in assuming that all cards support a name stack of at least 128 ?

    If these values are exceeded, could this result in a card crash ? ... we've been experiencing problems with an ATI 9700 Pro.

    Thanks

    Andrew

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,651

    Re: Max Viewport Resolution / Max Stack Depths

    Hi !

    You can't assume anything about maximum values even though there are some minimum values specified, GL_NAME_STACK_DEPTH specifies the name stack depth, I am not sure what the minimum value is, but I would recommend that you download the OpenGL spec pdf file it's all in there.

    Mikael

Posting Permissions

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