iSGL3D Tutorials

Tutorial 0 - Getting started

This tutorial is the first step in creating an iSGL3D application. We cover briefly some of the essential concepts of iSGL3D and then illustrate how to integrate iSGL3D into an iOS application. The best way to discover iSGL3D is to run the demos that are included in the download and take a look at the code behind them.

Tutorial 1 - Spinning cube

This tutorial shows how to create a very simple scene with a rotating cube. It takes advantage of the Isgl3dBasic3DView class to create default scene and camera objects and illustrates how to create scene objects and perform simple, scheduled animation.

Tutorial 2 - Lighting and shading

In this tutorial we'll see how to add lighting to a scene and discuss the different color components. At the same time we'll see how to create an Isgl3dMeshNode using an Isgl3dColorMaterial and an Isgl3dPrimitive. The color material will also introduce the notion of different material properties.

Tutorial 3 - Texture mapping

Texture mapping is a method to produce much more realistic rendering of objects, rather than just using simple colors. This tutorial shows how in iSGL3D it is very easy to wrap an image on to a 3D object with just a single line of code using Isgl3dTextureMaterial.

Tutorial 4 - Object interaction and Tweening

With the iPhone, iPad and iPod touch, touches and movements of fingers on the screen are essential to application design. iSGL3D allows this to go one step further by enabling interactions with individual 3D objects on the screen. This tutorial shows how this can be achieved easily and at the same time shows how the Tweener feature of iSGL3D provides simple animations.

Tutorial 5 - Rendering transparent objects

In this tutorial we look more closely at rendering transparent materials and some features of iSGL3D to ensure that they are rendered correctly. At the same time we'll include some new primitives, see how to render animated textures (using Isgl3dAnimatedTextureMaterial) and add more user interaction to the scene with an Isgl3dTouchScreenResponder.

More tutorials still to come!

This page will be updated as soon as possible!