[Interest] [OT] Re: OpenGL under Android... glMatrixMode(GL_PROJECTION) was not declared in this scope
Sean Harmer
sean.harmer at kdab.com
Wed Dec 4 17:53:17 CET 2013
On Wednesday 04 December 2013 17:28:05 Guido Seifert wrote:
> > ? Funny, I assumed the difference between OpenGL and ES was bigger than a
> > few ASCII characters...
> Unfortunately it is. I am still a beginner with all things OpenGL. But I
> managed it to write a converter to import Blender scenes into OpenGL. Works
> fine under Linux, falls flat under Android. Sure, I read that Android uses
> OpenGL ES. But until a few hours ago I didn't have the slightest idea what
> this actually means. *sigh* Back to the drawing board. Does not look too
> difficult to rewrite the code for OpenGL ES, but I really could do without
> this extra work. :-/
Be aware of the OpenGL ES 1.x and 2 differences. If at all possible please use
ES 2 as this is much closer to modern desktop OpenGL and will also be more
maintainable in the future. It does however mean learning about buffer objects
(vertex buffer objects (VBOs) and maybe index buffers (IBOs)) as well as
shaders.
Think of OpenGL ES 2 as approximately equivalent to OpenGL 2 without all of
the old fixed functionality stuff that was deprecated in OpenGL 3.1.
Yes, I know it's confusing! ;)
Good luck,
Sean
--
Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions
More information about the Interest
mailing list