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 - loading a mesh

Now, we are going to load and display a mesh in our application. Let's take the template application, we made in Chapter 2, Creating a Basic Template Application and take it a bit further:

  1. Open the media folder of your extracted Irrlicht package.
  2. Copy sydney.md2 and sydney.bmp to where the executable of your new application is:

    Note

    Note for Xcode users:

    Right-click on the Xcode project and Add | Existing Files... and select sydney.md2 and sydney.bmp. Check the option Copy items into destination group's folder (if needed). Make sure those two files are listed in Copy Bundle Resources in your build target.

    Time for action - loading a mesh
  3. Add the line ...

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