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 - working with nodes

We start once again with the template application we created earlier. Also copy everything needed to load the Sydney mesh file (Sydney.md2 and Sydney.bmp) included with the Irrlicht package to where your application can find those, usually the same directory your application executable is in.

If you are unsure what to do, at any point of this example take a look at the first examples from Chapter 3, Loading Meshes where this is explained in more detail.

  1. Add a variable called smgr from the type ISceneManager which stores an instance of the scene manager via device->getSceneManager().
  2. Call smgr->drawAll(); in the application's loop.
  3. Now switch back to the line you added before. Add an animated mesh which loads the ...

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