Results 1 to 2 of 2

Thread: glclipplane in openGL

  1. #1
    Junior Member
    Join Date
    Oct 2012
    Posts
    4

    Post glclipplane in openGL

    Hi All,

    I am working in webGL. Now i am trying sectional view( clipping ) in webGL. I am refer the concept of openGL glcliplane(). I want to know in the glclipplane() function glenum plane is planegeometry or plane in a frustum.
    Thanks in Advance.
    Last edited by jeeva; 03-27-2014 at 05:58 AM. Reason: Modifiy the Post

  2. #2
    Senior Member
    Join Date
    May 2008
    Posts
    104
    It's an enum specifying which plane to operate on, e.g. GL_CLIP_PLANE0, GL_CLIP_PLANE1 etc.. up to GL_MAX_CLIP_PLANES-1.

    http://www.khronos.org/opengles/sdk/1.1/docs/man/

    However, I don't think WebGL supports the glClipPlane API, you might need to manually clip your geometry.

Posting Permissions

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