akshay
03-28-2007, 02:17 AM
I am using VC++ 6 with the default OpenGL (v1.3.0 build 4.13.01.3317) on Windows 2000 with an Intel 82845 graphics adapter.
Without clipping, my application works fine. This is what I see (as expected):
http://www.sharemation.com/singhaxn/global/without_clipping.jpg
But when I apply clipping as follows:
double arrEq[] = {0, -1, 0, 40};
glClipPlane(GL_CLIP_PLANE0, arrEq);
glEnable(GL_CLIP_PLANE0);This is what I expect to see:
http://www.sharemation.com/singhaxn/global/should_look_like.jpg
But when I rotate the image slightly, this is what happens:
http://www.sharemation.com/singhaxn/global/looks_like.jpg
:confused:
What could the problem be? Is this some bug that I've encountered?
Thanks in advance.
Without clipping, my application works fine. This is what I see (as expected):
http://www.sharemation.com/singhaxn/global/without_clipping.jpg
But when I apply clipping as follows:
double arrEq[] = {0, -1, 0, 40};
glClipPlane(GL_CLIP_PLANE0, arrEq);
glEnable(GL_CLIP_PLANE0);This is what I expect to see:
http://www.sharemation.com/singhaxn/global/should_look_like.jpg
But when I rotate the image slightly, this is what happens:
http://www.sharemation.com/singhaxn/global/looks_like.jpg
:confused:
What could the problem be? Is this some bug that I've encountered?
Thanks in advance.