开发者

get vertex coordinate after transformation OpenGL ES 1.0

I am working on a board game for android using opengl es 1.0. The game board is a polygon an there are two transformations: scale (zoom) and translate. Now I need the vertex coordinates after the开发者_开发技巧 transformation. I managed to get the model view matrix and the projection matrix and now I'm stuck, how do I use this data to get the new coordinates from my old vertex coordinates.


new vertex coordinate = projection matrix * modelview matrix * old vertex coordinate

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