glTexCoord1d, glTexCoord1f, glTexCoord1i, glTexCoord1s, glTexCoord2d, glTexCoord2f, glTexCoord2i, glTexCoord2s, glTexCoord3d, glTexCoord3f, glTexCoord3i, glTexCoord3s, glTexCoord4d, glTexCoord4f, glTexCoord4i, glTexCoord4s, glTexCoord1dv, glTexCoord1fv, glTexCoord1iv, glTexCoord1sv, glTexCoord2dv, glTexCoord2fv, glTexCoord2iv, glTexCoord2sv, glTexCoord3dv, glTexCoord3fv, glTexCoord3iv, glTexCoord3sv, glTexCoord4dv, glTexCoord4fv, glTexCoord4iv, glTexCoord4sv − set the current texture coordinates
void
glTexCoord1d( GLdouble s )
void glTexCoord1f( GLfloat s )
void glTexCoord1i( GLint s )
void glTexCoord1s( GLshort s )
void glTexCoord2d( GLdouble s,
GLdouble t ) |
void glTexCoord2f( GLfloat s,
GLfloat t ) |
void glTexCoord2i( GLint s,
GLint t ) |
void glTexCoord2s( GLshort s,
GLshort t ) |
void glTexCoord3d( GLdouble s,
GLdouble t, | |
GLdouble r ) |
void glTexCoord3f( GLfloat s,
GLfloat t, | |
GLfloat r ) |
void glTexCoord3i( GLint s,
GLint t, | |
GLint r ) |
void glTexCoord3s( GLshort s,
GLshort t, | |
GLshort r ) |
void glTexCoord4d( GLdouble s,
GLdouble t, | |
GLdouble r, | |
GLdouble q ) |
void glTexCoord4f( GLfloat s,
GLfloat t, | |
GLfloat r, | |
GLfloat q ) |
void glTexCoord4i( GLint s,
GLint t, | |
GLint r, | |
GLint q ) |
void glTexCoord4s( GLshort s,
GLshort t, | |
GLshort r, | |
GLshort q ) |
s, t, r, q
Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
void
glTexCoord1dv( const GLdouble *v )
void glTexCoord1fv( const GLfloat *v )
void glTexCoord1iv( const GLint *v )
void glTexCoord1sv( const GLshort *v )
void glTexCoord2dv( const GLdouble *v )
void glTexCoord2fv( const GLfloat *v )
void glTexCoord2iv( const GLint *v )
void glTexCoord2sv( const GLshort *v )
void glTexCoord3dv( const GLdouble *v )
void glTexCoord3fv( const GLfloat *v )
void glTexCoord3iv( const GLint *v )
void glTexCoord3sv( const GLshort *v )
void glTexCoord4dv( const GLdouble *v )
void glTexCoord4fv( const GLfloat *v )
void glTexCoord4iv( const GLint *v )
void glTexCoord4sv( const GLshort *v )
v |
Specifies a pointer to an array of one, two, three, or four elements, which in turn specify the s, t, r, and q texture coordinates. |
glTexCoord
specifies texture coordinates in one, two, three, or four
dimensions. glTexCoord1 sets the current texture
coordinates to (s, 0, 0, 1); a call to
glTexCoord2 sets them to (s, t, 0, 1).
Similarly, glTexCoord3 specifies the texture
coordinates as (s, t, r, 1), and
glTexCoord4 defines all four components explicitly as
(s, t, r, q).
The current texture coordinates are part of the data that is associated with each vertex and with the current raster position. Initially, the values for s, t, r, and q are (0, 0, 0, 1).
The current texture coordinates can be updated at any time. In particular, glTexCoord can be called between a call to glBegin and the corresponding call to glEnd.
When the GL_ARB_imaging extension is supported, glTexCoord always updates texture unit GL_TEXTURE0_ARB.
glGet with argument GL_CURRENT_TEXTURE_COORDS
glTexCoordPointer(3G), glVertex(3G)
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.