Articles about OpenGL’

Jan 16, 2012

Rajawali Tutorial 4: Optimisation

Posted by Dennis in 3D, Android, Rajawali 2 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 16, 2011

OpenSceneGraph Level of Detail Management

Posted by Dennis in 3D 1 comment

I managed to get my head around the basics of OpenSceneGraph by reviewing the book OpenSceneGraph 3.0 Beginner’s Guide. I picked up a few things that were very interesting. OSG has a very convenient way of using an optimisation technique called Level of Detail management. Simply said: when an object is far away from 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 [...]


Jul 22, 2009

Blender to Objective-C exporter

Posted by Dennis in 3D, Blender 1 comment

I’ve been trying to get my head around Objective-C the last two weeks. It’s a language you have to get used to. But, as they say, it grows on you. I’ve also explored OpenGL for the iPhone which is quite awesome. It’s delightful to work on something non-browser based once in a while! While looking [...]