Hi Erik,

On 22 July 2015 at 15:59, Erik Hensens <ehens...@hunter.com> wrote:

> Does this mean that I could just use quads, i.e. approximate a circle with
> a many-sided polygon and make four quads for each polygon side, one for the
> top surface, one for the outer side surface, one for the inside surface,
> and one for the bottom surface?
>

You could use GL_QUADS but not all GL/GLES variants support them so using
GL_TRIANGLES and indexing vai DrawElementsUShort would probably be the most
efficient and portable way to tackle things.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to