Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to render primitives in wireframe in Open Gl ES

I can see how to render wireframe primitives in open gl. By using glPolygonMode, however this call seems to be missing from Open GL ES.

Does anyone know how to render primitives in wireframe on Open GL ES?

Thanks Rich

like image 603
Rich Avatar asked Feb 03 '23 09:02

Rich


1 Answers

It not possible to render wireframe in OpenGL ES. You can draw using lines/line strip instead of triangles but some of the lines will be lost. It's not real wireframe but it can help you see some problems. In OpenGL(not ES) you can change the way polygons are rendered using glPolygonMode, but this is not supported in OpenGL ES

like image 53
Mircea Ispas Avatar answered Feb 11 '23 06:02

Mircea Ispas