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 [b][i]glenum plane[/i][/b] is planegeometry or plane in a frustum.

Thanks in Advance.

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.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.