PDA

View Full Version : clipping using cohen-sutherland



deana
01-14-2005, 05:53 AM
is there anyone can tell me how to use that cohen-sutherland algorithm??i want to make a simple line clipping program....xcly i don't really understand this algorithm..... :confused:

SenSej
01-14-2005, 07:23 AM
Hello,
do you understand german?
In this case i could send you a fine paper from my University that explains this algorithm very well.

If not, post your Problem, why you donīt understand this algo, i and sure others would explain it here - so i think.

Best regards
TimoK

Aeluned
01-14-2005, 07:32 AM
It's rather straight-forward. What is it that you don't understand?

there's tons of info on this if you google it.

EDIT: i found this: it's an applet that takes you thru the algorithm...it should help you out:

http://www.cc.gatech.edu/classes/AY2003/cs4451a_fall/ClippingApplets%20Folder/Cohen-Sutherland/