-
Book Overview & Buying
-
Table Of Contents
OpenSceneGraph 3.0: Beginner's Guide
The OSG native formats, including .osg, .osgb, .osgt, and .osgx, are extensible for saving to and loading from files and data streams. With the exception of the deprecated .ive format, they all need special helper classes called wrappers, which wrap up primitive values that offer the utility methods and properties of the API's classes. When new methods and classes are introduced into the OSG core libraries, there should be corresponding wrappers for them in order to make sure that any new features can be immediately supported in the native format files. The theory of serializing is extremely useful in this situation, enabling simple and common input/output interfaces to be utilized.
The .osg format has been widely used in the OSG community for many years. Almost all of the models referred to in this book are written in this format. It supports only ASCII formats and uses a slightly complex interface for implementing wrappers.
But there is another "second generation" format...
Change the font size
Change margin width
Change background colour