Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Cohen-Sutherland line clipping algorithm
- WildTraces
-
Scratcher
100+ posts
Cohen-Sutherland line clipping algorithm
I have attempted to implement the Cohen-Sutherland line clipping algorithm for off-screen drawing of lines after discovering that me previous attempt didn't work correctly after all! (this is a continuation of I topic I closed a few days ago). Here is my project, it doesn't seem to work at all! Here is the website I used to help: Click Here
Here is the project.
Any advice would be greatly appreciated and thank you for all the help on the previous topic mentioned above.
Here is the project.
Any advice would be greatly appreciated and thank you for all the help on the previous topic mentioned above.
- WildTraces
-
Scratcher
100+ posts
Cohen-Sutherland line clipping algorithm
I have made some edits to the code and it works better now but still not correctly!
- WildTraces
-
Scratcher
100+ posts
Cohen-Sutherland line clipping algorithm
bump
Sorry about the 24hrs (timezone difference)
Sorry about the 24hrs (timezone difference)
Last edited by WildTraces (June 4, 2020 08:05:51)
- Discussion Forums
- » Help with Scripts
-
» Cohen-Sutherland line clipping algorithm