"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Glut|es

Hi, I want to draw some primitives like spheres and cones. I found this library [url]http://glutes.sourceforge.net/[/url]. Does somebody have experience with it? Alex

I just had a look at the source code. GLUT|ES unfortunetly uses glBegin() and glEnd(). Maybe I should copy and adapt the needed parts.

if you want to draw some primitives you can just define the points in a float array. e.g.: [CODE]float x=.5; float y=.5; GLfloat vbVertices[12]; vbVertices[0]=-x; vbVertices[1]=y; vbVertices[2]=0.0f; vbVertices[3]=-x;