Results 1 to 3 of 3

Thread: glScissor

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

    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
    Senior Member Regular Contributor fenris's Avatar
    Join Date
    Mar 2000
    Location
    Cincinnati, Ohio USA
    Posts
    129

    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
    Member 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

Similar Threads

  1. Reverse glScissor ?
    By imported_raziza in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 06-13-2012, 07:56 AM
  2. problems with glScissor
    By Leseratte in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 12-08-2011, 08:02 AM
  3. glScissor() and gluOrtho2D()
    By Veric in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-14-2009, 07:42 AM
  4. glScissor z inaccuracies
    By FatalXC in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 09-10-2002, 07:42 AM
  5. glScissor - rectangles
    By holy_moly in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 03-27-2000, 10:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean