Summary
After a wireframed sketch is ready in the pipeline, as you may find out from this chapter, the graphic rendering is then applied to add lights, textures, bump mapping, or programmable effects to other objects, with the help of the osg::StateSet
class and a set of osg::StateAttribute
subclasses. In this chapter, we introduced in detail the techniques of manipulating rendering states and attributes, especially the two different ways to realize realistic rendering effects by using the fixed-function pipeline and with the OpenGL shading language.
In this chapter, we specifically covered:
- Controlling and inheriting the rendering attributes and modes stored in
osg::StateSet
objects of nodes and drawables. - Realizing fixed-function rendering effects ...
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.