Results 1 to 2 of 2

Thread: glScissor - rectangles

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2000

    glScissor - rectangles

    hi there,
    using glScissor will cut out a rectangle from the scene.
    Now i thought about cutting out circles and stuff...for example,i thought about creating a scene with a view through binoculars..

    o.k.,i could put some large disks and stuff in front of the scene making it look like binoculars ,but i don't want to.
    So ,is there a function to do this?

  2. #2
    Senior Member Regular Contributor
    Join Date
    Feb 2000
    milano, italy

    Re: glScissor - rectangles

    look for the stencil buffer, it is what you need.


Similar Threads

  1. glScissor() and gluOrtho2D()
    By Veric in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-14-2009, 07:42 AM
  2. Overlapping Rectangles
    By gh001 in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 03-01-2008, 10:55 AM
  3. glScissor z inaccuracies
    By FatalXC in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 09-10-2002, 07:42 AM
  4. 3d rectangles
    By aap9 in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 10-22-2001, 12:49 AM
  5. glScissor
    By holy_moly in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-23-2000, 09:04 AM

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