Android NDK - OpenGL ES Tutorial/Libraries [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this questio开发者_运维知识库nHey! Im looking for an OpenGL library/framework to handle basic drawing code etc for me. Otherwise im also looking for some NDK and OpenGL ES tutorials, I cant seem to find anything out there!
Any information would be helpful cheers.
Adam
If you have downloaded the NDK from Android site, you must have some sample code:
For eg:, when you unzipped the NDK, you have a sample here:
android-ndk-r4b-windows\android-ndk-r4b\samples\san-angeles
That's a great example for OpenGL ES.
The best option is to start with the official Android NDK itself (http://developer.android.com/sdk/ndk/index.html). It contains a bunch of OpenGL ES demos.
If you find them too simplistic you have to check out open-source rendering frameworks.
I'm one of the developers of open source Linderdaum Engine (http://www.linderdaum.com) project. It contains a portable renderer based on OpenGL 3 and OpenGL ES 2 that runs on Windows, Android and partially MacOS. The demos contains both simple examples and a couple of complete games from Android Market.
Checkout the NeHe Android Ports. They're in Java, but should help you find your way. And the original NeHe tutorials are a useful reference too.
精彩评论