The reader should be familiar with Android and Java on a basic level. Most recent devices should also support OpenGL ES 2 these days, so all you need to do is enable developer mode and hook the phone up to your machine. The Android Emulator now supports OpenGL ES 2 in recent versions of the Android SDK. Unfortunately, the Android emulator does not support OpenGL ES 2, so you’ll need access to an actual Android device in order to run the tutorial. Prerequisitesīefore we begin, you’ll want to make sure you have the following tools installed on your machine: Finally, we’ll look at what you need to add to the manifest to let the Android market know that you’re using OpenGL ES 2. We’ll also take a look at what shaders are and how they work, as well as how matrices are used to transform the scene into the image you see on the screen. In this lesson, we’re going to go over the code step-by-step, and look at how to create an OpenGL ES 2 context and draw to the screen. This is the first tutorial on using OpenGL ES 2 on Android.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |