Chapter 4. Getting User Input and Using the Frame Listener

Until now, we always created scenes which were static and didn't have anything moving in them. We will change this with this chapter.

In this chapter, we will:

  • Learn what a FrameListener is
  • Learn how to process user input
  • Combine both concepts to create our own camera control

So let's get on with it...

Preparing a scene

Before adding moving things to our scene, we need a scene to add them to. So let's create a scene.

Get Ogre 3D 1.7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.