View Full Version : Texture

05-28-2013, 11:01 PM
Hi everyone,
I want to know about GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP and how can we map on 2d or 3d object, Thanks in advance.

carsten neumann
05-29-2013, 08:43 AM
This is way too broad of a topic to answer on a forum. Unless you have a more specific question I'd recommend reading a tutorial (see the wiki (http://www.opengl.org/wiki/Getting_Started) for links to some).

05-31-2013, 02:45 AM
Thanks carsten neumann,
How implement GL_TEXTURE_1D;

06-03-2013, 03:38 AM
To understand this stuff you need to a proper tutorial. If you want to truly understand these concepts, you will be let down by what tutorials you can find with google. Do yourself a favor and buy the OpenGL RedBook and the Superbible. All you ever need to know is presented well in those books. Small investment, good results.