All About Android-Basics of OpenGL in Android-ANDROIDKAWE

All About Android-Basics of OpenGL in Android-ANDROIDKAWE - Welcome to ANDROID KAWE, Ini adalah sebuah blog directory tentang burung,baik itu suara burung ataupun tips perawatan burung.Blog ini adalah situs perangkum otomatis dari pencarian google yang kali ini berjudul All About Android-Basics of OpenGL in Android-ANDROIDKAWE.Ada ribuan artikel yang sudah terekam ke dalam situs ini,silahkan cari sesuai yang kalian kehendaki,untuk artikel selanjutnya tentang judul diatas bisa kalian baca di bawah ini.

Konten : All About Android-Basics of OpenGL in Android-ANDROIDKAWE
Judul : All About Android-Basics of OpenGL in Android-ANDROIDKAWE

lihat juga


All About Android-Basics of OpenGL in Android-ANDROIDKAWE


Basics about OpenGL ES for Android


OpenGL is an open graphics library to create the high performance 2D and 3D applications.The OpenGL ES is a specification for the embedded devices. The devices comes with GPU (graphics processing unit) accelerate the OpenGL functions and draw the high quality graphics on the screen.


There is lot of stuff on OpenGL which is not useful to start quickly with OpenGL ES on Android. This post is giving a quick start-up for developers to easily understand the basic about the OpenGL ES concepts around the Android application development.


OpenGL is a cross platform library and supports on multiple platforms.


Android support the OpenGL interface programming using the application development in java as well as the native (NDK) support.


The Android SDK has a android.opengl package to create the OpenGL graphics in android applications.


The android.opengl is a static interface and implements the OpenGL ES 1.0/1.1 specifications to create a high performance graphics in 2D and 3D.


The two main classes which need to implement in an OpenGL based application on android platform are as follows.


GLSurfaceView - GLSurfaceView provides a View class to implement with OpenGL 2D and 3D APIs just like the normal SurfaceView in Android. You can extend the GLSurfaceView class to create your own class and use that View to create for your activity.


All the events you want to handle on this view need to implement in the class you extended with GLSurfaceView.


GLSurfaceView.Renderer - This is an interface which provides the class to draw the OpenGL objects in GLSurfaceView. You should implement a separate class for Renderer and use that class to associate with GLSurfaceView instance by using the setRenderer method.


Now you can start trying with OpenGL samples for Android.


See the first sample here


http://creativeandroidapps.blogspot.in/2012/07/sample-code-for-open-gl-in-android.html


If you like this article then please provide your valuable comments.


Thanks
Creative Android Apps









Demikianlah Artikel All About Android-Basics of OpenGL in Android-ANDROIDKAWE

Semoga artikel tentang All About Android-Basics of OpenGL in Android-ANDROIDKAWE, mudah-mudahan bisa memberi manfaat untuk anda semua.

Anda sedang membaca artikel All About Android-Basics of OpenGL in Android-ANDROIDKAWE dan artikel ini url permalinknya adalah https://androidkawe.blogspot.com/2012/07/all-about-android-basics-of-opengl-in.html Semoga artikel ini bisa bermanfaat.Sekali lagi,ini adalah situs auto yang tidak ditulis langsung oleh admin,Kami tidak menjamin akan kebenaran dari artikel yang tertulis.
Back To Top