How to render primitives in wireframe in Open Gl ES
Asked Answered
A

1

11

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

Anal answered 26/9, 2009 at 10:56 Comment(0)
S
14

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

Stickleback answered 21/7, 2010 at 21:41 Comment(1)
This is a pretty big omission, considering wireframe mode is most useful for debugging, and portable apps are particularly difficult to debug..Abusive

© 2022 - 2024 — McMap. All rights reserved.