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 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.