[info-performer] Texturing

Date view Thread view Subject view Author view

From: Anthony Clare (a.j.clare++at++sheffield.ac.uk)
Date: 09/25/2003 08:20:44


Hi,

I'm trying a simple program to use a texture I have created at runtime but
I seem to be getting confused by the performer docs. According to the docs
you can provide a image array as you would for an OpenGL app. However, the
function prototype is

void pfTexImage ( pfTexture* tex, uint* image, int comp, int ns, int nt,
int nr );

Does this means that the image must be in unsigned integer format? This
seems to remove some of the functionality of glTexImagexx(). Surely you can
provide a GL_FLOAT array etc. or am I reading this all wrong???

Tony.

_________________________________________________

Anthony Clare
Department of Automatic Control and Systems Engineering
The University of Sheffield
www.shef.ac.uk/acse/
a.j.clare++at++sheffield.ac.uk
_________________________________________________


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Sep 25 2003 - 08:22:52 PDT