April 05
Prof. Ismael H. F. Santos -
ismael@tecgraf.puc-rio.br
2
Geração automática de
coordenadas de textura (cont.)
•
Mapeamento de ambientes
n
representação de objetos reflexivos
•
Exemplo de especificação
glEnable (GL_TEXTURE_GEN_S);
glTexGeni (GL_S, GL_TEXTURE_GEN_MODE,
GL_OBJECT_PLANE);
glTexGenfv (GL_S, GL_OBJECT_PLANE, plane);