Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: How to do split view of single object in GLUT

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2004
    Location
    Australia/China
    Posts
    22

    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?

  2. #2
    Junior Member Regular Contributor
    Join Date
    Jan 2004
    Location
    .dk
    Posts
    123

    Re: How to do split view of single object in GLUT

    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.

  3. #3
    Junior Member Newbie
    Join Date
    Nov 2004
    Location
    Australia/China
    Posts
    22

    Re: How to do split view of single object in GLUT

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •