Question: write two opengl program-clipping polygon one use CohenSutherland anthoer use Sutherland-Hodgman to clipping polygon. Both Algorithms use same polygon at the beginning I found a
write two opengl program-clipping polygon one use CohenSutherland anthoer use Sutherland-Hodgman to clipping polygon. Both Algorithms use same polygon at the beginning
I found a useful website http://cglabprojects.blogspot.ca/2013/03/cohen-sutherland-line-clipping.html
This is for cohen-sutherland, how to change this program to Sutherland-Hodgman?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
