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 Frequent Contributor
    Join Date
    Feb 2000
    Location
    France
    Posts
    880

    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

Similar Threads

  1. Regarding Near plane clipping
    By myk45 in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 07-29-2012, 09:32 AM
  2. Clipping plane problem on different cards
    By beco in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 02-23-2007, 01:03 AM
  3. clipping plane
    By schailan in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 09-09-2002, 07:35 AM
  4. Unusual Z clipping plane problem
    By JohnWesterman in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 06-26-2002, 12:36 PM
  5. Clipping plane
    By yossi in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 05-22-2001, 11:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean