PDA

View Full Version : Opengl ES 1.0, image to a triangle.



smultring
05-05-2010, 02:01 PM
Im thinking about making a scene without a colorbuffer, and only triangle pictures. (because i draw only gl_triangles in this scene).

I dont understand how and where mesh cordinates is set to a picture using TexImage2D().

ZbuffeR
05-05-2010, 02:19 PM
Sorry, I can not understand : how can you draw a picture without any color ?
Do you mean you want a monochrome rendering ?

smultring
05-06-2010, 04:17 AM
What matters is that i want to draw a texture image.

smultring
05-07-2010, 12:43 PM
Im sorry,
do you understand?

ZbuffeR
05-07-2010, 01:15 PM
Stil I do not understand, sorry too.
Do you want to render a textured triangle ? Dozen of tutorials on the web about that.