Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glscissor(3g) [xfree86 man page]

GLSCISSOR(3G)															     GLSCISSOR(3G)

NAME
glScissor - define the scissor box C SPECIFICATION
void glScissor( GLint x, GLint y, GLsizei width, GLsizei height ) PARAMETERS
x, y Specify the lower left corner of the scissor box. Initially (0, 0). width, height Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window. DESCRIPTION
glScissor defines a rectangle, called the scissor box, in window coordinates. The first two arguments, x and y, specify the lower left corner of the box. width and height specify the width and height of the box. To enable and disable the scissor test, call glEnable and glDisable with argument GL_SCISSOR_TEST. The test is initially disabled. While the test is enabled, only pixels that lie within the scissor box can be modified by drawing commands. Window coordinates have integer val- ues at the shared corners of frame buffer pixels. glScissor(0,0,1,1) allows modification of only the lower left pixel in the window, and glScissor(0,0,0,0) doesn't allow modification of any pixels in the window. When the scissor test is disabled, it is as though the scissor box includes the entire window. ERRORS
GL_INVALID_VALUE is generated if either width or height is negative. GL_INVALID_OPERATION is generated if glScissor is executed between the execution of glBegin and the corresponding execution of glEnd. ASSOCIATED GETS
glGet with argument GL_SCISSOR_BOX glIsEnabled with argument GL_SCISSOR_TEST SEE ALSO
glEnable(3G), glViewport(3G) GLSCISSOR(3G)

Check Out this Related Man Page

GLSCISSOR(3G)							   OpenGL Manual						     GLSCISSOR(3G)

NAME
glScissor - define the scissor box C SPECIFICATION
void glScissor(GLint x, GLint y, GLsizei width, GLsizei height); PARAMETERS
x, y Specify the lower left corner of the scissor box. Initially (0, 0). width, height Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window. DESCRIPTION
glScissor defines a rectangle, called the scissor box, in window coordinates. The first two arguments, x and y, specify the lower left corner of the box. width and height specify the width and height of the box. To enable and disable the scissor test, call glEnable() and glDisable() with argument GL_SCISSOR_TEST. The test is initially disabled. While the test is enabled, only pixels that lie within the scissor box can be modified by drawing commands. Window coordinates have integer values at the shared corners of frame buffer pixels. glScissor(0,0,1,1) allows modification of only the lower left pixel in the window, and glScissor(0,0,0,0) doesn't allow modification of any pixels in the window. When the scissor test is disabled, it is as though the scissor box includes the entire window. ERRORS
GL_INVALID_VALUE is generated if either width or height is negative. ASSOCIATED GETS
glGet() with argument GL_SCISSOR_BOX glIsEnabled() with argument GL_SCISSOR_TEST SEE ALSO
glEnable(), glViewport() COPYRIGHT
Copyright (C) 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. AUTHORS
opengl.org opengl.org 06/10/2014 GLSCISSOR(3G)
Man Page

15 More Discussions You Might Find Interesting

1. IP Networking

IP Addressing with Digital Unix

I'm trying to set up an IP address on a Digital Unix box. I would like to know the commands in order to do so. thanks (5 Replies)
Discussion started by: lavelyj
5 Replies

2. UNIX for Dummies Questions & Answers

Security help

I was reviewing my logs today and I found someone is trying to hack into my linux box. They are trying to ssh into my box which I have enabled but they did not guess the password. Is there anyway to block or drop this kind of stuff? Is this the new way to hack now? Mar 4 19:44:18 nyuas01... (2 Replies)
Discussion started by: yipster
2 Replies

3. HP-UX

HPUX config commands

Hi guys, Need a favour or information on how to get it done in configuring a HPUX-11i box?I need the commands which is needed to configure the box...The pdf's in HP site is too much to look at.Is there any advice from u guys on how could i settle this problem? (7 Replies)
Discussion started by: giriplug
7 Replies

4. UNIX for Dummies Questions & Answers

Copy file from unix box to other

Hi all, I am new to UNIX. I have to copy a .ksh file from the production box PEDFX to test box BREMTX. Can anyone please suggest how I do this? I have CRT loaded on my system. (1 Reply)
Discussion started by: FORUM
1 Replies

