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: glScissor - rectangles

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

    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
    Member Regular Contributor
    Join Date
    Feb 2000
    Location
    milano, italy
    Posts
    282

    Re: glScissor - rectangles

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

    Dolo/\/\ightY
    Dolo/\/\ightY

Posting Permissions

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