View Full Version : Where can I find the OpenGL libraries?

04-23-2011, 10:07 AM
I know this is probably an obvious question,
But I can't seem to find the libraries for OpenGL.
I'm using C++.
I'm trying use OpenGL for an Android app,
But all the tutorials I can find are in C++.
So i'm trying to learn OpenGL in C++ and then translate it to Java.

Ilian Dinev
04-23-2011, 10:34 AM
It's properly documented in the android sdk. And has samples, e.g:

X:\AndroidSDK\samples\ApiDemos\src\com\example\and roid\apis\graphics\kube

Here's somewhat a tutorial outside the SDK:
http://code.google.com/p/akjava-android-...glsamples/?r=73 (http://code.google.com/p/akjava-android-project/source/browse/trunk/RedBookSamples/src/com/akjava/android/openglsamples/?r=73)

And some other stuff, slightly anaemic but thus easier to understand:
http://www.anddev.org/android-2d-3d-grap...ratch-t229.html (http://www.anddev.org/android-2d-3d-graphics-opengl-tutorials-f2/android-gl-learning-opengl-from-scratch-t229.html)

There's also a way to use GL(ES) with C/C++ , via the Android NDK. But I doubt you'll want to jump on that immediately. Anyway, the NDK comes only with 2-3 libraries, so you can't miss them :) .