O'Reilly logo

Irrlicht 1.7 Realtime 3D Engine by Aung Sithu Kyaw, Johannes Stein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - adding a custom scene node

Creating a whole game or even a large part of the described scenario would miss the point of this example. We will just create a custom node which should in the end look a spaceship. Well, spaceship might be over exaggerated; a simple spaceship-like object is what we are aiming for. Here is a rough sketch of what our object should look like when it's finished. It basically consists of seven triangles:

Time for action - adding a custom scene node

We will use the template application from Chapter 2, Creating a Basic Template Application as our starting point.

  1. Add a class called CSpapeShip which inherits from ISceneNode.
  2. Add the following private fields, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required