简体   繁体   中英

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.

新顶点坐标=投影矩阵*模型视图矩阵*旧顶点坐标

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM