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: 

Screenshots: 

With a small (OpenGL-drawn) menu on the top-right corner:

Screenshot-Example of 3D Scene Visualization - MRPT-1

 

Displaying a large help message box, with transparency and animated:

 

Screenshot-Example of 3D Scene Visualization - MRPT