-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
OpenSceneGraph 3.0: Beginner's Guide
Scene graph is a hierarchy graph of nodes representing the spatial layout of graphic and state objects. It encapsulates the lowest-level graphics primitives and state combined to visualize anything that can be created through a low-level graphical API. OpenSceneGraph has leveraged the strength of scene graph and developed optimized mechanisms to manage and render 3D scenes, thus allowing the developers to use simple but powerful code in a standard way, in order to realize things such as object assembling, traversal, transform stack, culling of the scene, level-of-detail management, and other basic or advanced graphics characteristics.
In this chapter, we will cover the following topics:
Understanding the concept of group nodes and leaf nodes
How to handle parent and child node interfaces
Making use of various nodes, including the transformation node, switch node, level-of-detail node, and proxy node
How to derive your own nodes from the basic node class
How to traverse...
Change the font size
Change margin width
Change background colour