[Fluxus] texture problems

gabor papp gabor.lists at mndl.hu
Tue Apr 7 07:03:00 PDT 2009


i'm still thinking about the texture coordinates.

my expectations for this:
- a texture loaded to a plane should show up in the original orientation
of the texture. so, if i load a texture with text, the text should be
readable
- a texture loaded to a pixels primitive should be ordered as the pixels
of the texture are ordered from left to right, from top to bottom. pdata
0 should be the top-left pixel of the image, pdata (pdata-size) - 1
should be the bottom-right one.

i could not find anything about opengl texture coordinate conventions,
and maybe these expectations don't go along with them, but i think this
is the most logical way to deal with textures. although none of them is
fulfilled now.

the texture is flipped in x:
http://www.flickr.com/photos/gaborpapp/3421353866/

the first pixels value is at the bottom-left:
http://www.flickr.com/photos/gaborpapp/3421388156

what do you think?

gabor



More information about the Fluxus mailing list