Example: Customization of OpenGL render viewports
Source code: https://raw.github.com/MRPT/mrpt/master/samples/display3D_custom_render/
Purposes:
- To demonstrate how to capture rendering events from a COpenGLViewport and augment the rendered scene with custom boxes, dialogs, etc…
- Demonstrate usage of mrpt::opengl::gl_utils functions.
See also:
- Collection of tutorials: GUI windows and 3D OpenGL graphics
Screenshots:
With a small (OpenGL-drawn) menu on the top-right corner:
Displaying a large help message box, with transparency and animated: