Using OpenGL drawing calls

You can add any OpenGL functions in the implementation of drawImplementation(). The rendering context is created and the OpenGL make current operation is already complete before entering this method. Don't release the OpenGL rendering context, because it may be used by other drawables soon.

Get OpenSceneGraph 3.0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.