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: Aditional clipping planes in world coordinates

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2000
    Location
    Florianopolis/SC/Brasil
    Posts
    2

    Aditional clipping planes in world coordinates

    How to maintain the coordinates of the six aditional clipping planes in world coordinates, in a way that permits rotations and translations to be multiplied to the modelview matrix without moving the planes in relation to the objects in the scene.
    I know that the plane equations are stored in eye coordinates, but I don't want this behaviour.
    For instance:
    Suppose that I have a car in a scene and specify a clipping plane (might be GL_CLIP_PLANE0) that removes the front part of the car from the exact middle of it. What I want is to navigate around the car while maintaining the front part of car out of the image.

    Thanks in advance
    -----------
    Dagostin

  2. #2
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,527

    Re: Aditional clipping planes in world coordinates

    The clip plane orientation depends on WHEN you specify it.

    See http://www.opengl.org/discussion_boa...ML/001912.html

  3. #3
    Junior Member Newbie
    Join Date
    Jun 2000
    Location
    Florianopolis/SC/Brasil
    Posts
    2

    Re: Aditional clipping planes in world coordinates

    Thanks Relic, now it works.

    -----------
    Dagostin

Posting Permissions

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