Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glscissor(3g) [debian man page]

GLSCISSOR(3G)							  [FIXME: 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/. [FIXME: source] 05/30/2012 GLSCISSOR(3G)

Check Out this Related 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)
Man Page

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. UNIX for Advanced & Expert Users

mail command on sco box

Hello, Can anyone tell me why the command below will not work on a SCO box, but does fine on aix, suse boxes. Thanks. echo "test" | mail -s "Test" test@test.com Course the email address I just faked out for sample purpose. I see from the it gives the following error below. I also changed... (0 Replies)
Discussion started by: benefactr
0 Replies

4. 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

5. 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

6. 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

7. UNIX for Dummies Questions & Answers

sgi box root password

I am new to unix and have questions. We have a older SGI box that boots only to single user mode. I beleive it is doing that because of a failed fsck. The unit passes all hardware tests on boot up but gets to "starting up the system" and fails with the following: "init cannot create /var/adm/utmp... (1 Reply)
Discussion started by: yhillclimb
1 Replies

8. 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

9. 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