-
Book Overview & Buying
-
Table Of Contents
OpenSceneGraph 3.0: Beginner's Guide
OSG will look for plugins libraries according to the extension of the file. That said, the filename movie.avi.ffmpeg will be regarded as a .ffmpeg file and will be sent to the osgdb_ffmpeg plugins (with the same name), but never to the osgdb_avi plugins. So the fact is that we failed to find a suitable plugins to handle filenames, but not that the pseudo-loader lost its capability.
To make full use of your "own" osgdb_avi plugins (it can handle more than AVI files, in fact), you may read the Handling the data stream section in this chapter and try obtaining the osgDB::ReaderWriter pointer from the plugins for use.
The wrapper will still work, but properties such as node mask, state set, and applied callbacks will not be recorded again, because they are declared in the osg::Node class. Try using setNodeMask() to set a different mask to the ExampleNode instance and save it. See if there is any difference between using and not using osg::Node in the inheritance relations string of the wrapper.
Change the font size
Change margin width
Change background colour