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

Thread: glScissor

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2000
    Location
    ...
    Posts
    26

    glScissor

    hi,
    i want to know the usual ways to "forbid" opengl to render stuff which is outside of the screen to get more speed(why should i render invisible things anyway?)
    i read about glScissor but i can't figure it out.
    just let me know how you do it,thanks

  2. #2
    Junior Member Regular Contributor fenris's Avatar
    Join Date
    Mar 2000
    Location
    Cincinnati, Ohio USA
    Posts
    152

    Re: glScissor

    glScissor() is used to clip a region in the viewport. OpenGL will automatically clip anything that is trying to be drawn outside of the viewport set by glViewport().

  3. #3
    Intern Newbie
    Join Date
    Mar 2000
    Location
    New Jersey
    Posts
    30

    Re: glScissor

    I've found glScissor to be kind of redundant, glViewport does everything I need.
    fs
    http://fshana.tripod.com
    Francis Shanahan
    Architect

Posting Permissions

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