Chapter 10. Saving and Loading Files

One of the more important concepts in programming is the ability to store information after the program has terminated. This has many advantages, such as a small executable size, easy to implement modularity, and the ability of the program remember different user information.

The osgDB library provides support for reading and writing the scene graph nodes, images and other objects. It also implements a plugin framework and file I/O utility classes. It allows various file formats, including the OSG native formats that wrap up the entire scene graph elements into text or binary files, to be dynamically loaded, on demand.

In this chapter, we will discuss:

  • The file I/O mechanism implemented in OSG
  • A complete list of ...

Get OpenSceneGraph 3.0 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.