PDA

View Full Version : Availability of GLU



huntc
03-25-2004, 06:40 PM
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

oddhack
04-13-2004, 10:42 AM
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.

wili
04-13-2004, 11:02 AM
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