clipping programming using c++..liang barsky coding,cohen sutherland..

HI…I hope someone could teach me on how to create liang barsky clipping using c++ within opengl…thanks all!!!

It seems like either you’d be doing software clipping, which is just a matter of implementing the algorithm, or you’ll be using OpenGL’s clipping planes, which is just a matter of enabling clipping planes. Which do you want to do? Can you explain more what you are trying to do?