I'm looking for one simple function, a texture mapping function that maps a texture onto the screen.
Input for function : (x,y,u,v) values for each point of the triangle, and a pointer to the texture (which can be fixed size, 128x128 or something), and a pointer to the rendering buffer.
Can someone help me with this ?
Is it realy worth it to use a assembler function instead of a C one ?
I don't want to spend money on PocketGL just to get the source of one function.
Thanks.
Input for function : (x,y,u,v) values for each point of the triangle, and a pointer to the texture (which can be fixed size, 128x128 or something), and a pointer to the rendering buffer.
Can someone help me with this ?
Is it realy worth it to use a assembler function instead of a C one ?
I don't want to spend money on PocketGL just to get the source of one function.
Thanks.