Articles about Android’

Jan 16, 2012

Rajawali Tutorial 4: Optimisation

Posted by Dennis in 3D, Android, Rajawali 3 comments

The onSurfaceCreated() method in the Renderer is called every time the rendering starts or whenever the context is lost. This typically happens when the orientation changes or when the device wakes up after going to sleep. When the context is lost, all the textures are deleted from memory. This is not something Rajawali inflicts upon [...]


Dec 5, 2011

Rajawali Tutorial 3: Materials

Posted by Dennis in 3D, Rajawali 1 comment

This small tutorial is going to focus on the syntax for creating materials only. If you want to go over the basics then please read this first: Rajawali Tutorial 1: Basic Setup & a Sphere Rajawali Tutorial 2: Creating a live wallpaper and importing a model Alright. Let’s create some materials Simple Material A basic [...]


Aug 25, 2011

Rajawali Tutorial 2: Creating a live wallpaper and importing a model

Posted by Dennis in 3D, Android, Rajawali 17 comments

I’m going to be lazy and make you download the zipped Eclipse project. Get it here. The basics of Android live wallpapers are well documented so I won’t go over that. I suggest you take a look at AndroidManifest.xml, /res/xml/preferencescreen.xml, /res/xml/settings.xml and com.rajawali.tutorials.WallpaperSettings for wallpaper specific stuff. Here are the specifics for Rajawali. The RajawaliTutorial2Wallpaper [...]


Aug 24, 2011

Rajawali Tutorial 1: Basic Setup & a Sphere

Posted by Dennis in 3D, Android, Rajawali 11 comments

So here’s the first very basic Rajawali tutorial. Any questions, let me know Create a new project in Eclipse (Right-click in Package Explorer and choose New > Project … Android Project). Use these values in the configuration screen: project name: RajawaliTutorial1 the “Build Target” should be at least “2.2″ application name: RajawaliTutorial1 package name: rajawali.tutorials create [...]


Aug 23, 2011

Announcing Rajawali: An OpenGL ES 2.0 Based 3D Framework For Android

Posted by Dennis in 3D, Android, Rajawali 8 comments

I’ve been working on this on and off for the last couple of months. It is by no means a fully-featured 3D engine. It has some nice features and I figured I might as well move it to a public repository so other people can use it as well. The other 3D engine for Android [...]


Feb 18, 2011

Min3D for Android: Using The Accelerometer To Control The Camera

Posted by Dennis in 3D, Android 15 comments

NOTE: This OpenGL ES 1.1 framework isn’t maintained anymore. Check out the OpenGL ES 2.0 Rajawali framework which also supports live wallpapers. I haven’t done anything with Min3D for while. I know people have logged some bugs on Google Code but I haven’t had the time to look at them yet. Shame on me. Seeing the [...]


Nov 2, 2010

Min3D for Android: Fog

Posted by Dennis in 3D, Android 1 comment

NOTE: This OpenGL ES 1.1 framework isn’t maintained anymore. Check out the OpenGL ES 2.0 Rajawali framework which also supports live wallpapers. Here’s something I just added to Min3D: fog. Just a few lines of code are needed: scene.fogColor(new Color4(0, 0, 0, 255) ); scene.fogNear(10); scene.fogFar(40); scene.fogEnabled(true); You can download the .apk containing all the examples [...]


Nov 2, 2010

Min3D for Android: Loading Multiple MD2 files

Posted by Dennis in 3D, Android No comments

NOTE: This OpenGL ES 1.1 framework isn’t maintained anymore. Check out the OpenGL ES 2.0 Rajawali framework which also supports live wallpapers. This was a request from a Min3D user. It’s a short tutorial about how to load multiple animated MD2 files with Min3D. If you don’t know what MD2 files are, then read this. The [...]


Oct 21, 2010

Min3D for Android: Sky Box Tutorial

Posted by Dennis in 3D, Android 9 comments

NOTE: This OpenGL ES 1.1 framework isn’t maintained anymore. Check out the OpenGL ES 2.0 Rajawali framework which also supports live wallpapers. I’ve justed committed a new class to the Min3D repository on Google Code: SkyBox. Here’s how to use it: public void initScene() { /** * Create a new Skybox. The first parameter specifies the [...]


May 26, 2010

Cloning animated 3D objects (min3D framework for Android)

Posted by Dennis in 3D, Android No comments

NOTE: This OpenGL ES 1.1 framework isn’t maintained anymore. Check out the OpenGL ES 2.0 Rajawali framework which also supports live wallpapers. These two examples show how you can clone animated objects with min3D. The first example makes a shallow copy of the object. All the vertices, normals and texture coordinates are shared between all the [...]