hi, i have the following problem:

in my render function that draws everyting to the screen i also call my

clipping plane function.

everything that is rendered until that point may be partly deleted by this

plane.

this plane is always perpendicular on the xy-plane and in a certain angle

with the x-plane and the plane.

it exactly goes through the origin: see

http://www.krooswijk.com/downloads/clipping_plane.jpg

(i know z-axis and y-axis are wrong because of rotation around the x-axis

og -90)

this is my clipping plane function, concerning: 0<= angle_clipping_plane <=

360

___

RENDERING_ENGINE :: draw_clipping_plane( )

/*

* Applies the clipping plane to the model

*/

{

GLdouble clipping_plane[4] = { cos( angle_clipping_plane ), sin(

angle_clipping_plane ), 0.0, 0.0 };

if( this->get_clipping_plane( ) )

{

glClipPlane( GL_CLIP_PLANE0, clipping_plane );

glEnable( GL_CLIP_PLANE0 );

}

else

{

glDisable( GL_CLIP_PLANE0 );

}

___Quote:}

my two problems are:

- also the things rendered after applying the cutting plane are affected by

the plane

- when changing the angle clipping plane by one. the clipping does make an

angle of about 30 but never one.

does anyone know how this is possible.

tnx in advance