-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
OpenSceneGraph 3.0: Beginner's Guide
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 presently-supported file formats, including models, images, fonts, and so on
The concept and usage of OSG's pseudo-loaders
How to customize OSG plugin interface and provide support for user-defined formats
How to create class wrappers for supporting...
Change the font size
Change margin width
Change background colour