PDA

View Full Version : Where is glBegin/glEnd ?



AlienKinetics
01-07-2004, 08:13 PM
Am I missing something?

Where are the glBegin/glEnd commands in the spec and header file.

Derek Evans
Yeti3D Portable Game Engine (http://www.theteahouse.com.au/gba/)

hmwill
01-08-2004, 06:47 AM
There's none such call. OpenGL ES only supports the array-driven rendering API entry points (glDrawArrays etc.)

The rationale seems to be that entertainment apps mostly require rendering of predefined meshes, for which this kind API tends to be more efficient.

Hope that helps,
Martin

AlienKinetics
01-08-2004, 06:23 PM
Cool, excellent stuff.

I'll swap my code over to use glDrawArrays commands. It should be easy to add the glBegin/glEnd functionality on top.

Cant wait to see the day when Yeti3D is using mobile 3D hardware.

Derek Evans
Yeti3D Portable Game Engine (http://www.theteahouse.com.au/gba)