Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.
/ computer-graphics Public archive

The program I wrote during Computer Graphics class in 2006

License

Notifications You must be signed in to change notification settings

Gumix/computer-graphics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

computer-graphics

Here is the program that I wrote during the Computer Graphics class in 2006.

  1. Line drawing
    1. Bresenham's line algorithm
    2. Line caps and hatching
  2. Polygon drawing
    1. Polygon stroking and filling
    2. Even-odd vs. non-zero winding rules
  3. Clipping
    1. Cyrus-Beck algorithm
    2. Sutherland-Hodgman algorithm
  4. Curve drawing
    1. Quadratic and cubic Bezier curves
    2. Composite Bezier curve
    3. Bezier curves of degree 4 and 5
    4. Cubic B-spline curve
  5. 3D drawing and clipping
    1. Parallel projection
    2. Perspective projection with hidden line removal
    3. Animation
    4. Line clipping by a cone

1. Bresenham's line algorithm

test01


2. Line caps and hatching

test02


3. Polygon stroking and filling

test03


4. Even-odd vs. non-zero winding rules

test04


5. Cyrus-Beck algorithm

test05


6. Sutherland-Hodgman algorithm

test06


7. Quadratic and cubic Bezier curves

test07


8. Composite Bezier curve

test08


9. Bezier curves of degree 4 and 5

test09


10. Cubic B-spline curve

test10


11. Parallel projection

test11


12. Perspective projection with hidden line removal

test12


13. Animation

test13


14. Line clipping by a cone

test14

About

The program I wrote during Computer Graphics class in 2006

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published