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 2 of 2

Thread: GL_CLIP_PLANE

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2001
    Posts
    5

    GL_CLIP_PLANE

    I made a 3D scene and enabled the six opengl's clip planes by calling:
    glEnable(GL_CLIP_PLANE0);
    ...
    glEnable(GL_CLIP_PLANE5);
    I put a interface to the user interact and clip the scene. It was right, works perfectly.
    When you "clip" the scene, its center move away (the direction it moves depends on the clip plane you are moving).
    So, I would like to know how could I keep translating my scene based on its center (the up-to-date center), I mean, when you move a clip plane you "reduce" the scene and a new center should be found to rotate based on this new center.
    Someone can help me ?!
    Thanx a lot,

    Rogerio

  2. #2
    Junior Member Regular Contributor
    Join Date
    Dec 2001
    Location
    London, England
    Posts
    163

    Re: GL_CLIP_PLANE

    No need to post to both forums.

Posting Permissions

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