helenw
01-30-2007, 06:40 PM
Hi teachers
I find the info. below. And now I want to draw a 2D cross section with glClipPlane.
How do I do?
thanks!!
"Currenty this is done in OpenGL with two clip planes (glClipPlane) very close to each other. Rendering(2D cross section) is done with glPolygonMode(GL_FRONT_AND_BACK,GL_LINE). This ensures that everything is drawn correctly when projecting orthogonally."
I find the info. below. And now I want to draw a 2D cross section with glClipPlane.
How do I do?
thanks!!
"Currenty this is done in OpenGL with two clip planes (glClipPlane) very close to each other. Rendering(2D cross section) is done with glPolygonMode(GL_FRONT_AND_BACK,GL_LINE). This ensures that everything is drawn correctly when projecting orthogonally."