How to do split view of single object in GLUT

In 3D modeling packages, such as 3D Studio Max, we often see split view of a single model (i.e top view, side view)

How to do this in GLUT? I think we can create multiple windows and use different displayFunc for each window, is that the right way to do it?

Really depends on what you need. Usually you would create several controls, and attach your opengl-context in turn using wglMakeCurrent, but I don’t recall how to do this using glut - if possible. Another approach would be to simply use viewports to render four times to a single window.

Thanks