Articles about OpenGL ES’

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 18, 2011

Min3D for Android: Using The Accelerometer To Control The Camera

Posted by Dennis in 3D, Android 14 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 [...]


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 [...]


Oct 7, 2010

Unused WebGL Presentation made with WebGL

Posted by Dennis in 3D, Speaking, WebGL 6 comments

I made this one for an internal presentation about WebGL. I did the presentation but for some reason I used plain old powerpoint slides. Don’t ask. It’s made with GLGE, JSTweener and the Blender to WebGL Exporter. I guess it could use a bit of optimisation here and there. Oh, and I have tested it [...]


Aug 10, 2010

Using WebGL & GLSL Shaders to Create a Tunnel Effect

Posted by Dennis in 3D, WebGL 8 comments

Now here’s something that’s been done a thousand times before in a thousand different ways! Sometimes it’s good to re-invent the wheel so you can learn something new My purpose for this demo was to experiment with vertex and fragment shaders. They’re very powerful tools that allow you to create the most amazing effects. Click [...]


Aug 6, 2010

X3DOM Exploration #2: Creating Geometry with IndexedFaceSet

Posted by Dennis in 3D, WebGL 5 comments

In my previous post about X3DOM I covered some of the very basics. I used a <Box> object and slapped a Twitter avatar on it. In this post I’m going to use the <IndexedFaceSet> element to create geometry dynamically. Read them pixels For this example I’ve used a PHP-script that loads an image, resizes it [...]