GLFRONTFACE(3G)GLFRONTFACE(3G)NAME
glFrontFace - define front- and back-facing polygons
C SPECIFICATION
void glFrontFace( GLenum mode )
PARAMETERS
mode Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW.
DESCRIPTION
In a scene composed entirely of opaque closed surfaces, back-facing polygons are never visible. Eliminating these invisible polygons has
the obvious benefit of speeding up the rendering of the image. To enable and disable elimination of back-facing polygons, call glEnable
and glDisable with argument GL_CULL_FACE.
The projection of a polygon to window coordinates is said to have clockwise winding if an imaginary object following the path from its
first vertex, its second vertex, and so on, to its last vertex, and finally back to its first vertex, moves in a clockwise direction about
the interior of the polygon. The polygon's winding is said to be counterclockwise if the imaginary object following the same path moves in
a counterclockwise direction about the interior of the polygon. glFrontFace specifies whether polygons with clockwise winding in window
coordinates, or counterclockwise winding in window coordinates, are taken to be front-facing. Passing GL_CCW to mode selects counterclock-
wise polygons as front-facing; GL_CW selects clockwise polygons as front-facing. By default, counterclockwise polygons are taken to be
front-facing.
ERRORS
GL_INVALID_ENUM is generated if mode is not an accepted value.
GL_INVALID_OPERATION is generated if glFrontFace is executed between the execution of glBegin and the corresponding execution of glEnd.
ASSOCIATED GETS
glGet with argument GL_FRONT_FACE
SEE ALSO glCullFace(3G), glLightModel(3G)GLFRONTFACE(3G)
Check Out this Related Man Page
GLFRONTFACE(3G)GLFRONTFACE(3G)NAME
glFrontFace - define front- and back-facing polygons
C SPECIFICATION
void glFrontFace( GLenum mode )
PARAMETERS
mode Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW.
DESCRIPTION
In a scene composed entirely of opaque closed surfaces, back-facing polygons are never visible. Eliminating these invisible polygons has
the obvious benefit of speeding up the rendering of the image. To enable and disable elimination of back-facing polygons, call glEnable
and glDisable with argument GL_CULL_FACE.
The projection of a polygon to window coordinates is said to have clockwise winding if an imaginary object following the path from its
first vertex, its second vertex, and so on, to its last vertex, and finally back to its first vertex, moves in a clockwise direction about
the interior of the polygon. The polygon's winding is said to be counterclockwise if the imaginary object following the same path moves in
a counterclockwise direction about the interior of the polygon. glFrontFace specifies whether polygons with clockwise winding in window
coordinates, or counterclockwise winding in window coordinates, are taken to be front-facing. Passing GL_CCW to mode selects counterclock-
wise polygons as front-facing; GL_CW selects clockwise polygons as front-facing. By default, counterclockwise polygons are taken to be
front-facing.
ERRORS
GL_INVALID_ENUM is generated if mode is not an accepted value.
GL_INVALID_OPERATION is generated if glFrontFace is executed between the execution of glBegin and the corresponding execution of glEnd.
ASSOCIATED GETS
glGet with argument GL_FRONT_FACE
SEE ALSO glCullFace(3G), glLightModel(3G)GLFRONTFACE(3G)
Dear all
I am facing a problem that I cannot able to login through 192.168.11.6. I even unplumb it and then plumb it again also, but still facing a problem. Could anyone tell me that what is the meaning of "inet 192.168.11.6 --> 192.168.11.6". I even restart the server two time also ,but still... (7 Replies)
Hi,
Using sed, i need to edit two functions data as explained below.
C1 function axis need to be change as axis1 and in C2 function width and height name should change as width2 and height2.
Input file :
c1 {
width=0
text=Pen
height=0
axis=no
mode=6
}... (11 Replies)
Dear Friends,
I am facing 2 problems while writing a script
1) I have a flat file and I want to captur specific information from it.
Example
I have this string in the file
PACK: P42 77 UNPACK: MHTT DMK
I want to capture whatever is between word PACK: and word UNPACK: including... (8 Replies)
Hi,
I am writting a script which will take all the files present in 2 directories. (the 2 directories have the same files with same name but some different content)
i need 2 compare 2 files and then copy the contents of file1 to file2. the contents which are missing in file1 and nothing from... (8 Replies)
hi there,
i'm new to shell scripting as i usually just use our solaris server for db administration and to get some basic system information. however i'm stuck with something that requires further scripting knowledge.
I need to extract the Name, Desc and Status from pkginfo-l.
I need them... (10 Replies)
Hi techies ..
This is my first posting hr ..
Am facing a serious performance problem in counting the number of lines in the file. The input files i get will be in some 10 to 15 Gb of size or even sometimes more ..and I will load it to db
I have used wc -l to confirm whether the loader... (14 Replies)
hi
I know this topic has been discussed a lot in the forum but still couldnt get a exact solution to problem i am facing
I have a CSV file genertaed on Unix box and want to be sent to my email .
mailx -s "TEST" "xyz@hotmail.com" < 1.csv
cat 1.csv | mailx -s "TEST" "xyz@hotmail.com"
... (10 Replies)
Hello,
I am not that experienced with Linux, and I am currently facing some issues.
The application I'm working on uses hundreds of threads. To optimize the memory usage, I am putting all my data inside a shared object (so).
The steps for this are as follows:
1. a C file (generated... (17 Replies)
Suppose
file1.bim
1 rs1 0 0 G A
1 rs3 0 1 A C
2 rs8 0 0 G A
2 rs2 0 0 T C
3 rs10 0 0 0 T
3 rs11 0 0 T 0
(N*6 table, where N is arbitary,in this case 6, where 2nd column is the name of SNP, and the 5th,6th are genotype data, where 0 means missing information)
There is... (9 Replies)
Hi,
i need to automate installation (console) of product and found except as solution.iam new to expect and know basics of expect.
i am struck with the following cases and need help for them to continue:
1) in every screen of installation at the end we have kind of buttons which we need to... (7 Replies)
Hi All,
I am facing a strange problem with my code, I have a script which does housekeeping of oracle DB generated files. We have multiple DB's running with different OS users, so we are executing the script as root user, which will generate a dynamic script for each DB, and it will switch to... (8 Replies)
Apologies if this is the incorrect forum.There is an issue in the function call I am facing while calling the same from a unix shell scripts.
Basically, I want the ref cursor to return values to a variable in sqlpus. The function call is currently saved in a ".txt" file
in a unix location. I want... (7 Replies)
Hi,
I am getting the -bash-3.2# prompt whenever I am trying to logging in the RHEL machine
# ssh mindnic-02
root@mindnic-02's password:
Last login: Thu May 25 14:06:31 2017 from 10.250.107.81
Could not chdir to home directory /root: No such file or directory
-bash-3.2#
Please help... (7 Replies)
Dear All,
I am facing a small issue in my code where in I am searching for a file in a directory and if found it sends me a message along with the time and filename.
However if a file is not found based on the search pattern, the result which I am getting is all the files present in that... (7 Replies)