5. UNIX for Advanced & Expert Users

Solving the network collisions in Unix box

Hi, Anyone can u give me an idea to clear the network collisions in the unix box(Solaris and Linux)? NIC performance is very low, and it shows collisions, when issuing the command ifconfig -a in the production server. How can i rectify the network collisions in the box. Using netstat and lsof... (4 Replies)
Discussion started by: muthulingaraja
4 Replies

6. UNIX for Dummies Questions & Answers

DG-UX Aviion

Hi all, Having a bit of fun with a very old DGUX box and need help if possible. Up untill we installed a new UPS today the DGUX has been sat in a corner happily humming away. It has been rebooted about 3 times in the last six months that i am aware of. I did the usual "shutdown -y" to... (4 Replies)
Discussion started by: pom
4 Replies

7. Solaris

An urgent call for help

I am new with Sun and havn't been working with it for more then a week now, but I have ran into a problem. I have a Sun V210 box with 2 Fujitsu hard drives. I had everything working on the box (solaris 8), but I was told that some more things needed to be configured. Rather then risking messing the... (6 Replies)
Discussion started by: bsdixon
6 Replies

8. Solaris

Can't do ssh

We have a test box in solaris and some of 20 servers in prod. The problem is i can ping from test box to all prod box, but can't to ssh to prod box. If i try from prod to test box it giving unknown host error, SO what i need to check in test box I did ps -ef |grep ssh it showing ssh is running ... (15 Replies)
Discussion started by: darulprasad
15 Replies

9. UNIX for Dummies Questions & Answers

UNIX box architecture

Hi Gurus, I am new to UNIX environment. We have our DataStage tool installed on UNIX box.We have Dev,test and Prod environments.The architecrue is as given below. Now my problem is I am not able to know what is meant by Physical name,Logical name,Cluster etc. also we need to do failover in case a... (5 Replies)
Discussion started by: pratyusha
5 Replies

10. UNIX for Advanced & Expert Users

Copy file from unix box to another unix box

Hi, I am new for perl scripting, I need a script to copy a log file /test/test_yyyymmdd.dat from one unix box to another unix box location /check/check1/ at daily 2:00AM, please let me know how to do that...... Regards, Ann (8 Replies)
Discussion started by: fabrine
8 Replies

11. SCO

Cannot create pipe

Hi, I'm new here, so please dont shoot me if I forgot something :) Some SCO box we've (our company) got recently from a new customer runs an app that hangs the entire box every once in a while. Today when an admin tried to start the db we got this error: $ dbstart dbstart: line 22: cannot... (6 Replies)
Discussion started by: necron
6 Replies

12. Shell Programming and Scripting

Perl: Sending file from UNIX server to Windows server

I'm trying to write a Perl script where a file from a UNIX server box connects to a Windows server box and copies that file into the Window box. The main problem I have right now is that whenever I try to connect to the Windows box, the connection is refused. The error message that always pops... (2 Replies)
Discussion started by: kooshi
2 Replies

13. What is on Your Mind?

Raspberry PI

The small red box to the left of TV is the Raspberry PI. Successfully installed and running Raspbian Wheezy. I learnt about Raspberry PI from Neo here on unix.com. Thanks to you Neo :b: (6 Replies)
Discussion started by: balajesuri
6 Replies

14. UNIX for Dummies Questions & Answers

I have this box thing, total newbie here can someone explain?

Hey guys, I'm really new to all this side of computing and have just had this box sort of left with me and it peaked my curiosity. So i would up here in a desperate bid to find out what the hell it is because although its sort of obvious what it is, no where online is able to give me a detailed... (5 Replies)
Discussion started by: anthony346
5 Replies

15. AIX

Increase filesystem size AIX 5.3

I an trying to increase the file size on an AIX 5.3 box. I think i am missing the correct syntax for the command. Here is was i am trying on a test box # lsvg rootvg VOLUME GROUP: rootvg VG IDENTIFIER: 0000bd8b00004c00000 0010d8ed7a76e VG STATE: active ... (3 Replies)
Discussion started by: fierfek
3 Replies