PDA

View Full Version : clipping programming using c++..liang barsky coding,cohen sutherland..



may
09-10-2004, 08:45 AM
HI..I hope someone could teach me on how to create liang barsky clipping using c++ within opengl..thanks all!!!!

endash
09-10-2004, 09:18 AM
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?