-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
OpenSceneGraph 3.0: Beginner's Guide
Any geometry model in a 3D scene is composed of vertices, texture, lighting, and shading information. Rendering is, in the graphics pipeline, the last major step, generating the image from the defined model with a number of visible features, for example, the brightness, color, and detail of the surface that the viewer sees. OSG has encapsulated almost all of the OpenGL's rendering interfaces, including lighting, material, texture, alpha test, image blending, fog effect, as well as the implementation of vertex, geometry, and fragment shaders in OpenGL Shading Language.
This chapter will give a detailed introduction to
Understanding the concept of a state machine and the encapsulation of it in OSG
How to set up different rendering attributes and modes for scene objects
How to inherit rendering states in the scene graph
Realizing various fixed-function rendering effects in OSG
How to control the scene lights, which is a positional state
How to add in...
Change the font size
Change margin width
Change background colour