228 reputation
211
bio website
location
age
visits member for 1 year, 11 months
seen Dec 20 '13 at 19:45

Jul
22
awarded  Notable Question
Jul
2
awarded  Curious
Mar
1
awarded  Popular Question
Dec
30
awarded  Yearling
Dec
19
awarded  Popular Question
Dec
12
awarded  Popular Question
Jul
12
accepted Is it possible to apply a texture inside a GL_LINE_LOOP?
Jul
11
asked Is it possible to apply a texture inside a GL_LINE_LOOP?
Jun
17
accepted Scale Matrix Transform without moving primitive
Jun
17
comment Scale Matrix Transform without moving primitive
Makes sense so if I would change my origin from the center to the left hand corner this would help fix the issue right? Makes sense to that, any chance of including that in the answer to make it more applicable?
Jun
17
comment Scale Matrix Transform without moving primitive
Actually It seems to have worked when I only scale 1 axis. This seems to make sense to me for some reason. I changed to glScale2D(1, userData.heightScreen/userData.widthScreen); and because it does not scale the y it does not it does not move. I think your answer still missed my question, how do you scale the y without moving the triangle up.
Jun
17
asked Scale Matrix Transform without moving primitive
Jun
6
accepted How to create a projection matrix in OpenGL ES 2.0
Jun
6
comment OpenGL ES 2.0: Texture does not appear to be correct
Thats what I thought and I did finally figure it out but it was based of some sample code so that is what threw me. The sample code used DrawElement instead and reused verts. There also was something to be said about the relation to texture cords order and vertex cords order, as well as, text cords order vs orientation. But that is probably too broad here.
Jun
6
accepted OpenGL ES 2.0: Texture does not appear to be correct
Jun
5
asked OpenGL ES 2.0: Texture does not appear to be correct
Jun
2
answered How to create a projection matrix in OpenGL ES 2.0
Jun
2
comment How to create a projection matrix in OpenGL ES 2.0
adding GL_TRUE does cause an exception btw.
Jun
2
comment How to create a projection matrix in OpenGL ES 2.0
I tried maunally transposing to float proj[16] = { w, 0, 0, 0, 0, h, 0, 0, 0, 0, a, b, 0, 0, 1, 0 }; But still no dice
Jun
2
comment How to create a projection matrix in OpenGL ES 2.0
Thanks a lot for showing your implementation! I will try to play around with it but from the documentation (Remember I am using GLES2.0) "Specifies whether to transpose the matrix as the values are loaded into the uniform variable. Must be GL_FALSE." So does this mean I just need to reverse the order of the variables?