Summary

In this chapter, we learned about the FrameListener interface and how to use it. We also covered how to start OIS, and after this, how to query the state of the keyboard and mouse interfaces.

Specifically, we covered:

  • How to get notified when a new frame is rendered
  • The important differences between frame- and timed-based movement
  • How to implement our own camera movement using user input
  • How to change the render modes of a camera

Now that we have implemented the basic function for our FrameListener, we are going to animate models in the next chapter.

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.