Porting OpenGL to OpenGL ES

Hi, I’m beginner OpenGL & OpenGL ES
I’m trying to port OpenGL source to OpenGL ES.
But, glBegin and glEnd calls do not exist in OGLES.
Hellp Me.

            for (i=0; i<3; ++i) {

[ April 25, 2005: Message edited by: JongKyu ]

[ April 25, 2005: Message edited by: JongKyu ]

You’re right, those calls do not exist. Try starting using one of the tutorials here:

  • HM

You’ll have to use vertex arrays for everything you draw. Even the vestigial glNormal glColor etc are just for setting global attributes when not otherwise specified with array data.

[ April 24, 2005: Message edited by: dorbie ]

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