April 05
Prof. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
Textura
nMapeamento de imagens sobre primitivas
nImagem composta por texels
nLargura e altura: 2n
ngluScaleImage (format,
n                          width_in, height_in, type_in, data_in,
n                          width_out, height_out, type_out, data_out);
nEspecificação: 1D e 2D
nglEnable (GL_TEXTURE_2D or GL_TEXTURE_1D);
nglTexImage2D (GL_TEXTURE_2D, level, components,
n                           width, height, border, format, type, pixels);
nglTexImage1D (GL_TEXTURE_1D, level, components,
n                           width, border, format, type, pixels);