I'd like to render additional objects (i.e. not included in mrpt::opengl) inside a 3D scene using OpenGL. I am not sure about how to do this though. Since a rendering context is already defined when invoking MRPT's CDisplayWindow3D, I have not been able to simply access this object and use OpenGL's commands (e.g glBegin(GL_QUADS), glVertex3f(), etc.).
Is this possible? Or is it discouraged? Is there an example showing how to do this? Perhaps the right way is to create a new class derived from CRenderizableDisplayList, but I'm not sure.
Any help will be much appreciated.