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: clipping plane problem

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2000
    Posts
    14

    clipping plane problem

    i have set up the xy plane as clipping plane and when i enable it does not draw correctly, i cant see any of my models. However, when i comment out the lines (*)
    glMatrixMode(GL_PROJECTION);
    glLoadIdentity();
    gluPerspective(45.0,1.0,0.1,1000);
    * glMatrixMode(GL_MODELVIEW);
    * glLoadIdentity();
    everything is drawn fine? any explantions why and how can i fix this

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Feb 2000
    Location
    France
    Posts
    1,118

    Re: clipping plane problem

    You should post the whole part of your code that sets the clipping plane... The position of the call to glClipPlane is critical...

    Eric

  3. #3
    Junior Member Newbie
    Join Date
    Apr 2000
    Posts
    14

    Re: clipping plane problem

    i found a way around it so its not a problem anymore
    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
  •