Texturas - Unisinos
Texturas - Unisinos
Texturas - Unisinos
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Texturas</strong> no OpenGLDepois, carregar os bytes da imagem para o estadode textura do OpenGL. Pode-se usar:void glTexImage1D(GLenum target, GLintlevel, GLint internalformat, GLsizeiwidth, GLint border,GLenum format, GLenumtype, void *data);void glTexImage2D(target, level,internalformat, width, height, border,format, type, data);void glTexImage3D(target, level,internalformat, width, height, depth,border, format, type, data);Estes métodos indicam ao OpenGL como tratar os dados recebidos04/12/2011 Leandro Tonietto 14quarta-feira, 26 de setembro de 12