Availability of GLU

Hi there,

I’m wondering if GLU is fully supported by GL ES.

Interestingly I’ve just re-compiled a PC app that users OpenGL and it compiles with the GL ES header. That’s a good start for me, but I also use GLU.

I realise that GLU builds on GL so I’m optimistic about getting GLU to work. Specifically I’m using the following out of GLU:

  • GLUquadricObj
  • gluNewQuadric
  • gluQuadricTexture
  • gluSphere
  • gluDeleteQuadric

Thanks for any info.

Cheers,
-C

We have discussed defining a GLU ES, but haven’t felt much demand for it yet.

Porting the desktop GLU code to run on OpenGL ES would be a nontrivial task, since it uses evaluators, fine grained vertex calls (glBegin/End), and dynamic glGets, none of which are supported by OpenGL ES 1.0. Still, it might make an interesting project for someone so inclined. Porting it to work with the Common-Lite profile might be close to impossible, as the tesselation code in particular uses lots of floating point.

Implementing GLU that properly preserves the GL state (as the MESA implementation does) is not only difficult, but impossible with OpenGL ES 1.0 (no dynamic gets, and vertex array data needs to be modified). A version that leaks state (although possibly in a documented fashion) is of course doable.

cheers,
-wili

o Ville Miettinen, CTO, Hybrid Graphics
o http://www.hybrid.fi

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.